1. 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 = 200?
j. numberBig >= numberMedium + numberSmall?
k. numberBig > numberMedium AND numberBig numberSmall?
m. numberBig 10?
n. numberBig = 30 AND numberMedium = 100 OR numberSmall = 100?
2. Mark Daniels is a carpenter who creates personalized house signs. He wants an
application to compute the price of any sign a customer orders, based on the
following factors:
l The minimum charge for all signs is $30.
l If the sign is made of oak, add $15. No charge is added for pine.
l The first six letters or numbers are included in the minimum charge; there is a
$3 charge for each additional character.
l Black or white characters are included in the minimum charge; there is an
additional $12 charge for gold-leaf lettering.
***Design a flowchart or pseudocode for the following:
a. A program that accepts data for an order number, customer name, wood type,
number of characters, and color of characters. Display all the entered data and
the final price for the sign.
b. A program that continuously accepts sign order data and displays all the
relevant information for oak signs with five white letters.
c. A program that continuously accepts sign order data and displays all the
relevant information for pine signs with gold-leaf lettering and more than
10 characters.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more