Notice
This page is located in a preparation section till 21.09.2026.

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 |BRUTE Upload System | BE5B33PRG TIME SCHEDULE (EN))

News

Information announced during the semester will appear here.

Lectures

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. A mid-term test will be written during the lectures (Mid-term test in the table below); attending this lecture is required.

week date topic materials
1. 25.09.2026 Introduction. Variables, expressions.
2. 02.10.2026 Primitive data types, program flow
3. 09.10.2026 Program structure, functions
4. 16.10.2026 Sequence data types, traversals
5. 23.10.2026 Collections (sets, dictionaries), iterators
6. 30.10.2026 Modules, namespaces, conventions
7. 06.11.2026 Mid-term test + Filesystem, file reading and writing
8. 13.11.2026 Debugging, code testing, exceptions
9. 20.11.2026 Dean's Day (holiday)
10. 27.11.2026 Objects, classes I
11. 04.12.2026 Objects, classes II
12. 11.12.2026 Objects, classes III
13. 18.12.2026 Advanced concepts
14. 08.01.2027 Revision for the exam

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 homeworks 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

Midterm

The midterm test will be held during the Week 7 lecture.

The mid-term test for the Programming Essentials course will take place during the lecture, not the PC lab, and will be conducted in a pen-and-paper format. You will receive sheets with the questions, and you only need to bring your own pen. Only the question sheet and pens are permitted; no other items, such as phones, laptops, or any electronic devices, are allowed on the desks. The use of any electronic devices or any form of communication with others is strictly prohibited and will result in zero points for the mid-term test, along with potential disciplinary actions. The test will cover all topics discussed in both lectures and PC labs up to the date of the mid-term, and it will include both theoretical and programming-related questions. The test will feature multiple questions as well as some free-text questions. You are expected to have a solid understanding of the material, and there will be limited time to complete the test. Note that there will be only one opportunity to take the test.

End-of-term

The end-of-term test for the PRG programming course will take place during Week 12 in the time of the PC labs. The test will be conducted on university computers in the designated PC lab classrooms. Students are only allowed to use these computers, i.e., personal laptops, phones, electronic devices, or any other materials are strictly prohibited. At the beginning of the test, all students will be required to hand in their mobile phones, which will be returned after the test. No form of communication is allowed during the test, and any violation will result in zero points and potential disciplinary actions.

The university computers will be configured to allow the use of PyCharm Community Edition for coding but without internet access, except for the Brute system and the PRG courseware website. The only materials permitted are the PRG course materials from lectures and PC labs. Note that the university computers run on a Linux operating system and use an English keyboard layout. Students are strongly advised to familiarize themselves with this environment during PC labs in the upcoming weeks to ensure smooth performance during the test. Past test examples are available here: 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 exam dates and assigned rooms for each term are available in KOS. No additional 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 5 points but an unlimited number of negative points); you can get maximum 30 points in total. The programming part will be similar to the end-of-term tests, with the same rules but with more complex assignments. That is, the test will be conducted on university computers in the designated PC lab classrooms. Students are only allowed to use these computers - personal laptops, phones, electronic devices, or any other materials are strictly prohibited. At the beginning of the test, all students will be required to hand in their mobile phones, which will be returned after the test. No form of communication is allowed during the test, and any violation will result in zero points and potential disciplinary actions. Note that the university computers will be configured to allow the use of PyCharm Community Edition for coding but without internet access, except for the Brute system and the PRG courseware website. The only materials permitted are the PRG course materials from lectures and PC labs. Also note that the university computers run on a Linux operating system and use an English keyboard layout. Students are strongly advised to familiarize themselves with this environment during PC labs to ensure smooth performance during the test.

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. 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 .

Grading

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).

A B C D E F
100-91 90-81 80-71 70-61 60-51 50-0

F means fail.

courses/be5b33prg/start.txt · Last modified: 2026/09/07 10:13 by nemymila