Due: Wednesday, July 11th, 11AM
YEAH Hours: Friday, July 6th, 1:30-2:20PM (Gates B01)
Must be done individually
Your second assignment consists of four Java programs (fun fact: this picture is the offical Java mascot).
There is a starter project including all of these problems that you can access using the link below. Once you have the starter code set up, edit the program files so that the assignment actually does what it’s supposed to do (see the assignment handout), which will involve a cycle of coding, testing, and debugging until everything works. The final step is to submit your assignment.
You should write the code for your solution on your own. This assignment is not a pair assignment.
Note: You may only use concepts covered up through lecture on Tuesday, July 3, minus parameters, to solve these problems. In particular, you may not use Java concepts you may have learned previously such as parameters, instance variables, return, Strings, etc. As a general rule of thumb, any concepts mentioned in the readings up to but not including Chapter 5 are ok to use. If you have any questions about what is ok/not ok to use, please feel free to ask.
To run the demo, download the file below and double-click to run. If you are unable to run it by double-clicking, right-click on the demo file and click "Open".
Note: the "Debugging with Karel" handout still provides valuable debugging tips for Java programs! In particular, the debugger functions identically for Karel and Java programs.
import java.awt.*;to the top of your program file; this specifies where Eclipse should look to learn about Colors.
Hangman, so I renamed it to my own name such as
DaveIsGreat. That is okay, right?