Question: Question : Suppose a mathematician s calculator has a function that computes the slope and intercept of a line. The requirement in the definition document

Question :
Suppose a mathematicians calculator has a function that computes the slope and intercept of a line. The requirement in the definition document reads: The calculator shall accept as input an equation of the form and print out the slopeand intercept. The system implementation of this requirement is the function LINEwhose syntax is LINE (A, B, C), where Aand Bare the coefficient of xand y, and Cis the constant in the equation. The result is a printout Dand E, where Dis the slope and Eis intercept.
a. Write this requirement as a set of causesand effects, draw the corresponding cause-and-effect graph, and table. (50 points)
b. Develop a set of minimal test casesbased on your answer to Question 2.a. Use a black-box technique, providing justification for why you deem it adequate to test this program effectively. (30 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!