Question: Question 1- Given that Mark worked 42 hours ( NumHours = 42 ) last week and makes $10.00 an hour ( Rate = 10 ),

Question 1-

Given that Mark worked 42 hours (NumHours = 42) last week and makes $10.00 an hour (Rate = 10), how much did he earn last week, before taxes (WeeklyPay)?

If (Rate >=10) AND (NumHours <=40) Then WeeklyPay = NumHours * Rate Else WeeklyPay = (40 * Rate)+(NumHours40) * Rate * 1.5 End If

$ 650
$ 500
$ 420
$ 430

Question 2-

This particular type of error causes the program to stop functioning or provides an unexpected result depending upon user input.

syntax
modular
logical

run-time

Question 4-

Which type of error causes a program to run but provides incorrect or unexpected results?

a run time error
a logic error
a modular error

a syntax error

Question 5-

You work for a retail store that sells sporting goods. It has been a slow few months and management wants to offer some incentive to increase sales. The pseudocode listed below is being used for the program that will help determine the bonus. When the user enters 1100, what is the bonus?

if sales > 1000 then  bonus = 0.1 * sales end if if sales > 750 then  bonus = 0.075 * sales end if if sales > 500 then  bonus = 0.05 * sales end if if sales > 250 then  bonus = 0.025 * sales else  bonus = 0 end if 
82.50
55
110
27.50

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!