This page is located in archive. Go to the latest version of this course pages. Go the latest version of this page.

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


  • New exam date 9.2.2021 announced, see below
  • New exam date 28.1.2021 announced, see below
  • The format of the final exam announced, see below.
  • The format of the end-of-term test announced, see below.
  • The test preparation page created, see Preparing Yourself for the Tests.
  • The format of the midterm test announced, see below.
  • Due to the current epidemiological situation, both lectures and labs will be taught online. For more details, see FEE covid updates.


Where and when: PRG Conference room, Friday 09:15-10:45

Teaching: Tomas Jenicek

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 (06.11. and 11.12.); attending those lectures is required.

week date topic materials
1. 25.09.2020 Introduction. Variables, expressions. Slides 1 , Notebook 1 , Demo 1 OCR , Demo 2 Face , Demo 3 Classification
2. 02.10.2020 Primitive data types, program flow Slides 2 , Revision 1 , Notebook 2 , fixed lecture recording is in BRUTE
3. 09.10.2020 Program structure, functions Slides 3 , Revision 2 , Notebook 3
4. 16.10.2020 Sequence data types, traversals Slides 4 , Revision 3 , Notebook 4
5. 23.10.2020 Collections (sets, dictionaries), iterators Slides 5 , Notebook 5
6. 30.10.2020 Modules, namespaces, conventions Slides 6 , translation.py
7. 06.11.2020 Mid-term test midterm_assignment.py
8. 13.11.2020 Filesystem, file reading and writing Slides 8
9. 20.11.2020 Debugging, code testing, exceptions Slides 9
10. 27.11.2020 Objects, classes I Slides 10
11. 04.12.2020 Objects, classes II Slides 11 , linear_algebra.zip
12. 11.12.2020 End-of-term test endofterm_assignment.py
13. 18.12.2020 Advanced concepts Slides 13 , advanced_concepts.py
14. 08.01.2020 Revision for the exam Slides 14 , Complex assignment , Complex solution

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

Midterm 06.11.2020

You will complete this test on your computers and you are allowed to use any materials, internet and IDE (VS Code). It is not allowed to communicate with anyone (sending information or receiving). Similar skills as during the lecture exercises will be tested, in particular interpreting, correcting and creating code. The answers will not be limited to multiple-choice, you will be asked to submit code. See the assignment from 06.11. midterm_assignment.py .

End-of-term 11.12.2020

The end-of-term test will have the same format with the same rules as midterm, see above. See the assignment from 11.12. endofterm_assignment.py .

Final exam 15.1.2021

Once you pass the semester (obtain “zapocet” after the semester ends), use the Faculty information system KOS to enroll. The exam will be taken remotely; you will need a microphone and a webcam to take the exam. The final exam will have two parts: programming part (9:00-11:30, up to 25 points) and oral part (12:30-18:00, 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 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 and your computer can be used only for communication. See the assignment from 15.1. exam_1_assignment.txt .

Final exam 28.1.2021

The format and rules are identical to the final exam 15.1.2021. The programming part starts at 9:00, the oral part at 12:30. Make sure to enroll for the exam using KOS. See the assignment from 28.1. exam_2_assignment.txt .

Final exam 9.2.2021

The format and rules are identical to the final exam 15.1.2021. The programming part starts at 9:00, the oral part at 12:30. Make sure to enroll for the exam using KOS. See the assignment from 9.2. exam_3_assignment.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: 2021/02/09 09:10 by jenicto2