For this assignment, you will work with the little-crab scenario that is discussed in Chapters 3 of the text.
If you don't remember how to do any of the steps (like, copying, zipping, etc), please refer back to Lab 1.
You should continue to work on the same scenario you finished from Lab 2. However, you should retain a copy of your Lab 2 scenario for future reference. In order to do this, go to the file explorer and select the little-crab directory, right-click and select copy. Then, right-click on a blank area of the file explore and select paste. Rename the newly-pasted file little-crab2.
You should leave little-crab2 alone and open Greenfoot with the little-crab scenario you worked on for the last assignment. You should complete the exercises from Chapters 3 in the text. Some of the exercises ask you to do something with the scenario and then change it back. Some ask you to think about the results of doing something. You should do each of the exercises (unless explicitly instructed not to do so below), whether or not it makes a noticeable change in the code. These exercises are designed to get you used to doing things with Greenfoot and to get you thinking about programming. In the end, you will have changed the program in some ways and you will submit the final version. If you miss an exercise that does not cause changes to the program, it is possible that you will not be able to easily do subsequent exercises.
Exercise |
Notes |
3.1 |
No changes to the program code for this exercise. |
3.2 |
No changes to the program code for this exercise. |
3.3 |
|
3.4 |
|
3.5 |
No changes to the program code for this exercise. |
3.6 |
No changes to the program code for this exercise. |
3.7 |
|
Before going on to 3.8 |
Place the code shown in Code 3.3 (notice that it spans both pages 34 & 35) into your code for the crab. Make sure the code works as described before moving onto the next exercise. |
3.8 |
|
3.9 |
|
3.10 |
|
3.11 |
No changes to the program code for this exercise. |
3.12 |
|
3.13 |
|
3.14 |
No changes to the program code for this exercise. |
3.15 |
|
3.16 |
|
3.17 |
|
3.18 |
|
3.19 |
|
3.20 |
No changes to the program code for this exercise. |
3.21 |
No changes to the program code for this exercise. |
3.22 |
|
3.23 |
** We are working to get speakers installed in the lab. These last three exercises may not be possible if you are only working in 340 and not on your own machine. Therefore, if you can do them, do so. If not, don't. They will not be counted towards the grading of this assignment. ** |
3.24 |
|
3.25 |
Once you have completed all the exercises in Chapter 3, you will submit the zipped up version of the little-crab scenario.
For directions on submitting, please see here.
Please recall that you must achieve a grade of at least 50% on each of the labs to be allowed to take the second practical exam. This means, that your labs are technically all due by the last day of class (December 10th). However, if you want to stay current with the course, I would recommend having this assignment completed within a week, but definitely before the first practical, which will be during the weeks of October 18th and October 25th.
Please make sure to look at your grading information on Web-CAT. See the grading information page for more details about how to interpret Web-CAT grade reports.
The following tests were run on your assignment submission. Each test was given equal weight, so 6.25 points each part.
Lab authored by Adrienne Decker