Lecturer(s)
|
|
Course content
|
1. The origin and development of the C language. Overview of C language, basic language constructs and examples of C programs. 2. Definition of C language: declaration syntax, basic data types, constants, variables and arithmetic expressions. 3. Control structures, conditional expressions, operators and program cycles. 4. Console input/output, formatted I/O. 5. File I/O, working with files, end of line and end of file testing, binary files. 6. The C preprocessor: macros, insert files, conditional compilation. 7. Functions and memory management 8. Dynamic memory allocation, pointers. 9. Arrays, static and dynamic arrays. 10. Strings, string functions for working with the values of string type, console and file line-oriented I/O. 11. Multi-dimensional arrays, string arrays. 12. Structures, unions and enumerations. 13. Bitwise operations and bit arrays.
|
Learning activities and teaching methods
|
Monologic (reading, lecture, briefing), Work with text (with textbook, with book), Methods of individual activities, Skills training
|
Learning outcomes
|
The aim of this subject is to introduce students to ANSI-C programming language and basic knowledge from the field of algorithmization and programming techniques in C.
After taking the course, the students have basic skills in C language programming.
|
Prerequisites
|
A prerequisite is basic knowledge from the field of algorithmization and programming.
|
Assessment methods and criteria
|
Oral examination, Written examination, Home assignment evaluation
Participation in exercises (min. 80 %). Preparing and submitting all assignments given at exercises. Successful solution to credit test.
|
Recommended literature
|
-
DOSTÁL, R. C/C++: hotová řešení.. Brno: Computer Press, 2010. ISBN 978-80-251-2190-0.
-
HEROUT, P. Učebnice jazyka C: 2. díl. 4. vyd.. České Budějovice: KOPP, 2008. ISBN 978-80-7232-367-8.
-
HEROUT, Pavel. Učebnice jazyka C. 6. vyd. České Budějovice: KOPP, 2009. ISBN 978-80-7232-383-8.
-
KERNIGHAN, Brian W. a Denis M. RITCHIE. Programovací jazyk C: ANSI C99. Brno: Computer Press, 2006. ISBN 978-80-251-0897-X.
-
Prokop, Jiří. Algoritmy v jazyku C a C++ : praktický průvodce. Praha: Grada, 2009. ISBN 978-80-247-2751-6.
-
VIRIUS, Miroslav. Jazyky C a C++: kompletní průvodce. 2., aktualiz. vyd. Knihovna programátora. Praha: Grada Publishing, 2008. ISBN 978-80-247-3917-5.
|