Exercise:   Converting Circles of Evaluation with Booleans to Code

Exercise: Converting Circles of Evaluation with Booleans to Code

Directions: For each Circle of Evaluation in the left column, write the code that corresponds to the Circle in the right column:
  • (and (string=? place "safe") (or (>= x 50) (<= y 2)))
  • (and (or (= 6 7) (> 7 5)) (< 8 10))
  • (string=? "6" "7")
  • (> (+ 6 7) 15)
  • (or (= (* 6 5) 30) (< 8 9))