Course: Programming

« Back
Course title Programming
Course code AUPKS/AK2PB
Organizational form of instruction Lecture
Level of course Bachelor
Year of study not specified
Semester Summer
Number of ECTS credits 4
Language of instruction Czech, English
Status of course unspecified
Form of instruction Face-to-face
Work placements This is not an internship
Recommended optional programme components None
Lecturer(s)
  • Králík Lukáš, Ing. Ph.D.
  • Král Erik, Ing. Ph.D.
  • Perůtka Karel, Ing. Ph.D.
Course content
1. Common programming paradigms, declarative programming, imperative programming, functional programming, object-oriented programming. 2. Representing algorithm using a flowchart. 3. Program compilation, build variables, expressions, statements and conditional statements. 4. Variables life time, scope and visibility. 5. Constants, loops, using math.h library and printf function. 6. Array. Homogenous arrays, array copy, equality of arrays, assignments of array values. 7. Functions, return value, function parameter, argument passing, array as function parameter or return value. 8. Structs and union, definition, usage, initialisation, copy, comparison. 9. Pointers and their use, pointers and array, a pointer to structs, pointers as function parameters. 10. Dynamic memory allocation on the heap. 11. Input and Output library. 12. String library. 13. Pointers to function. 14. Software documentation best practise.

Learning activities and teaching methods
Lecturing, Exercises on PC
  • Home preparation for classes - 1 hour per semester
learning outcomes
Knowledge
Definuje co je to překlad, sestavení a spuštění programu.
Definuje co je to překlad, sestavení a spuštění programu.
Popíše co je to proměnná, zásobník a halda.
Popíše co je to proměnná, zásobník a halda.
Vypíše syntaxi aritmetických a boleanovských výrazů, příkazů pro větvení programů a cyklů a funkcí.
Vypíše syntaxi aritmetických a boleanovských výrazů, příkazů pro větvení programů a cyklů a funkcí.
Zdůvodní vhodnost použití různých typů proměnných a to jak zabudovaných tak i uživatelsky definovaných jako je pole a struktura.
Zdůvodní vhodnost použití různých typů proměnných a to jak zabudovaných tak i uživatelsky definovaných jako je pole a struktura.
Vysvětlí výhody organizace kódu pomocí funkcí.
Vysvětlí výhody organizace kódu pomocí funkcí.
Defines what compiling, building and running a program is.
Defines what compiling, building and running a program is.
Describes what a variable, stack, and heap are.
Describes what a variable, stack, and heap are.
Lists the syntax of arithmetic and Boolean expressions, program branching statements, and loops and functions.
Lists the syntax of arithmetic and Boolean expressions, program branching statements, and loops and functions.
Justifies the appropriateness of using different types of variables, both built-in and user-defined, such as array and struct.
Justifies the appropriateness of using different types of variables, both built-in and user-defined, such as array and struct.
Explain the advantages of organizing code using functions.
Explain the advantages of organizing code using functions.
Skills
Analyzuje problém a navrhne jeho rešení pomocí počítačového programu.
Analyzuje problém a navrhne jeho rešení pomocí počítačového programu.
Použije vhodné konstrukce z hlediska organizace zdrojového kódu a efektivity programu.
Použije vhodné konstrukce z hlediska organizace zdrojového kódu a efektivity programu.
Vytvoří zdrojový kód programu.
Vytvoří zdrojový kód programu.
Přeloží, sestaví a spustí program s pomocí integrovaného vývojového prostředí.
Přeloží, sestaví a spustí program s pomocí integrovaného vývojového prostředí.
Identifikuje a opraví chyby v programu.
Identifikuje a opraví chyby v programu.
Analyzes the problem and proposes a solution using a computer program.
Analyzes the problem and proposes a solution using a computer program.
Uses appropriate constructs in terms of source code organization and program efficiency.
Uses appropriate constructs in terms of source code organization and program efficiency.
Creates the source code of a program.
Creates the source code of a program.
Compile, assemble and run the program using an integrated development environment.
Compile, assemble and run the program using an integrated development environment.
Identifies and corrects errors in the program.
Identifies and corrects errors in the program.
teaching methods
Knowledge
Exercises on PC
Exercises on PC
Lecturing
Lecturing
assessment methods
Written examination
Written examination
Recommended literature
  • Herout, Pavel. Učebnice jazyka C. Praha : Kopp, 1992. ISBN 8090134211.
  • Kadlec, V. Učíme se programovat v jazyce C. Praha, Computer Press, 2002.
  • Kernighan, B., Ritchie, D. Programovací jazyk C. Praha, Computer Press, 2006.
  • Virius, M. Jazyky C a C++. Praha, Grada Publishing, 2005.
  • Virius, M. Pasti a propasti jazyka C. Computer Press, 2005.


Study plans that include the course
Faculty Study plan (Version) Category of Branch/Specialization Recommended year of study Recommended semester