SOLID
Pointers
MVC
Doxygen
UML
100

What does S stand for in SOLID

What is Single Responsibility Principle?

100

What operator is used to get the address of a variable?

&

100

What does C stand for? And what does it do?

Controller

Acts as a "middle-man" between the View and the Model.

100

What parameter do you put in doxygen comments to denote the date

@date

100

What does a filled diamond mean in UML diagrams?

When the parent is destroyed, the child is also destroyed, as it doesn't have an independent right of existence (Composition)

200

What does I stand for in SOLID

What is Interface Segregation Principle?

200

int x = 5;
int *p = &x;
*p = 20;
cout << x

What will x output?

20

200

What benefits does Doxygen comments have over other comments?

Doxygen can generate external documentation.

Other answers could include:
Readability
Standard commenting style over other languages
Relates code (such as classes) together

200

What is the name for the unfilled diamond

Aggregation

300

int a = 15;
int *ptr = &a;
ptr = 30;
cout << a

What will this code output

Compiler error; specifically:

a value of type "int" cannot be assigned to an entity of type "int *"

'=': cannot convert from 'int' to 'int *'

300

At an Abstract level, match the three parts of MVC to this example:

Waiter
Kitchen
Menu

C - Waiter

M - Kitchen

V - Menu


300

Arguments of a function should be use what doxygen parameter?

@param

300

What is UML short for?

Unified Modeling Language