- 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: 4:00; six questions and one EC
Quiz 7; February 22; four minutes; 2+1+1+1+1+1 points
- Write short examples of each of these four: atom, variable, fact, query. Use letters whose case
is easily distinguished.
- Write a two-term structure with the functor
two
.
- With a "can you prove" mindset, what is
?- dog(rocky).
asking?
- What are two distinct computations that can be done with the predicate
food/1
that
we saw on Monday?
- What does the built-in predicate
atom/1
do?
- Name a built-in predicate other than
atom/1
.
EC ½ pt: What language was Prolog first implemented in?