sheet testing: 1. Use “Equivalence Partitioning” and “Boundary Value Analysis” techniques to test the system below Consider a component, generate_grading, with the following specification: The component is passed an exam mark (out of 75) and a coursework (c/w) mark (out of 25), from which it generates a grade for the course in the range 'A' to 'D'. The grade is calculated from the overall mark which is calculated as the sum of the exam and c/w marks, as follows: Greater than or equal to 70 - 'A' Greater than or equal to 50, but less than 70 - 'B' Greater than or equal to 30, but less than 50 - 'C' Less than 30 - 'D' Where a mark is outside its expected range then a fault message ('FM')is generated. All inputs are passed as integers.
sheet testing:
1. Use “Equivalence Partitioning” and “Boundary Value Analysis”
techniques to test the system below
Consider a component, generate_grading, with the following specification: The component
is passed an exam mark (out of 75) and a coursework (c/w) mark (out of 25), from which it
generates a grade for the course in the range 'A' to 'D'. The grade is calculated from the
overall mark which is calculated as the sum of the exam and c/w marks, as follows:
Greater than or equal to 70 - 'A'
Greater than or equal to 50, but less than 70 - 'B'
Greater than or equal to 30, but less than 50 - 'C'
Less than 30 - 'D'
Where a mark is outside its expected range then a fault message ('FM')is generated.
All inputs are passed as integers.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps