Lecturer(s)
|
|
Course content
|
Lectures: 1. History of ANSI C, positive and negative, comparison with PASCAL 2. Lexical symbols - identifiers,keywords, constants, strings, operators, separators,direcitve, comments. 3. Language and program structure 4. Primitive types - integer, real, char, standard arithmetic conversion, variable declaration 5. Program compiling and running 6. Arrays and pointers 7. Basic Structures - block, condition, switches, cycles, loops. 8. Standard input/output, formatted and unformatted I/O 9. I/O and files 10. User-defined functions and types 11. Structures, complex data types, enumeration, union 12. main() function, arguments, linking 13. String functions 14. Modules and separated compilation, conditional compilation Practice : 1. Programming by lectures themas. 2. Programming by lectures themas. 3. Programming by lectures themas. 4. Programming by lectures themas. 5. Programming by lectures themas. 6. Programming by lectures themas. 7. Programming by lectures themas. 8. Programming by lectures themas. Test 9. Programming by lectures themas. 10. Programming by lectures themas. 11. Programming by lectures themas. 12. Programming by lectures themas. 13. Programming by lectures themas. 14. Programming by lectures themas. Test
|
Learning activities and teaching methods
|
Monological explanation (lecture, presentation,briefing)
- Home preparation for classes
- 10 hours per semester
- Preparation for credit
- 10 hours per semester
- Class attendance
- 40 hours per semester
|
Learning outcomes
|
Programming in the C language. Language and program structure. Data types. Program constructs. Preprocessor. Functions, argument passing. Pointers, their usage in arguments, pointer arithmetics, dynamic data structures, recursion. Separated compilation, modular programming, library creation. Input/output programming, error handling.
Student will get overview of the ANSI C programming language.
|
Prerequisites
|
Unspecified
|
Assessment methods and criteria
|
Combined examination
Requirements for getting a credit are activity at the practicals /seminars and successful passing the tests. Examination is of the written and oral forms.
|
Recommended literature
|
-
KERNIGHAN, Brian W. a Dennis M. RITCHIE. Programovací jazyk C. Brno: Computer Press, 2019. ISBN 9788025149652.
-
MATOUŠEK, David. Programování v jazyce C v příkladech. Praha: BEN - technická literatura, 2012. ISBN 9788073004385.
-
PROKOP, Jiří. Algoritmy v jazyku C a C++. Praha: Grada, 2015. ISBN 9788024754673.
|