Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

boundary value testing Consider a function called grading, with the following requirement specification: The function is passed an exam mark (out of 80) and a

boundary value testing image text in transcribed
image text in transcribed
Consider a function called grading, with the following requirement specification: The function is passed an exam mark (out of 80) and a coursework mark (out of 20), 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 coursework marks, as follows: greater than or equal to 90 greater than or equal to 70, but less than 90- 'B' greater than or equal to 50, but less than 70- 'C' less than 50 Where a mark is outside its expected range then a proper fault message is generated. All inputs are passed as integers. The code of this method is: Deskase exas; public class First rublas stcios ecodingint marke, int mark20) int total mark20 + markio; Strins output if (total 390) output "A" else if ((total 70) 88 (total 9)) outout. ""; else (total) 50) 86 (total 20% output="0" alss outout" 3.a-) Write the test cases based on Normal Boundary Value Testing technique. 3.6-) Write the additional test cases when Robust Boundary Value Testing is applied

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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_2

Step: 3

blur-text-image_3

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

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions

Question

LO1 Discuss four different views of motivation at work.

Answered: 1 week ago

Question

LO6 Summarize various ways to manage retention.

Answered: 1 week ago

Question

LO3 Define the difference between job satisfaction and engagement.

Answered: 1 week ago