Official course description
Written exam objectives
C++ programming
- In general, all C++ mechanisms used in the codelabs and in the Cpp programming exercises are part of the objectives. Some specific objectives are highlighted below.
- Memory representation for a simple C++ program.
- Understanding and proper use of C++ qualifiers used in the codelabs.
- Understanding and proper use of ways for passing arguments to functions/methods.
- OO programming:
- Class definition and inheritance.
- Pure virtual and virtual methods.
- Use of C++ qualifiers for class members.
- Template classes: class/typename arguments, typed parameters (such as in
zpp_lib::Workorzpp_lib::MessageQueue).
- Type safety:
- C vs C++ type casting.
- Correct definitions of C++ classes to prevent unsafe type conversions.
- Object lifetime:
- Use of smart pointers for owing objects.
- Lifetime of objects captured in lambda expressions.
Testing
- Understanding of the test framework available in Zephyr RTOS.
- Understanding of small test programs using this framework.
- Given a small specification, programming of a test program that allows to verify the specification.
Scheduling
-
Scheduling concept:
- Task preemption.
- Timing constraints (formulation, representation).
- Periodic and aperiodic tasks (formulation, representation).
- Zephyr RTOS scheduling principles.
-
Scheduling algorithms:
- Schedulability principle: definition.
- Time Triggered Cyclic Executive (TTCE): given a set of tasks and their time constraints, formulate a task schedule and demonstrate schedulability.
- Round-robin scheduling: principle.
-
Interrupts:
- Understanding of ISR mechanism implementation.
- Support for Interrupt mechanisms on processors.
- Understand how to program ISR routines using C++ mechanisms.
Tasks and Concurrency
- Understanding of threads and of their basic implementation principles on Zephyr RTOS/
zpp_lib. - Zephyr RTOS multi-tasking mechanisms (WorkQueue, Mutex, Semaphore, MessageQueue), including
their
zpp_libimplementation:- Principles.
- Understand and formulate their use in a C++ program.
- Solve a basic multi-tasking problem using those mechanisms in a C++ program.
Memory
- Explain how a Cortex-M image is made.
- Understanding of the structure of an image.
- Understanding of what memory does a C++ program need.
- Understanding of C++ memory related qualifiers.
- Detect memory related issues in a C++ program.
- C++ mechanisms to prevent memory leaks and prevent dynamic memory allocation issues.
Bootloader
- Principles and components required to implement a bootloader application.
- Principles behind the MCUboot application.
- Principles of swap algorithms.