- Use a full sheet of 8½ x 11" paper. (Half sheet? Half credit!)
- Put your last name and first initial in the far upper left hand corner!
- No need to write out questions.
- Numbering responses may help you avoid overlooking a question; it's ok to go ahead and pre-number your sheet.
- Time: 2:30; two one-point questions, and a one-point EC
- Can everybody see this line?
Quiz 7; October 12; 2'30"; one point per question
- Write a query to find out who likes
baseball
and broccoli
and mary
.
- In terms of "Can you prove...?", what is the following query asking?
?- food(X), drink(X).
EC: Write a three-goal query *not* involving the food
, color
, et al. predicates.
(No need to explain it!—Just write such a query!)
% Predicate reminders for questions 1 and 2:
food(apple).
...more...
color(lettuce, green).
...more...
likes(bob, mary).
likes(joe, baseball).
...more...
drink(milkshake).
drink(soup).
...more...