HW1

Due: Wednesday, June 30th by 11pm

Overview

In this assignment, you will practice reasoning about straight-line code, using both forward and backward reasoning, and verifying the correctness of some straight-line code.

Problems

Solve the problems given in this worksheet.

Feel free to rewrite the problems on a separate sheet. You do not have to turn in these exact pages with the blanks filled in (though you can do that as well). It is okay to submit a scanned copy of a hand-written document as long as it is legible, so you can also print the worksheet, write your answers on that, and scan it when done.

HTML Page

Once you have your PDF write up, Create a html page named hw1.html and create a relevant link to your pdf write up.

Submission

Submit the following using Gradescope:

  1. hw1.html
  2. Your pdf write up which hw1.html links to.