8.3

Homework 1

home work!

Programming Language BSL

Due Date Tuesday 9/14 (Week 1)

Purpose To familiarize yourself with the basic data language in BSL and program some functions.

Finger Exercises

Exercise 1 What is a well-matched data representation of

  1. the speed of a car

  2. a name of a person

  3. the state of a light switch

  4. a full street address of a person

  5. the velocity of a boat (on a flat 2-dimensional lake)

  6. the state of a working street light

  7. the (regular) semester grades given to students

  8. a boarding pass for a flight

  9. an email address

  10. a location of a point in a virtual 3-dimension world

Exercise 2 From HtDP, do exercises 34 35 36 37 38.

Graded Exercises None