Question
Assume that the following variables contain the values shown: numberBig = 100 wordBig = Constitution numberMedium = 10
Assume that the following variables contain the values shown:
numberBig = 100 wordBig = "Constitution"
numberMedium = 10 wordMedium = "Dance"
numberSmall = 1 wordSmall = "Toy"
For each of the following Boolean expressions, decide whether the statement is true, false, or illegal. Please be sure to explain why the answer is false or illegal.
Example: a. numberBig > numberSmall = True
Boolean Expression Your answer
a. numberBig > numberSmall
b. numberBig < numberMedium
c. numberMedium = numberSmall
d. numberBig = wordBig
e. numberBig = "Big"
f. wordMedium > wordSmall
g. wordSmall = "TOY"
h. numberBig <= 5 * numberMedium + 50
i. numberBig >= 2000
j. numberBig > numberMedium + numberSmall
k. numberBig > numberMedium AND numberBig < numberSmall
l. numberBig = 100 OR numberBig > numberSmall
m. numberBig < 10 OR numberSmall > 10
n. numberBig = 300 AND numberMedium = 10 OR numberSmall = 1
o. wordSmall > wordBig
p. wordSmall > wordMedium
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started