To hand in on paper in class: Rosen, Section 1.1, pp. 16-19:
Exercises 10, 24, 38
Section 1.2, p. 29, Exercises 24, 40
To submit online (by 11:30 PM): Modify the truth table program discussed in class so that it prints a truth table of a function of three variables. You can use the equivalence displayed in Table 5 on p. 23 of Rosen to check your program.
Submit your program on "moon" using the command
provide comp14 hw1 ttable.pl
(You don't need to call your program ttable.pl, but you need to type the rest of the command as given.) The assignment is worth 100 points, 50 for each part.