Code: 18ZPRO Basics of Programming
Lecturer: doc. Ing. Miroslav Virius CSc. Weekly load: 4C Completion: A
Department: 14118 Credits: 4 Semester: W
Description:
This course is intended mainly for students with little or no experience in programming. It familiarizes the students with the basic concepts in programming and with the Python programming language.
Contents:
1. Basic terminology (computer, program, algorithm, ...)
2. Python, interactive mode and scripting, basic features of the language
3. Data representation in computer memory, role of the data types
4. Variables, basic data types (bool, int, float, str) and operators
5. Program structure: conditions, cycles, functions, modules
6. Containers (list, dictionary, set, tuple)
7. Iterators and generators
8. Error handling, exceptions, assertions
9. Using fundamental modules of the standard library
10. String processing and formatting
11. Working with files and directories
12. Modular structure of the program
13. Introduction to object-oriented programming
Recommended literature:
Recommended literature:
[1] R. Pecinovský, Začínáme programovat v jazyku Python, 2. vydání, Grada, 2022. ISBN 978-978-80-271-3609-4.
[2] M. Pilgrim, Ponořme se do Python(u) 3 (Dive into Python 3), CZ.NIC, 2010. ISBN 978-80-904248-2-1. https://knihy.nic.cz/#Python3
[3] J. Kubias, Programování v jazyce Python 3 (How to Think Like a Computer Scientist: Learning with Python), online, 2023. http://howto.py.cz

Supplementary literature:
[1] P. Wentworth, J. Elkner, A.B. Downey, C. Meyers, How to Think Like a Computer Scientist: Learning with Python, 2nd Edition, Green Tea Press, 2012. ISBN 9781491939369. https://www.ict.ru.ac.za/Resources/cspw/thinkcspy3/
[2] R. Pecinovský, Python ? Kompletní příručka jazyka pro verzi 3.11, Grada, 2022. ISBN 978-80-271-3891-3.
Keywords:
Python language, procedural programming, object-oriented programming.

Abbreviations used:

Semester:

Mode of completion of the course:

Weekly load (hours per week):