CMSC 131A Study Guide - Midterm Guide: Ion, Dont, Whta

56 views6 pages

Document Summary

Do not turn this page until you have received the signal to start. (in the meantime, please ll out the identication section above, and read the instructions below. ) This test consists of 5 questions on 6 pages (including this one). When you receive the signal to start, please make sure that your copy of the test is complete. You will earn 20% for any question you leave blank or write \i cannot answer this question," on. Consider the following predicate: (define (p a b c) (not (and (or a b) c))) For each of the following expressions, show the intermediate steps and final result value: (p true false true) (p true true true) (p false false true) (p false false true) Assume the expressions below have been typed into the denitions pane of drracket. Below each one [except (require picturing-programs)], show the intermediate steps and re- Sult value that the expression produces when the \run" button is clicked.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents

Related Questions