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?
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started