Question: Question 1 A program converts student marks that are input as marks out of 1 0 0 to letter grades following the rules below. A
Question
A program converts student marks that are input as marks out of to letter grades following the rules below.
A mark of at least earns A
A mark of at least earns A
A mark of at least earns B
A mark of at least earns C
A mark of at least earns D
A mark below means F Failure
If a student is excused from submitting or more of the gradable work for acceptable reasons such as protracted illness, a mark of I Incomplete is given. Then the student can make arrangements to submit missing work to complete the course after the end of term.
Note: Numeric marks are recorded accurate to one decimal point and should be rounded up to the nearest whole number by the grading program.
The objective of testing is to ensure that students are assigned the correct letter grade, given their numeric mark.
a Draw the diagram to show equivalence partitions and boundary values that ensure all input values are tested pts
Hint: ignore the incomplete situation
b pts How many test cases do you think are required for complete coverage? And why? How many tests do you think are needed for each partition
c pts Describe a test case where the expected result is a pass. Title: Student gets an A
Setup: preconditions
Action or input:
Expected result:
d pts Describe a test case where the expected result not a pass Hint: there are two possible nonpass situations. List them here to help form your title.
Title:
Setup:
Action or input:
Expected result:
Question
When asked for an insurance quotation, an auto insurance company looks up the base rate of insuring a specific make, model and year of car. It then multiplies the base rate by percentages according to the business rules below to calculate the quote for a customer:
Drivers over years of age with good driving records pay the of the base rate. Drivers who are male and under years of age pay of the base rate.
Anyone who uses the car for business pays a premium of of what they would pay for personal use only.
Example: the base rate for a Honda Civic might be $ A retired senior with a good driving record would pay $ for coverage for insurance to drive Honda Civic. However, if that senior has a business as a messenger for which he uses the car, his rate becomes $
a pts Draw a decision table to calculate the quotation for a client
Hint: start by deciding:
What are the conditions that determine outcomes?
What are the possible outcomes?
Draw your table here:
b Use the decision table above to help design test cases for the test objective:
Every driver who requests a quotation is told the correct rate.
Notes:
Criteria for success refers to deciding whether application passes the test, not whether the driver gets insurance.
Test Case pts
Test Case pts
Identifiertitle
Identifiertitle
Criteria for success:
Criteria for success:
Details:
Preconditions
OperationAction performed
Postconditions
Details:
Preconditions
OperationAction performed
Postconditions
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
