UFBL124 Programming in C-language

Faculty of Philosophy and Science in Opava
Summer 2015
Extent and Intensity
2/1/0. 4 credit(s). Type of Completion: zk (examination).
Teacher(s)
doc. RNDr. Jan Schee, Ph.D. (lecturer)
Ing. Jaroslav Zeman (lecturer)
doc. RNDr. Jan Schee, Ph.D. (seminar tutor)
Ing. Jaroslav Zeman (seminar tutor)
Guaranteed by
doc. RNDr. Jan Schee, Ph.D.
Centrum interdisciplinárních studií – Faculty of Philosophy and Science in Opava
Prerequisites (in Czech)
Nejsou.
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
fields of study / plans the course is directly associated with
Course objectives
The basics of programming in C-language is the aim of this course.
Syllabus
  • *Installation. Development envieronvement, source code writing, code debugging.
    *Structure and syntax. Declaration and definution of functions, types of returned values, function arguments. Loops and branchng: commands WHILE, Do, FOR, IF, SWITCH, BREAK, CONTINUE,
    GOTO.
    *Data types. Basic data types (char, int, float). Variables and constants specification, characters and strings, structures, bit array.
    *Visibility of variables (extern, static), life-time (auto), conversion of data type, renaming existing type (typedef).
    *Preprocesor directives. Including files using directive INCLUDE, directive DEFINE and its usage for macro redefinition, UNDEF for canceling of definitions. Conditional directives (IF, ELSE, ENDIF, IFDEF, ELIF). Conditional directive DEFINED.
    *Pointers. Pointers to simple variables, their declaration and initialization. Pointers to arrays and strings, text string initialization. Pointer as function argument. Pointer array and pointer pointing to another pointer.
    *UNIX(DOS) command line argument processing. Pointers and functions.
    *Files. Stream operations through FILE data type, file opening (fopen) and methods to access a file, file closing (fclose), writing and reading strings (fputs, fgetc), writing and reading of formatted data (fprintf, fscanf).
    *Graphics. Graphical regime initialization, screen raster organization, control of videoregime, SDL library usage.
Literature
    recommended literature
  • Herout, P. Učebnice jazyka C - I. díl. Kopp, České Budějovice, 2010. info
  • Herout, P. Učebnice jazyka C - II. díl. Kopp, České Budějovice, 2010. info
Teaching methods
Lecture supplemented with a discussion
Skills demonstration
Assessment methods
The analysis of student 's performance
Credit
Language of instruction
Czech
Further comments (probably available only in Czech)
The course can also be completed outside the examination period.
Teacher's information
Will be communicated at the beginning of semester.
The course is also listed under the following terms Summer 1994, Summer 1995, Summer 1996, Summer 1997, Summer 1998, Summer 1999, Summer 2000, Summer 2001, Summer 2002, Summer 2003, Summer 2004, Summer 2005, Summer 2006, Summer 2007, Summer 2008, Summer 2009, Summer 2010, Summer 2011, Summer 2012, Summer 2013, Summer 2014, Summer 2016, Summer 2017, Summer 2018, Summer 2019, Summer 2020, Summer 2021, Summer 2022, Summer 2023.
  • Enrolment Statistics (Summer 2015, recent)
  • Permalink: https://is.slu.cz/course/fpf/summer2015/UFBL124