Lecturer(s)
|
|
Course content
|
1. Introduction - computer, alghoritm, programming language, development tools 2. C program structure - definition of variables, basic data types, constants, operators, 3. Console input and output, type conversion, flow control, loops 4. Functions - definition and declaration, function calling, scope and visibility of variables 5. Pointers - meaning, arithmetics with pointers, passing pointer to function 6. Arrays - one dimensional, vice dimensional 7. Memory allocation - dynamic allocation 8. Strings - handling with strings, string functions in standard library, array of strings 9. Structures, enum type 10. Files - working with text files 11. Preprocessor - macros, file including, conditional compilation 12. Scope and visibility of variables - memory classes, type modifiers, compiling complex project - separate source files compilation 13. Searching a sorting algorithms, time complexity
|
Learning activities and teaching methods
|
Monologic (reading, lecture, briefing)
- unspecified
- 40 hours per semester
- unspecified
- 16 hours per semester
- unspecified
- 16 hours per semester
- unspecified
- 16 hours per semester
|
Learning outcomes
|
Basic course in C programming language. Basic topics of this subject are: - writing programms in ANSI C using standard library - pointers and dynamic memory allocation - handling with (text) files - separate compilation, compiling big projects - advantages and disadvantages C programming language
Students will learn syntax of C programming language. They learn how to build simple console application within the scope of goals and content of this subject. Studetns will perfect logical their thinking. Knowledge of C language will utilize in folowing subjects of ESD study programm, which are focused on microprocessors.
|
Prerequisites
|
It is assumed that student already has basic knowledge of algorithmization.
|
Assessment methods and criteria
|
Written examination, Home assignment evaluation
Student has to prove his/her knowledge during semester (active participation at exercises) and in final exam. Teacher provides particular demands at the beginning of course.
|
Recommended literature
|
-
HEROUT, Pavel. Učebnice jazyka C.. České Budějovice: Kopp, 2004. ISBN 8072322206.
-
Milková E. Algoritmy. Alfa, 2008.
-
Rubeš J. Nebojte se programovat, Computer Media 2001.
-
Šaloun P. Programovací jazyk C pro zelenáče, Nakladatelství Neocortex, 2. přepracované vydání, 2003.
|