Lecture 11 Objectives


At the end of today's class you should

KNOW:

BE ABLE TO:

Sample Exam Question:

Write test cases and a function definition to satisfy the following contract and purpose:

;; replace-negatives:  list-of-number number -> list-of-number
;; consumes a list of numbers and a positive number and produces a
;; list identical to the given list except that all negative numbers in
;; the list have been replaced by the positive number.