6.001, Spring Semester, 2005--Quiz I- Sample Solutions Question 7: Complete the entry abstraction by providing selectors for per son, for salary and for position. For example (person test) henry) solution (define per son car (define salary cadr) (define posit Question 8: Complete the per son abstraction by providing selectors for family-name and given-name s, Value: ("anne""marie""heather") (family-name (make-person "jones""anne ""marie""heather")) Value: Jones Thus the family name is always the first name in the entry, the given names are any names after solution: define family-name car) (define given-names cdr✁✂✂✄☎ ✆✝✞✟✠✡ ✆☛☞☛ ✌✍☛✞ ☎ ✎ ✂✂✏✑✒✓✟✔ ✕ ✖ ✆✗☞✝✘☛ ✆✙✘✓✍✟✙✠✌ ✭ ✮✯✹✽✻✰✺✼ ☛✢ ☎✘✖✒✚✑✕✑ ✕❄✑ ✳✸✱✮ ✓❋✪✕✔✓✛✕✜✘✗ ❋❉ ✒✔✘❈✜✣✜✗✢ ✪✑✚✑✛✕✘✔✪ ✙✘✔ ✭✳✮✂✴✸✫ ✙✘✔ ✂✁✂✁✮ ✓✗✣ ✙✘✔ ✭✴✂✯✱✯✴✸✦ ☞✘✔ ✑✧✓✖✒✚✑❍ ❁☛❃✄✁✟❆ ☎❃✁☎❉ ✄☎▲❑✆❃ ✝ ❁✄✁▼ ❅☎☎ ✄ ✄✆✟☎❆ ✄ ✄☎❃❆✄✁✄❉ ✽✺✸✯✻✰✺✼✢ ❁❂❃❄❅❆❃ ☛❃✄✁✟❆ ✠▲✄❉ ❁❂❃❄❅❆❃ ✁▲❑▲✄✁ ✠▲❂✄❉ ❁❂❃❄❅❆❃ ☛✟✁❅☎❅✟❆ ✠▲❂❂✄❉ ✮✯✹✽✻✰✺✼ ✞✢ ☎✘✖✒✚✑✕✑ ✕❄✑ ✭✳✮✂✴✸ ✓❋✪✕✔✓✛✕✜✘✗ ❋❉ ✒✔✘❈✜✣✜✗✢ ✪✑✚✑✛✕✘✔✪ ✙✘✔ ✟✁✰✯✂✠✸✁✰✳ ✓✗✣ ✡✯✲✳✸✠✸✁✰✳✂✫ ✑✦✢✦ ❁✞❅✡❃❆❋❆▲▼❃✁ ❁▼▲❃❋☛❃✄✁✟❆ ✄✆✟❆❃✁✄ ✄▲❆❆❃✄ ✄▼▲✄❅❃✄ ✄☎❃▲☎☎❃✄✄❉❉ ✄☎▲❑✆❃ ✝ ❁✄▲❆❆❃✄ ✄▼▲✄❅❃✄ ✄☎❃▲☎☎❃✄✄❉ ❁❄▲▼ ❅❑✁❋❆▲▼❃ ❁▼▲❃❋☛❃✄✁✟❆ ✄✆✟❆❃✁✄ ✄▲❆❆❃✄ ✄▼▲✄❅❃✄ ✄☎❃▲☎☎❃✄✄❉❉ ✄☎▲❑✆❃ ✝ ✄✆✟❆❃✁✄ ✟❄✤✪ ✕❄✑ ✙✓✖✜✚❉ ✗✓✖✑ ✜✪ ✓✚❇✓❉✪ ✕❄✑ ★✔✪✕ ✗✓✖✑ ✜✗ ✕❄✑ ✑✗✕✔❉✫ ✕❄✑ ✢✜❈✑✗ ✗✓✖✑✪ ✓✔✑ ✓✗❉ ✗✓✖✑✪ ✓✙✕✑✔ ✕❄✜✪✦ ✽✺✸✯✻✰✺✼✢ ❁❂❃❄❅❆❃ ❄▲▼ ❅❑✁❋❆▲▼❃ ✠▲✄❉ ❁❂❃❄❅❆❃ ✞❅✡❃❆❋❆▲▼❃✁ ✠❂✄❉