Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intermediate Accounting

Authors: Donald E. Kieso, Jerry J. Weygandt, And Terry D. Warfield

13th Edition

9780470374948, 470423684, 470374942, 978-0470423684

Students also viewed these Databases questions