Quiz SCHEME Expressions
To Learn, Practice!!!

Type the corrections in the DEFINITION WINDOW
Execute each problem as it is finished.  Check the answer in the Interaction Window

;;First Quiz Arithmetic Expressions
;;P1   7 + 4 (9 + 2)    5 + 4 ( 3 + 2)
(+ 7 (* 4 (+ 9 2))) = 51
(+ 5 (* 4 (+ 3 2))) = 25

;;P2  (3 + 8 ) (2 + 4)   (7 + 8 ) (2 + 4)
(* (+ 3 8) (+ 2 4)) = 66
(* (+ 7 8) (+ 2 4)) = 90

;;P3  2/3 + 6/7    2/5 - 6/7
(- 2/3 6/7) = -4/21
(- 2/5 6/7) = -16/35

;;P4   3^2 + 7^2 - 36   4^2 + 5^2 - 26
(- ( + (expt 3 2) (expt 7 2)) 36) = 22
(- ( + (* 4 4) (* 5 5)) 26) = 15

;;P5   9 + 3 * 5 (2/9)   4 + 2 * 5 (3/5)
(+ 4 (* 2 5 3/5)) = 10
(+ 9 (* (* 3 5) 2/9)) = 111/9 = 37/3

;;P6   6 * 8(3 + 7)  4(8(5+7))
(* 6 (* 8 (+ 3 7))) = 480
(* 4 (* 8 (+ 5 7))) = 384

;;P7   5 + 7 (2 -5)  5 + 8(2 - 5)
(+ 5 (* 8 (- 2 5))) = -19
(+ 5 (* 7 (- 2 5))) = -16

;;P8   6^2 + 5^2 - 10 + 2   3*3 + 5*5 - 10 + 2
(+ (- (+ (* 6 6) (* 5 5)) 10)2) = 53
(+ (- (+ (* 3 3) (* 5 5)) 10)2) = 26

;;P9   3/4 + 5/3    3/4 + 5/7
(+ 3/4 5/7) = 41/28
(+ 3/4 5/3) = 29/12

;;P10  Expressions using 4 primitive operations
(+ 2 (- 2(/ 9(* 3 3)))) = 3
(/ (* (- (+ 1 1) 1) 1) 1) = 1
(+ (- (* (/ 4 5) 5) 10) 2) = -4