460-8702/03 – Introduction to Programming (UPR)
Gurantor department | Department of Computer Science | Credits | 4 |
Subject guarantor | Ing. Jan Gaura, Ph.D. | Subject version guarantor | Ing. Jan Gaura, Ph.D. |
Study level | undergraduate or graduate | Requirement | Compulsory |
Year | 1 | Semester | winter |
| | Study language | Czech |
Year of introduction | 2018/2019 | Year of cancellation | |
Intended for the faculties | FS | Intended for study types | Follow-up Master |
Subject aims expressed by acquired skills and competences
The aim of the course is to familiarize students with the basics of procedural programming and its real use in solving some programming tasks. Students are familiarized with the overall ecosystem of software development from its writing, through compilation, debugging, but also with how to properly document source codes. An integral part is understanding the principles of dynamic memory allocation and how data is represented in it.
Teaching methods
Lectures
Tutorials
Summary
The course introduces students to all the basics of software development problems using procedural programming. The topics of simple data taps, dynamic memory allocation, program debugging, file handling, structured data types are discussed. It also explains the use of library functions.
Compulsory literature:
Recommended literature:
Way of continuous check of knowledge in the course of semester
Hand in tasks completed during exercises. Completing the final test.
E-learning
Other requirements
No additional demands are required.
Prerequisities
Subject has no prerequisities.
Co-requisities
Subject has no co-requisities.
Subject syllabus:
Lectures:
1. Introduction to course organization. Basic data types, variable, print to standard output.
2. Function definition. Fundamentals of flow control.
3. Representation of strings.
4. Structured data types and their usage. Fundamentals of programs debugging.
5. Working with files. Loading and saving data into text and binary files.
6. Use of recursion.
7. Program testing, source code documentation.
Exercises:
1. Getting familiar with a development environment. Running source code.
2. Basic data types, variable, standard output.
3. Fundamentals of flow control. Reading input data.
4. Definition of function.
5. Representing and working with strings.
6. Structured data types and their usage.
7. Fundamentals of program debugging.
8. Working with files. Loading and saving data into text and binary files.
9. Use of recursion and its relation to cycles.
10. Using library functions.
11. Implementation of some abstract data types.
12. Drawing of graphical images.
Conditions for subject completion
Occurrence in study plans
Occurrence in special blocks
Assessment of instruction