程序代写代做代考 Ex3 PartB

Ex3 PartB
f.1
Grammatically Incorrect

f.2
(same! (unary? f.2) #true)

(same! (binary? f.2) #false)

f.3
Grammatically Incorrect

f.4
Grammatically Incorrect

f.5
Grammatically Incorrect

f.6
(same! (unary? f.6) #false)

(same! (binary? f.6) #true)
○ (f.6 10 15)
• (map circle 10 15)
map : expects only two arguments, but received three

f.7
(same! (unary? f.7) #false)

(same! (binary? f.7) #true)
↪ (step (f.7 10 15))
○ (f.7 10 15)
• (map circle (list 15 10))
• (list (circle 15) (circle 10))

f.8
(same! (unary? f.8) #true)

(same! (binary? f.8) #false)

f.9
(same! (unary? f.9) #true)

(same! (binary? f.9) #false)
↪ (step (f.9 10 20))
○ (f.9 10 20)
f.9 : expects only one argument, but received two

f.10
Grammatically Incorrect
f.11
(same! (unary? f.11) #true)

(same! (binary? f.11) #false)

↪ (step (f.11 “clara”))
○ (f.11 “clara”)
• (text-join “amy” “!”)
• “amy!”

f.12
(same! (unary? f.12) #true)

(same! (binary? f.12) #false)
↪ (step (f.12 “clara”))
○ (f.12 “clara”)
• (text-join “clara” “!”)
• “clara!”

f.13
Grammatically Incorrect

f.14
(same! (unary? f.14) #true)

(same! (binary? f.14) #false)
↪ (step (f.14 “clara”))
○ (f.14 “clara”)
• (text-join “clara” “amy”)
• “claraamy”
f.15
(same! (unary? f.15) #true)

(same! (binary? f.15) #false)
↪ (step (f.15 “clara”))
○ (f.15 “clara”)
• (list “clara” “amy”)