






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







b. What pattern is last-differnece? (Circle one- 1 point.) MAPPING FINDING COUNTIN FILTERING TESTING COMBINING c. Your partner then disappears to Hawaii and takes abs-differences with her. Fill in the blanks to complete abs-differences that takes a sentence of numbers and returns the absolute value of the differences of successive elements.
;;INPUTS: A sentence of numbers. ;;REQUIRES: The sentence has at least 2 elements. ;;SIDE-EFFECTS: None ;;RETURNS: A sentence containing the abs. value of the differences of successive elements. ;;EXAMPLE: (last-difference ‘(3 5 0 –3 10))