Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 2: You are coordinating a paper drive and want to offer the participant

ID: 3846002 • Letter: Q

Question

Question 2: You are coordinating a paper drive and want to offer the participants an incentive. If the participant brings in between 75 and 100 pounds inclusively they will get a $25 iTunes gift card. You have developed a software application to help. If a participant brings in 85 pounds of paper, which statement listed below will print out "Congratulations you get a gift card!"?


A. If TotalPounds > 75 Or < 100 Then

print("Congratulations you get a gift card!")

End If

B. If TotalPounds <= 75 Or TotalPounds >=100 Then

print("Congratulations you get a gift card!")

End If


C. If TotalPounds >= 75 And <= 100 Then

print("Congratulations you get a gift card!")

End If


D. If TotalPounds >= 75 And TotalPounds <= 100 then

print("Congratulations you get a gift card!")

End If

Question 6: You have been asked to develop a small software application that calculates the amount of carpet needed to carpet a room. When installing carpet, due to corners and odd spaces the installers often include a certain percentage of the room's area as waste. They then add this to the total amount of carpet to be purchased. Put the following lines of pseudocode in order [1,2,3...]

3. Ask the user for the width and length

1. Set roomarea to length * width

5. Display totalarea

2. Set waste to roomarea * waste

4.Set totalarea to roomarea + wast

Explanation / Answer

2. The two conditions on both sides of AND must be true. Therefore D is correct.

Answer: D

----------

6. The following is the order in which this must be done:

The order that I've given above is the correct order.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote