Dates for this semester will be confirmed later
To be confirmed
Exam review questions
The exam may ask questions of this level, as multiple choice or "fill in the blanks".
- What is the difference between i++ and ++i?
- What is the difference between public , private and protected class access rights?
- How do the same access rights work if the class also has a superclass with some kind of access rights (how does public/protected/private inheritance change the access)?
- Which parts does a doxygen comment of a function have?
- What does the life cycle of an object look like (when is the constructor called , when is the destructor called , what happens in between?)
- How do you get elements from an array ?
- How do you get elements from an array of pointers?
- What is the difference between a pointer and a reference and how do they work in the context of classes? How do they change access to attributes?
- What does the delete command do, when to delete and when to delete[] .
- Given "Student* x=new Student;", is x.method() or x->method() correct?
- Given a short program, identify an error.
- Add a line to a short program to achieve a certain task.