Recent Question/Assignment
Swinburne University of Technology
Department of Computer Science and Software Engineering
Software Testing and Reliability
SWE30009/40004/80003
Semester 2, 2015
Assignment 1
Due date: 8:30am Friday, 4th September, 2015
NOTE
1. This is an individual assignment worth 10% of the total subject score.
2. You are required to electronically submit your report as a pdf file with filename format as StudentID-Surname-Assignment1.pdf
3. Your report should not exceed 2,000 words.
DESCRIPTION
You are required to provide at least 5 metamorphic relations for each of the following programs:
1. A sorting program that reads in a series of integers which may be duplicated, and outputs the input integers in ascending order but without duplication.
2. A searching program that reads in two strings of alphabets (referred to as S1 and S2), and that displays the locations of S1 where S2 starts to appear. For example, S1 is abcabcabcacab and S2 is abca. The output will be locations 1 and 7.
Marks are given according to the clarity and correctness of the defined metamorphic relations, as well as how innovative your defined metamorphic relations are.
1