|
Lecturer(s)
|
-
Kavička Antonín, prof. Ing. Ph.D.
-
Rozsíval Pavel, Ing.
|
|
Course content
|
Introduction to C language, first program, comments, keywords, data types. Variables definition, operators, assignment, type conversion, ternary operator. Control structures. Pointers, (static) arrays. Functions - definition, calling by value and reference, pointers to funtions. Memory management. Chars, Strings, Structures, Unions, Bit arrays, Enumenrations. Preprocessor. Standard library I. Standard library II. Modular programming. GNU Tool chain - GCC, make utility.
|
|
Learning activities and teaching methods
|
|
Monologic (reading, lecture, briefing), Dialogic (discussion, interview, brainstorming), Methods of individual activities
|
|
Learning outcomes
|
This course is focused to teach students to write programs in C language. It covers all aspects of programming in this language - pointers, memory management, modular programming etc. During course students will work with Microsoft Visual Studio and free GNU Tool chain GCC).
By the end of the course, students will know how to write a significant program in C.
|
|
Prerequisites
|
Basic knowledge of procedural oriented programming.
KERS/IAZPE
|
|
Assessment methods and criteria
|
Oral examination, Home assignment evaluation, Discussion
The student should attend all seminars, where practical programming problems are solved. Some of the problems are solved by teacher, the others individually by students. In the end of course student must develop and than defend final project.
|
|
Recommended literature
|
-
Eckel, B. Myslíme v jazyku C++, Grada Publishing, Praha 2000, ISBN 80-247-9009-2.
-
Eckel, B. Myslíme v jazyku C++ 2.díl - knihovna zkušeného programátora, Grada Publishing, Praha 2005, 80-247-1015-3.
-
Herbison, S.P., Steele, G.L. Referenční příručka jazyka C.. Science, 1996.
-
Herout, P. Učebnice jazyka C - 2. díl. IV. přepracované vydání.. KOPP, 2004.
-
Herout P. Učebnice jazyka C, Nakladatelství KOPP, 2004, IV. přepracované vydání.
|