Basically, this is a piece of code that displays questions and a set of choices. At the end of the exam, the examinee is told how well she did in the exam. The questions are read from a text file, and more questions can be added or removed. u could use it for you lil brother.
Inputs
More questions can be added to the text file from which the qtns and answers are read. Thus you could use it as a computer-based multiple-choice questionaire: just supply the questions.
Returns
When all questions have been exhausted, the user is told of how many he got right, and how many he got wrong.