Write a program which accepts a list of integers which may contain duplicated integers, and which outputs the input list as a sorted list in ascending order without duplication (the same program as specified in Assignment 1).


Write a program which accepts a list of integers which may contain duplicated integers, and which outputs the input list as a sorted list in ascending order without duplication (the same program as specified in Assignment 1). You can use either Ruby, C, C++, C# or Java to implement your program (referred to as P). 2. Design a test suite of 10 test cases (referred to as TC). Each test case has not more than 20 integers. 3. Test P against TC to make sure that your P passes every test case of TC prior to continuing the other tasks. 4. Manually construct two non-equivalent mutants for P (referred to M1 and M2). 5. Choose 2 MRs that you developed in Assignment 1 (referred to as MR1 and MR2). 6. Compute the effectiveness for MR1 and MR2 using M1, M2 and the test cases in TC as their source test cases. 7. You are required to submit a report which must contain at least the followings items: a. Program listing of P. b. A description of all elements of TC. 2 c. A description of the mutated statements in P for mutants M1 and M2. Note that you need not to give the complete program listings for mutants M1 and M2. You are only required to point out which statements in P are changed and how are they changed to construct M1 and M2. d. Explain the process that you applied to guarantee that your M1 and M2 are nonequivalent mutants. e. Explain with sufficient details on how the effectiveness for MR1 and MR2 are calculated, using the metric of expected ratio of violations. f. Discuss and interpret your results about the effectiveness for MR1 and MR2.

find the cost of your paper

The post Write a program which accepts a list of integers which may contain duplicated integers, and which outputs the input list as a sorted list in ascending order without duplication (the same program as specified in Assignment 1). appeared first on Best Custom Essay Writing Services | EssayBureau.com.



This essay is written by:

Prof. SirMojo Verified writer

Finished papers: 435

Proficient in:

English, History, Business and Entrepreneurship, Nursing, Psychology, Management

You can get writing help to write an essay on these topics
100% plagiarism-free

Hire This Writer
© 2017 theacademicessays. All Rights Reserved. Design & Developed by theacademicessays.
How to Avoid Plagiarism
  • Use multiple resourses when assembling your essay
  • Use Plagiarism Checker to double check your essay
  • Get help from professional writers when not sure you can do it yourself
  • Do not copy and paste free to download essays
Get plagiarism free essay
Loading...