Homework 1

< CS101

Homework-1 is due 11:59pm ending Monday April 10th. The Retrieve button below retrieves all of the exercises for this homework.

Homework-1 is made up of all the exercises from week-1. Before coming to this page, you should complete all of the individual exercise pages (linked below), clicking the Run button to run and save your code in your browser as you go for each exercise. The saved work persists on the computer, even if you close the tab, quit the browser or whatever.

1. Click the Retrieve button below. It will gather the code for all the exercises as one block of text. Copy the code text for later pasting. Check that your answers are all there.

2. We're using Stanford's "canvas" online teaching environment. From the CS101 page, follow the link to the CS101 canvas page, and on the Canvas page click on Assignments. Select the homework to turn in.

3. On Canvas there will be a single question where you can paste in all of your code. At the very top of your pasted in code, add any additional "README" notes for the grader.

You can turn in the homework multiple times and we will grade the last one turned in.

Lateness: our intention is that you can turn in an assignment a few days late and still get some credit (see "late days" in syllabus).

Each click of a Run button saves that code on the computer running the browser. The button below retrieves the all code exercises listed to the right of the button.

count 13 : code-1-ex1 code-1-ex2 code-1-ex3 code-1-ex4 code-2-ex1 code-2-ex2 code-2-ex3 image-2-ex1 image-2-ex2 image-2-ex3 image-2-ex4 image-2-ex5 image-2-ex6

(code appears here)