PLQ #10Done on:   Tuesday, April 5th

Question 1 @ 2022-04-05 18:37

Which of the following tools did we use to implement our lazy language?


Question 2 @ 2022-04-05 18:39

If the following code is executed in our Lazy Racket language, what is the result? (In this example «E₁» and «E₂» are placeholders for some expression.)

(if (list «E₁» (* 3 (/ 4 0)) «E₂»)
    11
    12)

Question 3 @ 2022-04-05 18:42

What problem in our Sloth implementation does the strict function solve?


Question 4 @ 2022-04-05 18:45

As we’ve seen last week, generators and channels give programmers a more expressive control flow constructs. Which of the following statements explains why this works?


Question 5 @ 2022-04-05 18:48

Last week we went over our new Sloth language and its implementation of laziness, which of the following statements are true?

[Select TWO]


Question 6 @ 2022-04-05 18:51

Which one?