CS 3304 Spring 2000 Homework Assignment 3

30 Points
Due: 2/10/00 at the start of class

Complete each of the following problems in the Chapter 14 Problem Set (pp. 602-603 of the text):

  • Problem 11
  • Problem 12
  • Repeat the "intersection" problem from Homework 2 in Prolog (Ch. 15). Write a Prolog predicate called "intersection" that takes three parameters that are lists (to be interpreted as sets). The predicate should succeed if its third parameter is the intersection of the first two.

copyright © 2000 Virginia Tech, ALL RIGHTS RESERVED
Last modified: August 11, 2000, 15:51:21 EDT, by Stephen Edwards <edwards@cs.vt.edu>