## Aug 15, 2017

### SICP# E1.1: Evaluate scheme expression

SICP# E1.1: Evalute scheme expression

Below is a sequence of expressions. What is the result printed by the interpretter in response to each expression ? Assume that sequence is to be evaluated in the order in which it is presented.

10
;Value: 10

(+ 5 3 4)
;Value: 12

(- 9 1)
;Value: 8

(/ 6 2)
;Value: 3

(+ (* 2 4) (- 4 6))
;Value: 6

(define a 3)
;Value: a

(define b (+ a 1))
;Value: b

(+ a b (* a b))
;Value: 19

(= a b)
;Value: #f

(if (and (> b a) (< b (* a b)))
b
a)
;Value: 4

(* (cond ((> a b) a)
((< a b) b)
(else -1))
(+ a 1))
;Value: 4


1. 2. This comment has been removed by the author.

3. The main focus will be on learning different techniques in solving word problems.Once the techniques are in place, solving word problems would be a breeze.
PSLE tuition
PSLE math tuition online
PSLE english tuition online
PSLE science tuition online
English tuition singapore
Science tuition singapore
Maths tuition singapore
Primary PSLE Tuition Singapore

4. 