Cooperative Learning Question

On a piece of paper, write your NAME, SECTION and DATE.

On your paper, put the number of each question and your answer.

What are the values and types of these expressions? Please write out the Boolean constants, don't just write "T" or "F".

  1. b < 100 and b > 200 (assume b is a numeric type)
    ANSWER: False, bool
  2. x > 50 or x < 100 (assume x is a numeric type)
    ANSWER: True, bool
  3. 5 < y < 10 (assume y has value of 8)
    ANSWER: True, bool

Use your notes as desired.

Check with your neighbor to see that they all have the right answers.