PLQ #2Done on:   Tuesday, February 1st

Question 1 @ 2022-02-01 19:04

Which topic is going to be the most important for in this class?

Question 2 @ 2022-02-01 19:07

What makes the below code “bad style”?

(define (how-many a b c)
  (cond [(> (* b b) (* 4 a c)) 2]
        [(= (* b b) (* 4 a c)) 1]
        [(< (* b b) (* 4 a c)) 0]))

Question 3 @ 2022-02-01 19:11

Tail-call elimination optimizes code in which of the following ways?

Question 4 @ 2022-02-01 19:13

What is the purpose of the Backus-Naur Form (BNF)?

Question 5 @ 2022-02-01 19:14

What is the difference between the match form and the cases form?