|bigpo.ru|| 1 ... 4 5 6 7 8 9
Appendix D: Sample Assignments
Assignment 1: Create a first test case chart
In lecture, we brainstormed answers to the following:
The program reads three integer values from a card. The three values are interpreted as representing the lengths of the sides of a triangle. The program prints a message that states whether the triangle is scalene, isosceles, or equilateral.
Let’s take one more crack at Myers’ exercise. I’d like a table like this from you that lists 5 good test cases:
Where the columns are defined as:
Grading Rubric for the Triangle problem
This rubric is given to the students. For each test, the first column indicates the points to be awarded if you give an answer that has the characteristics listed in the second column. Each test can be awarded up to 10 points.