FPF:UFBL124 Programming in C-language - Course Information
UFBL124 Programming in C-language
Faculty of Philosophy and Science in OpavaSummer 2017
- 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
- Astrophysics (programme FPF, B1701 Fyz)
- Environmental Monitoring (programme FPF, B1702 AplF)
- Computer Technology and its Applications (programme FPF, B1702 AplF)
- 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.
- *Installation. Development envieronvement, source code writing, code debugging.
- Literature
- 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.
- Enrolment Statistics (Summer 2017, recent)
- Permalink: https://is.slu.cz/course/fpf/summer2017/UFBL124