TDDD38 Advanced Programming in C++
Examination
The only examination is a computer exam, DAT2, which concists of both theory questions and programming problems. The exam time is 5 hours.
Specific instructions for this course
Please, sign up for an exam only if you really have the intention to participate. The number of places is limited, and our experience is that noticeable more students register for this exam than actually turns up.
If you have registered, but for any reason decide to not participate, please, withdraw your registration as soon as possible.
The environment will include GNU GCC g++ (9.3.0 and 10.3.0), LLVM clang (10.0.0 and 11.0.0), emacs, gedit, vim, visual code, atom, cppreference.com Reference, and valgrind. Three aliases for compiling with g++ are available:
g++17: g++ -std=c++17
w++17: g++ -std=c++17 -pedantic -Wall -Wextra
(warnings become errors)
e++17: g++ -std=c++17 -pedantic -Wall -Wextra -Werror
(Strongly recommended!)
g++20: g++-10 -std=c++20
w++20: g++-10 -std=c++20 -pedantic -Wall -Wextra
(warnings become errors)
e++20: g++-10 -std=c++20 -pedantic -Wall -Wextra -Werror
-Weffc++
is recommended as well.
Assistance during exam
You will be able to contact the teacher using a simple chat client during the exam.
Means of assistance
• You may bring an An English-* vocabulary. No other literature or any other kind of means of assistance of your own may be used.
• cpppreference.com Reference will be available, get acquainted! (the language part will not be avaliable)
Examination occations
The course have four exams per year. The exams in examination periods Ht2 (January) and Vt2 (May/June) are the ordinary exams for the autumn and spring course, respectively. The exams in August and Mach (typically after Easter) are reexamination occations.
Current examiniation occations and registration periods.
Examples of previous exams (2022 format)
2025-01-15 | Solutions and given files
2024-08-22 | Solutions and given files
2024-05-31 | Solutions and given files
2024-03-15 | Solutions and given files
2024-01-11 (DAT1 and DAT2) | Solutions and given files
2023-08-16 (DAT1 and DAT2) | Solutions and given files
2023-06-01 (DAT1 and DAT2) | Solutions and given files
2023-03-16 | Solutions and given files
2023-01-12 | Solutions and given files
2022-08-17 | Solutions and given files
2022-06-12 | Solutions and given files
2022-03-17 | Solutions and given files
2022-01-13 | Solutions and given files
Example | Solutions and given files
Examples of previous remote exams
2021-06-02 | Solutions and given files
2021-01-14 | Solutions and given files
2020-06-03 | Solutions and given files
2020-05-09 | Solutions and given files
Examples of previous exams (pre-2020 format)
2020-01-13 | Solutions and given files
2019-08-21 | Solutions and given files
2019-06-03 | Solutions and given files
2019-04-25 | Solutions and given files
2019-01-11 | Solutions and given files
2018-08-22 | Solutions and given files
2018-05-31 | Solutions and given files
2018-04-05 | Solutions and given files
2018-01-08 | Solutions and given files
2017-08-16 | Solutions and given files
2017-05-29 | Solutions and given files
2017-04-20 | Solutions and given files
2017-01-12 | Solutions and given files
2016-08-17 | Solutions and given files
2016-06-02 | Solutions and given files
2016-03-31 | Solutions and given files
Page responsible: Christoffer Holm
Last updated: 2025-01-31