Assume that the following variables contain the values shown: NumberBig = 300 NumberMedium = 100 NumberSmall =

Question:

Assume that the following variables contain the values shown:

NumberBig = 300 

NumberMedium = 100 

NumberSmall = 5

WordBig = "Elephant" 

WordMedium = "Horse" 

wordSmall = "bug”

For each of the following Boolean expressions, decide whether the statement is true, false, or illegal.


a. NumberBig = numberSmall
b. NumberBig > numberSmall
c. NumberMedium < numberSmall
d. NumberBig = wordBig
e. NumberBig = "Big"
f. WordMedium = "Medium"
g. WordBig = "Elephant"
h. NumberMedium <= numberBig / 3
i. NumberBig >= 200
j. NumberBig >= numberMedium + numberSmall
k. NumberBig > numberMedium AND numberBig < numberSmall
l. NumberBig = 100 OR numberBig > numberSmall
m. NumberBig < 10 OR numberSmall > 10
n. NumberBig = 30 AND numberMedium = 100 OR numberSmall = 100

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: