Date: Thursday October 7, 1999
Overview:
The exam is an on-line exam. You will be given a set of files
on a floppy disk and you will use them to write a program. The files will
include two worlds, a .r file for the class "GoodRobot" containing the
usual extra instructions and a .kpp file that has a task list to check
the instructions in the class "GoodRobot." It is our plan to have
NO errors in these files. You are to use these files and/or add your
own files to solve the exam problem.
The exam problem will be chosen from the following set of six problems
in Chapter 5:
Problem 7 page 136
Problem 8 page 136
Problem 9 page 137
Problem 10 page 137-138
Problem 13 page 139
Problem 14 page 139 -140
On the exam day, two of these will be chosen at random by Jim and you will then pick one of the two to solve for your exam.
Background
Do not use multiple robots - use just one. The overall class
design in yours. It must be reasonable in terms of what the book
and the class has presented to you.
We will discuss just exactly what will be in the "GoodRobot" class next Thursday so look at the problems and think about what you need. Jim will then write the class and make it available for you on the intront server and on the course directory.
This is a very good group activity. You need to look at all 6
problems and figure out an overall plan for solving each problem.
They you need to analyze the plan and refine it. Then you code.
Do not try to memorize the solutions - for most of us it simply does not
work. Try to find the patterns of code that work for the various
problems. You may code these together as you prepare. You may
share code with each other in your studies. Just be sure that you
can write the code on the day of the exam.