Test MDX File
This is a Test MDX File for my Quiz setup. Test callout:
Test content… Remember to Test the Light and Dark themes on the top RHS.
The Evolution and Core Principles of C++
Section titled “The Evolution and Core Principles of C++”C++ is a powerful, object-oriented programming language that has played a significant role in software development since its inception. Developed by Bjarne Stroustrup at Bell Labs (now AT&T Labs) between 1983 and 1985, C++ built upon the foundations of the C language. C itself has a rich lineage, tracing back to the B language (1970) by Ken Thompson and ultimately to the BCPL language.
Test code example of cout, which should be highlighted, the using namespace call should also be highlighted:
// Hello World Application#include <iostream> // 1using namespace std; // 2
int main() { // 3 cout << "Hello world!\n"; // 4 return 0; // 5}Test rust code with a diff:
// Enum for messages in a game, with tuple-like dataenum Message { Quit, // No data Move(i32, i32), // Holds x and y coordinates Write(i32), // Holds a int message Write(String), // Holds a String message ChangeColor(i32, i32, i32), // Holds RGB values}Test bash output:
User1 email: derek@dcu.ieExample OutputKnowledge Check
Section titled “Knowledge Check”Here is an example of a Quiz that is minimised by default from the MDX page.
Which of the following statements about the 'volatile' keyword are true?
Here is an example of a Quiz that is expanded by default from the MDX page.
Here is an example of a Code debug Quiz component …
Spot the Hardware Polling Bug
What is true regarding the shortest valid C++ program?
What is true regarding the shortest valid C++ program?
© 2026 Derek Molloy, Dublin City University. All rights reserved.