Reference no: EM131584926
Making Decisions
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
[Insert the answer here]
b. numberBig > numberSmall
[Insert the answer here]
c. numberMedium < numberSmall
[Insert the answer here]
d. numberBig = wordBig
[Insert the answer here]
e. numberBig = "Big"
[Insert the answer here]
f. wordMedium = "Medium"
[Insert the answer here]
g. wordBig = "Elephant"
[Insert the answer here]
h. numberMedium <= numberBig / 3
[Insert the answer here]
i. numberBig >= 200
[Insert the answer here]
j. numberBig >= numberMedium + numberSmall
[Insert the answer here]
k. numberBig > numberMedium AND numberBig < numberSmall
[Insert the answer here]
l. numberBig = 100 OR numberBig > numberSmall
[Insert the answer here]
m. numberBig < 10 OR numberSmall > 10
[Insert the answer here]
n. numberBig = 30 AND numberMedium = 100 OR numberSmall = 100
[Insert the answer here]
What is the basis for the recommendation
: Which option would you recommend and what is the basis for the recommendation?
|
Is the license plate scheme described in the given problem
: A common scheme for motor vehicle license plates is to require that the first three characters be letters and the last three characters be numbers.
|
How does apple market and distribute its products
: How does Apple market and distribute its products? What is Apple's basic business strategy (cost leadership or differentiation)?
|
How many ways are there to fill the box
: At the chocolate store, you decide to get a 20-chocolate box for your beloved. There are creams (maple, vanilla, orange, lemon, chocolate) and caramels.
|
Determining the making decisions
: Making Decisions-Assume that the following variables contain the values shown:
|
How many six-letter words are there
: Consider the alphabet A, B, C, D, E, F and make words without repetition of letters allowed.
|
How many four-letter words contain the sub word ace
: Consider the alphabet A, B, C, D, E, F. How many four-letter words don't begin with F or don't end in E?
|
Considerations to make while designing a lan
: What are some considerations to make while designing a LAN? Support your position.
|
How many seven-digit telephone numbers have an odd number
: You bring a bag of 12 snacks to an animal shelter and discover that there are 18 animals there. To be fair, you don't want to give more than one snack.
|