Assignment ITAP2008 Software Testing February 2021 ITAP2008 Software Testing Copyright © 2021 VIT, All Rights Reserved. Deadline: Session 12 Weightage: 25% The purpose of the assignment is to assess students on the following Learning Outcomes: LO2: Analyse and review the goals, process and techniques used to test software. LO3: Apply different testing techniques and methods. LO4: Perform quality assurance and software testing in different environments. LO5: Apply test case methodologies for evaluating various software products. LO6: Use tools and techniques to prepare procedures and documentation for testing and debugging programs. 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 ITAP2008 Software Testing Copyright © 2021 VIT, All Rights Reserved. 200. The input data are illustrated in Figure (mentioned below). The four output records are as follows: 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 percent- age of students answering each question correctly. Things to do: 1. Identify and list test cases. ITAP2008 Software Testing Copyright © 2021 VIT, All Rights Reserved. 2. Identify boundary value cases related to the student’s answers. 3. Identify some error guessing test cases for the program. Task 3– Short Report Research into a topic from the list below and write a short report using current literatures. Use at least 2 journal or conference papers to write your report and with 600–800-word limit. - Test plans - Test Automation - Code inspection Use appropriate structure, referencing and citation style recommended APA. ITAP2008 Software Testing Copyright © 2021 VIT, All Rights Reserved. Marking Guideline (25 Marks) Task Description Marks Boundary Value Test Case i. Test cases 4 Case Study i. Identify and list test 5 ii. Boundary value cases for student’s answer 5 iii. Error guessing 3 Research Report i. Knowledge & Critical thinking 2 ii. Literature Review 1 iii. Methodology 2 iv. Result & Discussion 2 v. Structure and referencing 1 Assignment ITAP2008 Software Testing February 2021 ITAP2008 Software Testing Copyright © 2021 VIT, All Rights Reserved. Deadline: Session 12 Weightage: 25% The purpose of the assignment is to assess students on the following Learning Outcomes: LO2: Analyse and review the goals, process and techniques used to test software. LO3: Apply different testing techniques and methods. LO4: Perform quality assurance and software testing in different environments. LO5: Apply test case methodologies for evaluating various software products. LO6: Use tools and techniques to prepare procedures and documentation for testing and debugging programs. 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 ITAP2008 Software Testing Copyright © 2021 VIT, All Rights Reserved. 200. The input data are illustrated in Figure (mentioned below). The four output records are as follows: 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 percent- age of students answering each question correctly. Things to do: 1. Identify and list test cases. ITAP2008 Software Testing Copyright © 2021 VIT, All Rights Reserved. 2. Identify boundary value cases related to the student’s answers. 3. Identify some error guessing test cases for the program. Task 3– Short Report Research into a topic from the list below and write a short report using current literatures. Use at least 2 journal or conference papers to write your report and with 600–800-word limit. - Test plans - Test Automation - Code inspection Use appropriate structure, referencing and citation style recommended APA. ITAP2008 Software Testing Copyright © 2021 VIT, All Rights Reserved. Marking Guideline (25 Marks) Task Description Marks Boundary Value Test Case i. Test cases 4 Case Study i. Identify and list test 5 ii. Boundary value cases for student’s answer 5 iii. Error guessing 3 Research Report i. Knowledge & Critical thinking 2 ii. Literature Review 1 iii. Methodology 2 iv. Result & Discussion 2 v. Structure and referencing 1