PB161 C++ Programming

Faculty of Informatics
Autumn 2007
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).
Teacher(s)
Ing. Jan Kučera (lecturer)
RNDr. Mgr. Jaroslav Bayer (seminar tutor)
Mgr. Libor Caha, PhD. (seminar tutor)
Mgr. Zbyněk Diviš (seminar tutor)
Mgr. Marek Grác, Ph.D. (seminar tutor)
Mgr. Martin Jirman (seminar tutor)
Mgr. Michal Měrka (seminar tutor)
Mgr. Lukáš Rýdlo (seminar tutor)
Mgr. Michal Strehovský (seminar tutor)
Mgr. Karel Štěpka, Ph.D. (seminar tutor)
RNDr. Šimon Tóth (seminar tutor)
RNDr. Marek Vinkler, Ph.D. (seminar tutor)
Guaranteed by
prof. RNDr. Václav Matyáš, M.Sc., Ph.D.
Department of Computer Systems and Communications – Faculty of Informatics
Timetable
Mon 12:00–13:50 D2
  • Timetable of Seminar Groups:
PB161/01: Mon 14:00–15:50 B130, J. Bayer, Š. Tóth
PB161/02: Wed 12:00–13:00 B130, J. Bayer, Š. Tóth
PB161/03: Mon 14:00–14:50 B116, J. Kučera
PB161/06: Tue 15:00–15:50 B311, J. Kučera
PB161/07: Tue 16:00–16:50 B311, J. Kučera
PB161/08: Wed 10:00–10:50 B311, M. Grác
PB161/09: Wed 18:00–18:50 B116, J. Kučera
PB161/11: Thu 16:00–16:50 B117, M. Měrka
PB161/12: Thu 17:00–17:50 B117, M. Vinkler
PB161/13: Thu 18:00–18:50 B117, M. Strehovský
Prerequisites
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 26 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.
Syllabus
  • 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.
Literature
  • STROUSTRUP, Bjarne. The C++ programming language. 3rd ed. Reading: Addison-Wesley. x, 910 s. ISBN 0-201-88954-4. 1997. info
  • VIRIUS, Miroslav. Programování v C++. 1. vyd. Praha: ČVUT. 364 s. ISBN 8001018741. 1998. info
  • VIRIUS, Miroslav. Pasti a propasti jazyka C++ : podrobný průvodce pokročilého uživatele. 1. vyd. Praha: Grada. 251 s. ISBN 8071696072. 1997. info
  • VIRIUS, Miroslav. Od C k C++. 1. vyd. České Budějovice: KOPP. 227 s. ISBN 80-7232-110-2. 2000. 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. 644 s. ISBN 80-7169-631-5. 1999. info
  • MEYERS, Scott. Effective C++ :50 specific ways to improve your programs and designs. 2nd ed. Reading: Addison-Wesley. xx, 256 s. ISBN 0-201-92488-9. 1998. info
Bookmarks
https://is.muni.cz/ln/tag/FI:PB161!
Assessment methods (in Czech)
Ve cvičeních studenti samostatně vytvářejí zadané programy (jeden týdně, obvykle s nutností dokončit doma nebo v počítačové učebně). Zpracování příkladů je bodováno podle předem oznámených kritérií. Doporučené ukončení předmětu je zkouška, která probíhá formou testu prováděného na počítači. Podmínkou připuštění k testu je získání zápočtu ze cvičení a samostatné úspěšné zpracování závěrečného příkladu. Klasifikace závisí na bodovém hodnocení práce ve cvičeních, kvalitě zpracovaného závěrečného příkladu a na výsledku testu.
V případě ukončení zápočtem stačí v patřičných termínech odevzdat řádně zpracované příklady zadávané v průběhu semestru. Závěrečný příklad ani test se u tohoto způsobu ukončení nevypracovává.
Účast ve cvičeních je povinná, pokud cvičící učitel nepovolí výjimku (ta se povoluje je výjimečně, zejména tehdy, kdyby cvičení muselo probíhat v počítačové učebně, kde je méně počítačů než studentů).
Language of instruction
Czech
Further comments (probably available only in Czech)
Study Materials
The course is taught annually.
Listed among pre-requisites of other courses
Teacher's information
http://www.fi.muni.cz/usr/jkucera/pb161/
The course is also listed under the following terms Autumn 2002, Autumn 2003, Autumn 2004, Autumn 2005, Autumn 2006, Autumn 2008, Autumn 2009, 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.
  • Enrolment Statistics (Autumn 2007, recent)
  • Permalink: https://is.muni.cz/course/fi/autumn2007/PB161