Large image of Karel facing north so that the K on its back is visible


Your first assignment consists of five 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 solution code on your own. This assignment is not a pair assignment.

Note: You may only use concepts covered in the Karel lectures 1-4 to solve these problems. In particular, you may not use Python 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 you run into issues while installing or using PyCharm, come by the PyCharm troubleshooting sessions on June 24 from 3-4:30PM in Gates 200 or June 25 from 2:30-4:30PM in Gates B02 if you need additional help.

Assignment Files


Resources