Quiz 4

Name:_______________________________
CIRT user-id:________________@unm.edu
Some have said that I can't sing. But no one will say that I didn't sing.
-- Florence Foster Jenkins
Experience helps you recognize a mistake when you make it again.
--Dorothy Parker
In the following definitions, some of the open parentheses are followed by a subscript. For each such open parenthesis character, check one box in the corresponding row of the table to indicate whether that open paren begins

Some of the rows have already been marked for you. (1 points/row = 10 points)

(aDEFINE FOO
  (bLAMBDA (cX Z)
    (dCOND (e(fNULL? X) Z)
	  ((gPAIR? X)
	   (hFOO (iCDR X)
		(jCONS (kFOO (lCAR X) '())
		      Z)))
	  (mELSE X))))
paren tail-recursive function call non- tail-recursive function call not a function call
a  X
b   
c  X
d   
e   
f   
g X  
h   
i   
j   
k   
l   
m