Consider a program which is designed to accept a non-empty list of integers as input. The
input list may contain duplicated integers. This program is intended to output the
elements of the input list in ascending order without duplication.
For example, if the input list is [3, 9, -20, 16, 9, 7, -5, 28, 20, 5, -20], then the output will
be [-20, -5, 3, 5, 7, 9, 16, 20, 28].
In this assignment, you are required to do the following:
1. Describe seven metamorphic relations for this problem. Provide an example to
each of your metamorphic relations. Your defined metamorphic relations shall
not contain redundant metamorphic relations. (70%)
2. Which is the most effective metamorphic relation amongst your defined
metamorphic relations? Provide justifications for your answer. (30%)
3. Submit a self-contained, complete, comprehensive and typed report. Your
report must use single column, 12 point font size on A4 papers. Your report
must contain no more than three pages. Coverage page is not required, but
your submission must contain your full name and your student number on
the first line of page 1.
#Sales Offer!| Get upto 25% Off: