This website is preserved for historical and scholarly reference and is no longer actively maintained.

QUIZ 14

September 22, 1997

#1. What is printed by the following program? Show the results exactly as they will appear. ( 5 pts.)

#2. In problem #1, should the function have printed the value of y before returning the value? Justify your answer. (2 pts.)

#3. The text refers to a parameter value and a parameter variable. In problem #1, identify the parameter variable. (1 pt.)

#4. Use De Morgan's laws to simplify the following Boolean expression. (2 pts.)


Return to Eleanor Hare's home page.

Return to Department of Computer Science Home page.