
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

The homework requires you to solve the following problems via scheme programming. You need to develop your scheme programs using the DrScheme environment and submit your solution file electronically online at
www.cs.utsa.edu/~cs3723.
(count-symbols 7) 0 (count-symbols โy) 1 (count-symbols โ(x 3 y)) 2 (count-symbols โ((x 3) (y 2) (3 z))) 3
(count2symbols 7) 0 (count2symbols โy) 0 (count2symbols โ(x 3 y)) 0 (count2symbols โ(3 x y)) 1 (count2symbols โ((x y z) (3 z 4))) 2
(collect-symbols 7) empty (collect-symbols โy) โy (collect-symbols โ(x 3 y)) (list โx โy) (collect-symbols โ((x 3) (y 2) (3 z))) (list (list โx) (list โy) (list โz))