Skip to main content
Skip header
Terminated in academic year 2018/2019

Introduction to Programming

Type of study Follow-up Master
Language of instruction English
Code 460-8702/02
Abbreviation UPR
Course title Introduction to Programming
Credits 5
Coordinating department Department of Computer Science
Course coordinator Ing. Jan Gaura, Ph.D.

Subject syllabus

Lectures:

1. Introduction to course organization. Introduction to C programming language. Basic data types, variable, print to standard output. Function definition. Fundamentals of flow control.
2. Representation of strings, working with dynamically alocated memory.
3. Structured data types and their usage. Fundamentals of programs debugging.
4. Working with files. Loading and saving data into text and binary files.
5. Use of recursion.
6. Program testing, source code documentation.
7. Brief introduction to C++ Concepts.

Exercises:

1. Getting familiar with a development environment. Compiling source code.
2. Basic data types, variable, standard output.
3. Definition of function. Fundamentals of flow control. Reading input data.
4. Representing and working with strings.
5. Use of dynamically allocated memory.
6. Utilization of dynamically allocated memory for the implementation of simple data structures.
7. Structured data types and their usage. Using the preprocessor.
8. Fundamentals of program debugging.
9. Working with files. Loading and saving data into text and binary files.
10. Use of recursion and its relation to cycles.
11. Program testing, source code documentation.
12. Using library functions.
13. Brief Introduction to C++ concepts.
14. Final test.

Literature

STROUSTRUP, Bjarne. Programming: principles and practice using C++. Second edition. Upper Saddle River, NJ: Addison-Wesley, 2014. ISBN 978-0321-992789 .

Advised literature

HEROUT, Pavel. Učebnice jazyka C. Praha: [Středisko pro podporu studentů se specifickými potřebami ELSA ČVUT], 2015. ISBN 978-80-7232-383-8 .