UNB/ CS/ David Bremner/ teaching/ cs4613/ tutorials/ Lab Tutorial 1

Based on Exercise 3 from FICS

Write plait functions And, Or and Not using only cond in the function body. Your functions should pass the following tests

(test (And #f #t) #f)
(test (And #t #f) #f)
(test (And #t #t) #t)
(test (Or #f #f #f) #f)
(test (Or #t #f #f) #t)
(test (Or #f #t #f) #t)
(test (Or #f #f #t) #t)
(test (Not #t) #f)
(test (Not #f) #t)

Submit your code using the handin-server by the end of the lab.