PB161 C++ Programming

Faculty of Informatics
Autumn 2011
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)
doc. RNDr. Petr Švenda, Ph.D. (lecturer)
Mgr. Tomáš Brukner (seminar tutor)
Mgr. Jan Juráň (seminar tutor)
Mgr. Vít Klouček (seminar tutor)
Mgr. Petr Pilař (seminar tutor)
RNDr. Lukáš Ručka (seminar tutor)
RNDr. Ondřej Strnad, Ph.D. (seminar tutor)
RNDr. Šimon Tóth (seminar tutor)
RNDr. Marek Vinkler, Ph.D. (seminar tutor)
Mgr. Rastislav Tisovčík (assistant)
Guaranteed by
prof. RNDr. Luděk Matyska, CSc.
Department of Computer Systems and Communications – Faculty of Informatics
Timetable
Mon 14:00–15:50 D3
  • Timetable of Seminar Groups:
PB161/01: Thu 16:00–17:50 B116, O. Strnad
PB161/02: Thu 14:00–15:50 B130, Š. Tóth
PB161/03: Wed 17:00–18:50 B130, P. Pilař
PB161/04: Tue 14:00–15:50 B311, V. Klouček
PB161/05: Tue 16:00–17:50 B311, V. Klouček
PB161/06: Thu 8:00–9:50 B116, P. Švenda
PB161/07: Thu 10:00–11:50 B116, J. Juráň
PB161/08: Thu 12:00–13:50 B116, J. Juráň
PB161/09: Thu 14:00–15:50 B117, M. Vinkler
PB161/10: Wed 12:00–13:50 A107, J. Juráň
PB161/11: Thu 18:00–19:50 B117, O. Strnad
PB161/12: Fri 8:00–9:50 B116, M. Vinkler
PB161/13: Fri 10:00–11:50 B116, P. Pilař
PB161/14: Fri 12:00–13:50 B116, L. Ručka
PB161/16: Fri 14:00–15:50 A104, L. Ručka
Prerequisites
PB071 Introduction to the C language || SOUHLAS
Students are also required to have user experience with Unix OS, as homework is submitted and tested on a Unix server.
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 27 fields of study the course is directly associated with, display
Course objectives
At the end of the course students should be able to:
Understand to principles of object oriented programming.
Design simple object oriented architectures and implement them.
Understand and use basic C++ syntax according to ANSI norm.
Use common C++ libraries, especially STL.
Annotate source code with respect to automatically generated documentation.
Use modern development tools (IDE, debugger, version control...).
Follow best practices guidelines for C++ programming.
Compile programs both under Unix and Windows.
Syllabus
  • Basic features of C++ (with respect to C). Standards, compilers.
  • Basic principles of object oriented programming (OOP). Object programming methodologies.
  • User defined data types. Classes in C++. Class components.
  • OOP in C++. Encapsulation, Inheritance, Polymorphism.
  • Dynamic memory allocation. Dynamic memory management. Automatic and class pointers.
  • Input and output in C++.
  • Exception handling. Defensive programming.
  • Templates. Standard C++ library and standard template library. Libraries for numeric computing.
  • Application of object oriented design and design patterns in C++.
  • Other OOP languages. Java and C# as compared to C++.
Literature
  • 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
Bookmarks
https://is.muni.cz/ln/tag/FI:PB161!
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 (usually 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 chose finishing the course with a seminar credit only, he has to finish the programs given throughout the term. No final program nor the test is required in that case.
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
The course is also listed under the following terms Autumn 2002, Autumn 2003, Autumn 2004, Autumn 2005, Autumn 2006, Autumn 2007, Autumn 2008, Autumn 2009, Autumn 2010, 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 2011, recent)
  • Permalink: https://is.muni.cz/course/fi/autumn2011/PB161