Your first assignment consists of four Karel programs.

Getting Started

There is a starter project including all of these problems that you can access using a link below. Since this is the first assignment we will ask you a few questions about the honor code before you can download the starter project. 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 in the Karel coursereader to solve these problems. In particular, you may not use Java concepts you may have learned previously such as variables, parameters, return, break, etc. If you have any questions about what is ok/not ok to use, please feel free to ask.

Note: If Eclipse gives you a warning (a yellow "caution" symbol in the sidebar of your assignment files) about "serializable classes," just ignore it.

Note: If you run into issues while installing or using Eclipse, check the bottom of the Eclipse instructions for common troubleshooting tips, and come by the Eclipse troubleshooting session on Jan 8th 7-9PM if you need additional help.

Note: If you're seeing an error about 'polling news feeds', don't worry about it! You can disable it by going to Preferences... (in the workspace menu) -> General -> News, and unticking the 'Enable automatic news polling' option.

Assignment Files