Question: please help me solve those exercises! I will thumb you up and thanks a lot! ; Part B. For each of the following function definitions,
please help me solve those exercises! I will thumb you up and thanks a lot!


; Part B. For each of the following function definitions, EITHER: ; .CIRCLE "Grammatically Incorrect" if it is not a properly formed definition (i.e. causes an error on its own), OR : FILL IN the two assertions and show the steps for the given function call, including any error message that occurs during those steps. (define (f.1 10) (define (f.2 x) (define (f.3 "text") (oval 20 10)) (oval 2010)) Grammatically Incorrect OR Grammatically incorrect OR Grammatically incorrect OR (same! (unary? f.2) (same! (unary? f.3) (same! (binary? f.1) (same! (binary? f.2) (same! (binary? f.3) (step (f.1 20)) (step (f.2 "1000")) (step (f.3 "text")) (define (f.4 (list a b)) (turn (triangle a) b)) (define (f.5 (list a b)) (map circle (list a b))) (define (f.6 a b) (map circle a b)) ;Grammatically Incorrect OR Grammatically Incorrect OR Grammatically incorrect OR (same! (unary? f.4) (same! (unary? f.5) (same! (binary? f.4) (same! (binary? f.5) (same! (binary? f.6) (step (f.4 (list 10 15))) (step (f.5 10 15)) (step (f.6 10 15)) ; Part B. For each of the following function definitions, EITHER: ; .CIRCLE "Grammatically Incorrect" if it is not a properly formed definition (i.e. causes an error on its own), OR : FILL IN the two assertions and show the steps for the given function call, including any error message that occurs during those steps. (define (f.1 10) (define (f.2 x) (define (f.3 "text") (oval 20 10)) (oval 2010)) Grammatically Incorrect OR Grammatically incorrect OR Grammatically incorrect OR (same! (unary? f.2) (same! (unary? f.3) (same! (binary? f.1) (same! (binary? f.2) (same! (binary? f.3) (step (f.1 20)) (step (f.2 "1000")) (step (f.3 "text")) (define (f.4 (list a b)) (turn (triangle a) b)) (define (f.5 (list a b)) (map circle (list a b))) (define (f.6 a b) (map circle a b)) ;Grammatically Incorrect OR Grammatically Incorrect OR Grammatically incorrect OR (same! (unary? f.4) (same! (unary? f.5) (same! (binary? f.4) (same! (binary? f.5) (same! (binary? f.6) (step (f.4 (list 10 15))) (step (f.5 10 15)) (step (f.6 10 15))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
