PLQ #1Done on:   Tuesday, September 29th

Question 1 @ 2020-09-29 20:03

Poll for using teams

  1. Strong preference for Teams
  2. Slight preference for Teams
  3. Don’t care
  4. Slight preference for Zoom
  5. Strong preference for Zoom
  6. Don’t bug me with silly questions

Question 2 @ 2020-09-29 20:05

How do we call these things that we bind?

  1. Variables
  2. Identifiers
  3. Binding occurrences
  4. Memory locations
  5. Symbols
  6. Strings

Question 3 @ 2020-09-29 20:07

What should this evaluate to?

{with {x 1}
  {with {y x}
    {with {x 2}
      {+ x y}}}}
  1. error
  2. 2
  3. 3
  4. 4
  5. nil
  6. ’null
  7. void

Question 4 @ 2020-09-29 20:07

What is the proper way to address the guy who is teaching this class?

  1. “Mr. Barzilay”
  2. “Doctor”
  3. “Professor”
  4. “Doctor Professor Barzilay”
  5. “Eli”
  6. “eli”

Question 5 @ 2020-09-29 21:12

We talked about the syntax world vs the semantics world. Where does type-checking belong?

  1. In the runtime world

  2. In the semantic world

  3. It’s a third world

  4. It’s unrelated to how code runs therefore the question doesn’t make any sense.