Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 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

Step: 1

Equivalence Classes and Boundary Values 1 Average of Marks Equivalence Classes EC1 Average 0 EC2 0 A... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spreadsheet Modeling And Decision Analysis A Practical Introduction To Business Analytics

Authors: Cliff T. Ragsdale

8th Edition

130594741X, 978-1337517317, 1337517313, 978-1305947412

More Books

Students also viewed these Programming questions