PB161 C++ Programming

Faculty of Informatics
Autumn 2018
Extent and Intensity
2/2/0. 4 credit(s) (plus extra credits for completion). Recommended Type of Completion: zk (examination). Other types of completion: z (credit).
Teacher(s)
RNDr. Nikola Beneš, Ph.D. (lecturer)
Mgr. Roman Lacko (seminar tutor)
Mgr. Katarína Kejstová (seminar tutor)
Bc. Miroslav Cambel (seminar tutor)
Mgr. Peter Navrátil (seminar tutor)
Bc. Maroš Beťko (seminar tutor)
Bc. Dominik Gmiterko (seminar tutor)
Bc. Roman Hajdúk (seminar tutor)
Mgr. Matej Hulín (seminar tutor)
Bc. Marek Chocholáček (seminar tutor)
Bc. Dominik Jochec (seminar tutor)
Mgr. Jan Koniarik (seminar tutor)
Mgr. Lukáš Korenčik (seminar tutor)
Mgr. Áron Samuel Kovács (seminar tutor)
Mgr. Adam Matoušek (seminar tutor)
Mgr. Jan Plhák (seminar tutor)
Mgr. Denis Varga (seminar tutor)
RNDr. Jan Mrázek (assistant)
Mgr. Jan Tušil (assistant)
Mgr. Jiří Weiser (assistant)
Mgr. Vincent Mihalkovič (assistant)
Mgr. Matúš Talčík (assistant)
Mgr. Tomáš Brukner (assistant)
RNDr. Marek Chalupa, Ph.D. (assistant)
Mgr. Michal Mikloš (assistant)
RNDr. Lukáš Ručka (assistant)
Mgr. Peter Stanko (assistant)
RNDr. Vladimír Štill, Ph.D. (assistant)
Guaranteed by
doc. RNDr. Eva Hladká, Ph.D.
Department of Computer Systems and Communications – Faculty of Informatics
Supplier department: Department of Computer Systems and Communications – Faculty of Informatics
Timetable
Tue 16:00–17:50 D1
  • Timetable of Seminar Groups:
PB161/Demo: Wed 12:00–13:50 D1, N. Beneš
PB161/00: No timetable has been entered into IS.
PB161/01: Thu 16:00–17:50 B130, R. Hajdúk, R. Lacko, A. Matoušek
PB161/02: Fri 10:00–11:50 B130, M. Hulín, J. Koniarik, R. Lacko
PB161/03: Tue 18:00–19:50 B117, Tue 18:00–19:50 B116, M. Beťko, M. Cambel, M. Chocholáček
PB161/04: Wed 18:00–19:50 B130, D. Gmiterko, K. Kejstová, J. Plhák
PB161/05: Thu 12:00–13:50 B117, Thu 12:00–13:50 B116, D. Jochec, P. Navrátil, D. Varga
PB161/06: Thu 10:00–11:50 B130, N. Beneš, L. Korenčik, Á. Kovács
Prerequisites
PB071 Principles of low-level prog.
Students are also required to have user experience with Unix OS or similar, 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
The goals of the course are to make the students familiar with the C++ programming language (as defined by ISO C++14) and the object-oriented programming principles (as implemented by C++). The course focuses mainly on using the standard library, efficient design of own data structures (classes), the principles of resource management, and the basic principles of object-oriented design.
Learning outcomes
After finishing this course, a student should be able to:
- write C++ programs utilizing the tools of modern C++ (as defined by ISO C++14);
- use a significant part of the standard C++ library;
- create user-defined data types (classes) in C++;
- understand the value semantics of C++ and explain the difference between this semantics and other popular languages' semantics;
- understand the principles of object-oriented programming;
- design simple object-oriented architectures and implement them;
- use exceptions in an efficient and reasonable way;
- use modern development tools (IDE, debugger, version control, build automation tools, testing frameworks...);
- follow best practices guidelines for C++ programming.
Syllabus
  • Basic features of C++ (with respect to C). Standards, compilers.
  • Value and reference semantics of C++.
  • 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. 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!
Teaching methods
Teaching consists from theoretical lectures combined with the practical exercises and programming homework selected to practice topics from lectures.
Assessment methods
Homework assignments during the semester, one mid-semester written test, final programming exercise. The recommended completion is the exam in the form of a written test.
Language of instruction
Czech
Follow-Up Courses
Further comments (probably available only in Czech)
Study Materials
The course is taught annually.
Listed among pre-requisites of other courses
Teacher's information
https://www.fi.muni.cz/pb161/
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 2011, Autumn 2012, Autumn 2013, Autumn 2014, Autumn 2015, Autumn 2016, Autumn 2017, Autumn 2019, Spring 2020, Spring 2021, Spring 2022, Spring 2023, Spring 2024.
  • Enrolment Statistics (Autumn 2018, recent)
  • Permalink: https://is.muni.cz/course/fi/autumn2018/PB161