Evaluating a Racket expression

(* (- 6 4) (+ 3 2)) ⇒

(* 2 (+ 3 2)) ⇒

(* 2 5) ⇒

10

(note: use these expressions during a test/exam!)

Function in Racket

Screen Shot 2022-09-15 at 4.29.30 PM.png

The keyword “define” binds an identifier (name) to an expression (which uses the parameters to a statement)

Constants in Racket

The key word “define” can also bind an identifier (name) to a value (constants!)