| ITAP2008 Software Testing Assignment |
| March 2020 |
ITAP2008 Software Testing
Copyright © 2015-2018 VIT, All Rights Reserved. 2
Deadline: Session 12
Weightage: 25%
The purpose of the assignment is to assess students on the following Learning
Outcomes:
LO1: Explain key principles and terminology relevant to software testing.
LO2: Analyse and review the goals, process and techniques used to test software.
LO3: Apply different testing techniques and methods.
Task 1– Boundary Value Test Cases
Consider a program for the determination of the nature of roots of quadratic equation. Its input
is a triple of positive integers (x, y, z) and values may be from interval [0,100]. The program output
may have one of the following words:
• Not a quadratic equation
• Real roots
• Imaginary roots
• Equal roots
Design the boundary value test cases.
Task 2- Case Study
MCTST is a program that grades multiple-choice examinations. The input is a data file named
OCR, with multiple records that are 80 characters long. Per the file specification, the first record
is a title used as a title on each output report. The next set of records describes the correct
answers on the exam. These records contain a “2” as the last character. In the first record of this
set, the number of questions is listed in columns 1-3 (a value of 1-999). Columns 10-59 contain
the correct answers for questions 1-50 (any character is valid as an answer). Subsequent records
contain, in columns 10-59, the correct answers for questions 51-100, 100-150, and so on.
The third set of records describes the answers of each student; each of these records contains
a “3” in column 80. For each student, the first record contains the student’s name or number in
columns 1-9 (any characters); columns 10-59 contain the student’s answers for questions 1-50.
If the test has more than 50 questions, subsequent records for the student contain answers 51-
100, 101-150, and so on, in columns 10-59. The maximum number of students is 200. The input
data are illustrated in Figure 1. The four output records are as follows:
ITAP2008 Software Testing
Copyright © 2015-2018 VIT, All Rights Reserved. 3
1. A report, sorted by student identifier, showing each student’s grade (percentage of
answers correct) and rank
2. A similar report but sorted by grade.
3. A report indicating the mean, median, and standard deviation of the grades.
4. A report, ordered by question number, showing the percentage of students answering
each question correctly.
Figure1: Input to the MCTST Program
ITAP2008 Software Testing
Copyright © 2015-2018 VIT, All Rights Reserved. 4
Things to do:
1. Identify and list test cases.
2. Identify boundary value cases related to the student’s answer.
3. Identify five error guessing test cases for the program.
Marking Guidelines:25
| Task | Description | Marks |
| Boundary Value Test Case |
i. Test cases | 10 |
| Case Study | i. Identify and list test ii. Boundary value cases for student’s answer iii. Error guessing |
5+5+5= 15 |
The post ITAP2008 Software Testing Assignment appeared first on My Assignment Online.