The following paper will be looked at in class
Program for question 1
The following paper should be done by you, on your own, first. Bring along your attempts to your tutorial in week 4
Program for Question 1
2007 Q2 java code sample solution
2007 Q3 java code sample solution
During the first 4 weeks of the course we covered basic design techniques, and java language concepts.. As this knowledge is critical to coping with the more advanced later topics, I schedule a lab test here to ensure that students will bring themselves up to date to this point.
However it is nothing to worry about. It only represents 10% of your final mark and should be mainly used as a way of consolidating the work you have been doing for the last 4 weeks.
In preparation you should bring yourself up to date with the loop exercises (see Tut/Labs week 4)and also work through the sample paper provided.
In all cases do start with designing the program , following the recommended approach. Having done the necessary thinking at the design stage, and then checked it out to see it works, the coding stage becomes easy. In the exam you will be given a design sheet on which to plan your program and write the algorithm in pseudocode. This should show clearly the structures you will use in your program. It is tempting to jump straight into the code but I have noticed when correcting ,that if people started with a woolly half thought up design, they often wrote an incomplete program also. Read the questions carefully. Mistakes can be made by misinterpreting what was asked. Note also the paragraph in the revision notes concerning programming style and documentation.
You should bring along your folder containing your practical work to date (including your attempts at the sample lab exam, 2002) to your tutorial in week 5. Have ready any questions, or concerns you have on the work to date. Do not wait for the tutorial, to go through the sample paper. You will get much more value from it if you have attempted it yourself and have ascertained where your difficulties (if any) lie.
Open Book Exam
You will be use your book of lecture notes (1-5) in the exam