This page is located in archive.

be5b33prg -- Programming Essentials

The course focuses on understanding and mastering basic design principles of algorithms. It develops data abstraction coupled with the essential programming patterns. The emphasis is on creating readable and reusable programs in Python.

( labs | tutorials | resources BE5B33PRG TIME SCHEDULE (EN))


  • Exam February 2, 2024: test. Oral part schedule (room KN:E-128): here (The exact times and order is subject to change.)
  • Important Notice: The examination scheduled for February 2nd represents the final opportunity to complete the course successfully. If you have not yet taken the exam, it is strongly recommended that you register for this date, as no further examinations will be offered!
  • Important Reminder: In order to receive the points from bonus homework (except for the Vector class), you have to present your solution to the teaching assistant!
  • The final exam dates for the PRG course have been officially announced and are available in the KOS system. Please mark your calendars with the following dates: January 16, January 19, January 23, January 26, and February 2. Note: These dates are definitive. No additional dates will be added. Each exam day will consist of two parts: Practical Part: 9:00 AM - 12:00 PM, Oral Part: 2:00 PM - 5:00 PM. It is important that you reserve these time windows and be present in person. Important Requirements: 1) Registration: You must sign up for the exam date through the KOS system. 2) Assessment (Zápočet): This is a prerequisite for taking the exam. Assessments will be distributed on 12th January in the afternoon, but only to students who meet the necessary conditions (detailed below).
  • End-term test on Dec 15th during the lecture (personal presence required). The format is specified below. Note that no alternative/replacement dates will be arranged.
  • Mid-term test on Nov 3rd during the lecture (personal presence required). The format is specified below. Note that no alternative/replacement dates will be arranged.


Where and when: KN:E-301 (Charles Square, building E), Friday 09:15-10:45

Teaching: Ing. Milan Nemy, Ph.D.

PDF slides and other lecture materials will be made available during the semester. The lectures, however, will also include blackboard sessions as well as live coding demonstrations. Active participation in lectures is strongly recommended based on our experience from previous years. Two tests will be written during the lectures (Mid-term test and End-of-term test in the table below); attending those lectures is required.

week date topic materials
1. 29.09.2023 Introduction. Variables, expressions. Lecture 01
2. 06.10.2023 Primitive data types, program flow Lecture 02
3. 13.10.2023 Program structure, functions Lecture 03
4. 20.10.2023 Sequence data types, traversals Lecture 04
5. 27.10.2022 Collections (sets, dictionaries), iterators Lecture 05
6. 03.11.2023 Mid-term test Mid-term test
7. 10.11.2023 Modules, namespaces, conventions Lecture 06
8. 17.11.2023 Public holiday (no lectures) Struggle for Freedom and Democracy Day
9. 24.11.2023 Filesystem, file reading and writing Lecture 07
10. 01.12.2023 Debugging, code testing, exceptions Lecture 08
11. 08.12.2023 Objects, classes I Lecture 09
12. 15.12.2023 End-of-term test Endterm test Test file
13. 22.12.2023 Objects, classes II Lecture 10 PD intro
14. 12.01.2024 Revision for the exam, Advanced concepts Lecture 11 Lecture 12

Individual Consultations

After agreement. Specific problems will be discussed hence come with open problems you are struggling with. You may consider studying one of the recommended online resources first.

Exams and Tests

There will be two tests during the semester (mid-term and end-of-term) and a final exam during the exam period. The format of both the exam and the mid-term/end-of-term tests will be specified during the semester. It is recommended that you go through pages Preparing Yourself for the Tests and Plagiarism.

The content of the exam / test will be based on the content of:

  1. Lectures before the date of the exam / test (not limited but including the slides released after each lecture)
  2. Exercises and home-works practiced before the date of the exam / test
  3. Relevant chapters of the Wentworth2012 book
  4. Collection of Python multiple-choice question to practice for the exam http://www.sanfoundry.com/1000-python-questions-answers/ related to the content of the lectures


You need to bring your laptop to the lecture, or let me know that you need access to a school computer in advance. The test will be a programming assignment which you will complete on your computer. You are allowed to use any materials, internet, and IDE (PyCharm). It is not allowed to communicate with anyone (sending information or receiving), or to generate code automatically (e.g. via ChatGPT or GitHub Copilot). See the assignment from the last years – midterm_2020.py , midterm_2021.py , midterm_2022.py .


The end-of-term test will have the same format with the same rules as midterm, see above. See the assignment from the last years – endofterm_2020.py , endofterm_2021.py , endofterm_2022.py .

Final exam

Once you pass the semester (obtain “zapocet” after the semester ends), use the Faculty information system KOS to enroll. The dates and rooms for each exam date are visible in KOS. You may take the exam 2 times (retake the exam 1 time), but only within the dates in KOS – no more exam dates will be announced.

The final exam will have two parts: programming part (2.5 hour in the morning, up to 25 points) and oral part (10-20 minutes in the afternoon, up to 10 points); you can get maximum 30 points in total. The programming part will be similar to the midterm and end-of-term tests, with the same rules but with more complex assignments. During the oral part, you will be asked questions about your solution and topics related to the assignment, in order to 1. refine your exam grading and 2. verify that the uploaded solution is your own original work. Failing to explain your work will result in failing the exam and disciplinary actions. The oral part is mandatory and must be taken the same day as the written part. During the oral part, no materials are allowed, except for an IDE on your computer. See the previous assignments – exam_1_2020.txt , exam_2_2020.txt , exam_3_2020.txt , and exam_1_2021.txt , exam_2_2021.txt , exam_3_2021.txt , exam_1_2022.txt , exam_2_2022.txt .


Points: 50 homework (mostly coding), 20 tests during the term (2 tests, 10 points each), 30 final exam.

At least 30 points (out of 70) and regular lab attendance are needed before going to the final exam (in order to obtain “zapocet”). At least 10 points (out of 30) are needed to pass the final exam. To pass the course and get a grade, “zapocet” must be obtained, exam passed and at least 51 points gained in total (see the table below). It is possible to get additional up to 20 points for extra activity during the semester, such as completing a bonus homework.

100-91 90-81 80-71 70-61 60-51 50-0

F means fail.

courses/be5b33prg/start.txt · Last modified: 2024/02/02 09:14 by nemymila