ࡱ> #%"a jbjb zzzz   *  ,F Rh      V T  @z.' 0 3 T Name: ___________________________ Scheme Quiz 6 12 Nov, 2008 Closed-book, closed-notes, twenty minutes. 1. Define a variable named family whose value is a list containing the first names of three members of your family. 2. Give examples (with correct answers, as usual) of using the built-in empty?, first, and rest functions on this variable. Also include an example that applies one of these functions to the result of another. 3. Write a Scheme function that takes in a list of names and returns the total number of letters in the names. (Hint: the string-length function tells you how many letters are in one string.) As usual, follow the design recipe, with contract, examples, skeleton, inventory, and function body. 1i}.38Eqthbh}#< h}#6 hbh}#hbh}#OJQJ h}#5h}# h}#CJ"#1>i$a$gd}#$a$/ =!"#$%D@D NormalCJOJPJQJmH sH tH DA@D Default Paragraph FontZiZ  Table Normal :V 4 l4a _H(k(No List 0>@0 Title$a$CJ$6J@6 Subtitle$a$CJ2B@2 Body TextCJ z"#1>i00p0p0p0p0p0p0p0p0p0p0pƀ0pƀ0pƀ0pƀ0pƀ0pƀ0p0pƀ0pƀ0p"#1>i0 0 0 0 0 0 B1>I.0:: &% 7Kxڝhh^h`o()^`o()^`.pLp^p`L.@ @ ^@ `.^`.L^`L.^`.^`.PLP^P`L.^`o() ^`hH. pLp^p`LhH. @ @ ^@ `hH. ^`hH. L^`LhH. ^`hH. ^`hH. PLP^P`LhH.&%7Kx                  @p:#0 @UnknownGTimes New Roman5Symbol3 Arial? Courier New3Times"h,cf.cf.cf)$>4dI@D Syntax QuizAdelphi Stephen Bloch    Oh+'0t  $ 0 < HT\dl' Syntax QuizAdelphiNormalStephen Bloch4Microsoft Word 11.3@F#@D@