I am writing my exams in Jan 2007. Please someone share light on the exam format. Something similar to this 2005 post:
As far as I can recall there were 8 questions. In random order the questions are as follows:
Ques. 1
15 multiple choice questions.
Ques. 2
Thread priority code is given.
Explain how this has liveness failure and how this can be handled and write about thread priority. (marks<10).
Ques. 3
Code is given for 3 different vehicles classes.
You have to state the relationship between the 3 classes and explain dynamic binding and show the overridden methods used. (marks<15).
Ques. 4
UML diagrams are given as in the mock exam paper of different classes. You must give relationship between different classes eg. inheritance relation and give class declarations. (marks<10).
Ques.5
Again some code is given of different classes. You have to state the type of overloading used and output produced. (marks<10).
QUes. 8
Code is given for Queue class. You must write some exceptions thrown eg, queue is full or empty and errors eg. file does not exist or invalid character. (marks<=10).
Ques. 7
Code of 2 classes are given. Change the code so that objects of 1 class can be deep copy clones.
For the canonical form, how implement object equality utility?
Do pre- and post-conditions ie contracts for queue class. (marks+-15).
Ques. 8
Code is given of DBAnimationApplet class with different methods eg. init() and paint(). State which are hook- and template-methods. Also explain abstract methods and design patterns. (marks+-10).