PB161 C++ Programming

Faculty of Informatics
Autumn 2009
Extent and Intensity
2/2. 4 credit(s) (plus extra credits for completion). Recommended Type of Completion: zk (examination). Other types of completion: z (credit).
Ing. Jan Kučera (lecturer)
doc. RNDr. Petr Švenda, Ph.D. (lecturer)
RNDr. Mgr. Jaroslav Bayer (seminar tutor)
Mgr. Ondřej Bouda (seminar tutor)
Mgr. et Mgr. Miroslav Cupák (seminar tutor)
Mgr. Pavel Černohorský (seminar tutor)
Mgr. Zbyněk Diviš (seminar tutor)
Mgr. Jan Hegr (seminar tutor)
Mgr. Vít Klouček (seminar tutor)
Mgr. Bc. Adam Libuša (seminar tutor)
Bc. Martin Moráček (seminar tutor)
Mgr. Michal Strehovský (seminar tutor)
RNDr. Ondřej Strnad, Ph.D. (seminar tutor)
RNDr. Šimon Tóth (seminar tutor)
Guaranteed by
prof. RNDr. Václav Matyáš, M.Sc., Ph.D.
Department of Computer Systems and Communications – Faculty of Informatics
Mon 14:00–15:50 D2
  • Timetable of Seminar Groups:
PB161/01: Mon 18:00–19:50 B130, J. Bayer, Š. Tóth
PB161/02: Tue 8:00–9:50 B130, J. Bayer, Š. Tóth
PB161/03: Wed 12:00–13:50 B130, J. Bayer, P. Švenda, Š. Tóth
PB161/04: Wed 8:00–9:50 B130, J. Bayer, Š. Tóth
PB161/05: Tue 14:00–14:50 B116, J. Kučera
PB161/06: Tue 15:00–15:50 B116, P. Švenda
PB161/07: Tue 18:00–18:50 B116, V. Klouček
PB161/08: Tue 19:00–19:50 B116, Z. Diviš
PB161/09: Wed 18:00–18:50 B116, M. Cupák
PB161/10: Wed 19:00–19:50 B116, A. Libuša
PB161/11: Thu 8:00–8:50 B116, P. Černohorský
PB161/12: Thu 9:00–9:50 B116, M. Moráček
PB161/13: Thu 14:00–14:50 B116, O. Strnad
PB161/14: Thu 15:00–15:50 B116, O. Bouda
PB161/16: Fri 13:00–13:50 B116, P. Černohorský
Knowledge of programming language C (to the extent covered by PB071 course) is supposed. User level knowledge of the Unix OS is also supposed (practical exercises are performed under Unix).
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
fields of study / plans the course is directly associated with
there are 25 fields of study the course is directly associated with, display
Course objectives
Students will learn how to write programs in ANSI C++ using the object oriented approach. The language is covered in sufficient details but not to full extent. Stress is laid on the practical work of students under Unix-like OS.
  • History of C++, standards, compilers.
  • Basic features of C++ (with respect to C).
  • Procedural vs. Object programming methodologies.
  • User defined data types. Classes in C++. Class components. Encapsulation.
  • Constructors and destructors. Inheritance and polymorphism.
  • Casting objects. Dynamic memory allocation. Automatic and class pointers. Name spaces.
  • Input and output in C++.
  • Exceptions and handling them. Safe constructors.
  • Templates. Standard C++ library and standard template library. Libraries for numeric computing.
  • Java as compared to C++. Further OO languages.
  • STROUSTRUP, Bjarne. The C++ programming language. 3rd ed. Reading: Addison-Wesley, 1997, x, 910 s. ISBN 0-201-88954-4. info
  • VIRIUS, Miroslav. Programování v C++. 1. vyd. Praha: ČVUT, 1998, 364 s. ISBN 8001018741. info
  • VIRIUS, Miroslav. Pasti a propasti jazyka C++ : podrobný průvodce pokročilého uživatele. 1. vyd. Praha: Grada, 1997, 251 s. ISBN 8071696072. info
  • VIRIUS, Miroslav. Od C k C++. 1. vyd. České Budějovice: KOPP, 2000, 227 s. ISBN 80-7232-110-2. info
  • LOUIS, Dirk, Petr MEJZLÍK and Miroslav VIRIUS. Jazyky C a C++ podle normy ANSI/ISO: kompletní kapesní průvodce. 1. vyd. Praha: Grada Publishing, 1999, 644 s. ISBN 80-7169-631-5. info
  • MEYERS, Scott. Effective C++ :50 specific ways to improve your programs and designs. 2nd ed. Reading: Addison-Wesley, 1998, xx, 256 s. ISBN 0-201-92488-9. info
Teaching methods
Teaching consists from theoretical lectures combined with the practical exercises and programming homework selected to practice topics from lectures.
Assessment methods
In seminars, the students create programs requested (usu. one per week, finishing it as individual work). The programs are rated in a point scale using previously given criteria. Preferably the course is ended by an examination made by a computer testing program. To be allowed to pass the test, the student must obtain the credit from the seminar and produce a final program. The classification depends on the quality of work in the seminar, quality of the final program and the result of the test. If the student choses finishing the course with a seminar credit only, he has to finish the programs given througout the term. No final program nor the test is required in that case.
Language of instruction
Further comments (probably available only in Czech)
Study Materials
The course is taught annually.
Listed among pre-requisites of other courses
Teacher's information
The course is also listed under the following terms Autumn 2002, Autumn 2003, Autumn 2004, Autumn 2005, Autumn 2006, Autumn 2007, Autumn 2008, Autumn 2010, Autumn 2011, Autumn 2012, Autumn 2013, Autumn 2014, Autumn 2015, Autumn 2016, Autumn 2017, Autumn 2018, Autumn 2019, Spring 2020, Spring 2021, Spring 2022, Spring 2023, Spring 2024, Spring 2025.
  • Enrolment Statistics (Autumn 2009, recent)
  • Permalink: https://is.muni.cz/course/fi/autumn2009/PB161