Question: A program determines the placement of a student based on the marks in three subjects. Its input is a triple of positive integers, e.g.,

 A program determines the placement of a student based on the marks 

A program determines the placement of a student based on the marks in three subjects. Its input is a triple of positive integers, e.g., mark 1, mark 2 and mark 3, and values are from 0 to 100. Placement is determined according to the following rules: Average of Marks Placement First Division with Distinction First Division Second division 75-100 60-74 50-59 40-49 Third Division 0-39 Fail Average is calculated as the sum of the 3 marks divided by 3. The program output is one of the following words: First Division with Distinction, First Division, Second Division, Third Division, Fail Identify the equivalence classes and boundary values for the equivalence classes, then create test cases for the combinations of input, calculated number and output. (Hint: there are over 30 test cases for this scenario.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Equivalence Classes and Boundary Values 1 Average of Marks Equivalence Classes EC1 Average 0 EC2 0 A... View full answer

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 Programming Questions!