6.7
Week 1 Set c
Programming Language English and mathematics
Purpose This problem set takes you back to ideas you encountered in high school, especially tables and pattern matching.
Finger Exercises
Exercise 1 Complete the following table, which describes the movement of an object:
t =
1
2
3
4
5
6
7
8
9
10
d =
0
3
6
9
12
15
18
21
?
?
Specifically, it tabulates the distance between a so-called "origin" and a "Something" could be miles, kilometers, or some other unit that measures distance. "Time unit" could be hours or seconds or milliseconds. moving object. The latter travels away from the "origin" on a straight line at 3 "somethings" per time units. Each column shows how many time units have passed (top) and how many "somethings" the object is away (bottom).
Exercise 2 Complete the following table of keyboard keys:
t =
1
2
3
4
5
d =
Q
QW
QWE
?
?
How do you write these key sequences as BSL strings?
Exercise 3 Turn the following function definition into a table like those above:d(t) = 2 + t * 4
Create the entries for t = 1, 3, 8, and 11.
Graded Exercises
none