Assignment 0.0: Numbers, Expressions, and Small Programs
If you are a current student, please Log In for full access to this page.
Please read this assignment's readings and work through the exercises contained therein.
Note: Effective Use of DrillsYou should attempt these drills without running your code in Python, and only fall back to running your code if necessary. If you do have to fall back to using Python, it is crucial that you take the time to understand not only the result you got, but also why Python behaved the way it did.
Always, if you are having trouble with a question or can't figure out why Python is behaving the way it does, just ask!
3) Practice Exercises
Note: Effective Use of Practice ExercisesYou should try to work through these problems on your own, but you can work with others if you get stuck. Try to spend at least 10 minutes on each problem before asking for help.
A good set of goals is:
- work every problem as far as possible on your own (at least 10 minutes per problem).
- do not run any Python code until you have simulated it on paper using environment diagrams and are confident that it will produce the right answer.
- run and test your code on your own machine using Python before submitting.
- try to use as few submissions as possible.
- look at our solution once you have gotten the problem right, and compare it with your own.
It is important to develop the skill of running and testing code on your own machine, without relying on our checker as your sole means of running/testing your programs. As such, you will only be allowed to submit to each box once every 30 minutes.
We encourage you to try to make sure things are working by running your programs on your own machine before submitting anything. If your code does not pass the tests on the web site, you should continue testing and debugging on your own machine until you are able to submit again (you do not need to wait for the timer to reset to try other things!).