FI:PB161 C++ Programming - Course Information
PB161 C++ Programming
Faculty of InformaticsSpring 2024
- Extent and Intensity
- 2/2/0. 3 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)
RNDr. Petr Ročkai, Ph.D. (lecturer)
Bc. Matej Focko (seminar tutor)
Bc. Petr Kubica (seminar tutor)
Mgr. Jan Tušil (seminar tutor)
Bc. Vladimír Uhlík (seminar tutor)
Mgr. František Bráblík (assistant)
Bc. Miroslav Gáll (assistant)
Tomáš Pavlík (assistant)
Bc. Tomáš Rohlínek (assistant)
Bc. Jindřich Sedláček (assistant)
Ján Václav (assistant)
RNDr. Martin Jonáš, Ph.D. (assistant)
Mgr. Lukáš Korenčik (assistant)
Mgr. Adam Matoušek (assistant) - Guaranteed by
- RNDr. Nikola Beneš, Ph.D.
Department of Computer Systems and Communications – Faculty of Informatics
Supplier department: Department of Computer Systems and Communications – Faculty of Informatics - Timetable
- Tue 12:00–13:50 D2
- Timetable of Seminar Groups:
PB161/02: Fri 12:00–13:50 A219, M. Focko
PB161/03: Tue 18:00–19:50 A219, V. Uhlík
PB161/04: Wed 14:00–15:50 A219, P. Kubica - Prerequisites
- PB006 Princ. of Prog Lang. and OOP
Basic knowledge of programming and algorithmics (to the extent covered by the courses IB111, IB002), low-level programming (PB071), programming language principles and OOP (PB006). 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.
The capacity limit for the course is 60 student(s).
Current registration and enrolment status: enrolled: 63/60, only registered: 0/60, only registered with preference (fields directly associated with the programme): 0/60 - fields of study / plans the course is directly associated with
- Image Processing and Analysis (programme FI, N-VIZ)
- Applied Informatics (programme FI, B-AP)
- Bioinformatics and systems biology (programme FI, N-UIZD)
- Bioinformatics (programme FI, B-AP)
- Computer Games Development (programme FI, N-VIZ_A)
- Computer Graphics and Visualisation (programme FI, N-VIZ_A)
- Computer Networks and Communications (programme FI, N-PSKB_A)
- Cybersecurity Management (programme FI, N-RSSS_A)
- Discrete algorithms and models (programme FI, N-TEI)
- Formal analysis of computer systems (programme FI, N-TEI)
- Graphic design (programme FI, N-VIZ)
- Graphic Design (programme FI, N-VIZ_A)
- Hardware Systems (programme FI, N-PSKB_A)
- Hardware systems (programme FI, N-PSKB)
- Image Processing and Analysis (programme FI, N-VIZ_A)
- Information security (programme FI, N-PSKB)
- Informatics with another discipline (programme FI, B-BI)
- Informatics with another discipline (programme FI, B-EB)
- Informatics with another discipline (programme FI, B-FY)
- Informatics with another discipline (programme FI, B-GE)
- Informatics with another discipline (programme FI, B-GK)
- Informatics with another discipline (programme FI, B-CH)
- Informatics with another discipline (programme FI, B-IO)
- Informatics with another discipline (programme FI, B-MA)
- Informatics with another discipline (programme FI, B-TV)
- Informatics (programme FI, B-INF) (2)
- Public Administration Informatics (programme FI, B-AP)
- Informatics in education (programme FI, B-IVV) (2)
- Information Security (programme FI, N-PSKB_A)
- Quantum and Other Nonclassical Computational Models (programme FI, N-TEI)
- Mathematical Informatics (programme FI, B-IN)
- Mathematics for Multi-Branches Study (programme PřF, B-MA)
- Mathematics with Informatics (programme PřF, N-MA)
- Mathematics (programme PřF, B-MA)
- Parallel and Distributed Systems (programme FI, B-IN)
- Computer graphics and visualisation (programme FI, N-VIZ)
- Computer Graphics and Image Processing (programme FI, B-IN)
- Computer Networks and Communication (programme FI, B-IN)
- Computer Networks and Communications (programme FI, N-PSKB)
- Computer Systems and Data Processing (programme FI, B-IN)
- Business Informatics (programme ESF, B-POIN)
- Business Informatics (programme ESF, B-SI)
- Principles of programming languages (programme FI, N-TEI)
- Profesional Mathematics (programme PřF, B-MA)
- Programming and development (programme FI, B-PVA)
- Programmable Technical Structures (programme FI, B-IN)
- Embedded Systems (programme FI, N-IN)
- Cybersecurity management (programme FI, N-RSSS)
- Services development management (programme FI, N-RSSS)
- Software Systems Development Management (programme FI, N-RSSS)
- Services Development Management (programme FI, N-RSSS_A)
- Service Science, Management and Engineering (programme FI, N-AP)
- Social Informatics (programme FI, B-AP)
- Software Systems Development Management (programme FI, N-RSSS_A)
- Software Systems (programme FI, N-PSKB_A)
- Software systems (programme FI, N-PSKB)
- Machine learning and artificial intelligence (programme FI, N-UIZD)
- Teacher of Informatics and IT administrator (programme FI, N-UCI)
- Informatics for secondary school teachers (programme FI, N-UCI) (2)
- Artificial Intelligence and Natural Language Processing (programme FI, B-IN)
- Computer Games Development (programme FI, N-VIZ)
- Processing and analysis of large-scale data (programme FI, N-UIZD)
- Natural language processing (programme FI, N-UIZD)
- Course objectives
- The goals of the course are to make the students familiar with the basics of the C++ programming language as defined by ISO C++20. The course focuses on the languages's semantics, user-defined data types (classes), basic work with the standard library.
- Learning outcomes
- After finishing this course, a student should be able to:
- write simple C++ programs utilizing the tools of modern C++ as defined by ISO C++20;
- use the standard C++ library on a basic level;
- 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 behind resource management (incl. memory management) in modern C++;
- understand how the principles of object-oriented programming are realised in C++;
- use exceptions in an efficient and reasonable way;
- follow best practice guidelines for C++ programming. - Syllabus
- Introduction to the syntax and semantics of C++, value semantics, references, const.
- Compound values and types, records (struct), basic compound types in the standard library.
- Extending types with methods and operators, overloading.
- The lifecycle of a value, ownership, constructors, destructors.
- Raw pointers, smart pointers, ownership via pointers.
- Inheritance, late binding, OOP polymorphism, virtual destructors.
- Exception handling, the RAII principle, resource management.
- Closures (“lambda functions”).
- Sum types in the standard library.
- Algorithms, both classic and new (the “ranges” part of the library).
- String manipulation.
- Formatting, input/output.
- 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
- Homework assignments during the semester, three midterm programming tests, a programming exam.
- Language of instruction
- Czech
- Follow-Up Courses
- Further Comments
- Study Materials
The course is taught annually. - Listed among pre-requisites of other courses
- IB113 Introduction to Programming and Algorithms
!NOW(IB111) && !IB111 && !PB162 && !PB161 && !PB071 && !IB001 && !program(B-INF) && !program(B-PVA) && !program(B-CS) - PB007 Software Engineering I
PB160 || PB161 || PB162 || PB174 || PV178 || PB112 - PV255 Game Development I
PB009 && PV112 && (PB161 || PB162 || PV178) - PV294 Advanced C++
PB161
- IB113 Introduction to Programming and Algorithms
- Enrolment Statistics (Spring 2024, recent)
- Permalink: https://is.muni.cz/course/fi/spring2024/PB161