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 3. However, you should retain a copy of your Lab 3 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-crab3.
You should leave little-crab3 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 |
|
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 |
Note that these exercises depend on speakers being installed and volume turned on for them. If you are working on a machine without speakers or with speakers with low volume, you may not be able to hear the sounds, but the code, if written correctly, will work if moved to a computer with speakers and volume. |
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 third practical exam. This lab is technically due on Friday, March 18th at 11:59:59pm. However, if you want to stay current with the course, I would recommend having this assignment completed within a week. You will need mastery of the skills you learn in this lab to be successful at practical exam 2.
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