1. Homepage
  2. Programming
  3. Homework 7, ECE 590 & CS320 Software Reliability

Homework 7, ECE 590 & CS320 Software Reliability

Engage in a Conversation
USDukeDuke UniversityECE 590CS320Software ReliabilityCC++JavaPython

Homework 7, ECE 590 & CS320 Software Reliability

Learn the usage of the recovery block for multi-version sorting – Use of Design diversity: CourseNana.COM

  1. Come up with a primary variant and an alternate variant using two different sorting algorithms of your choice from bubble sort, selection sort, insertion sort, quicksort, heapsort, etc., and implement them.
  2. Design and implement an acceptance test for the sorting algorithm.
  3. Treat each sorting routine variant as a block for the purpose of recovery and implement the recovery block scheme.
  4. Use a method of logging, such as “printf()”, to track down the calling history of different blocks.
  5. Check whether the second sorting routine variant block is ever called. If the second block is not called at all, you can manually insert one or two bugs in your code so as to force the execution of the second variant. A program with manually inserted bugs is known as a mutant. It is not hard to obtain a mutant. The easiest way is to perturb an arithmetic operator, such as replacing “+” by “*”, and “-” with “/”. You can try several mutants to see the differences.
  6. You may use C/C++, Java, or Python to finish this assignment.

Please hand in the codes you implement along with a readme to demonstrate how your codes work. CourseNana.COM

Hint: The recovery block scheme is: Ensure acceptance test By primary variant Else by first alternate variant Else by second alternate variant …… Else by last alternate variant Else fail CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
US代写,Duke代写,Duke University代写,ECE 590代写,CS320代写,Software Reliability代写,C代写,C++代写,Java代写,Python代写,US代编,Duke代编,Duke University代编,ECE 590代编,CS320代编,Software Reliability代编,C代编,C++代编,Java代编,Python代编,US代考,Duke代考,Duke University代考,ECE 590代考,CS320代考,Software Reliability代考,C代考,C++代考,Java代考,Python代考,UShelp,Dukehelp,Duke Universityhelp,ECE 590help,CS320help,Software Reliabilityhelp,Chelp,C++help,Javahelp,Pythonhelp,US作业代写,Duke作业代写,Duke University作业代写,ECE 590作业代写,CS320作业代写,Software Reliability作业代写,C作业代写,C++作业代写,Java作业代写,Python作业代写,US编程代写,Duke编程代写,Duke University编程代写,ECE 590编程代写,CS320编程代写,Software Reliability编程代写,C编程代写,C++编程代写,Java编程代写,Python编程代写,USprogramming help,Dukeprogramming help,Duke Universityprogramming help,ECE 590programming help,CS320programming help,Software Reliabilityprogramming help,Cprogramming help,C++programming help,Javaprogramming help,Pythonprogramming help,USassignment help,Dukeassignment help,Duke Universityassignment help,ECE 590assignment help,CS320assignment help,Software Reliabilityassignment help,Cassignment help,C++assignment help,Javaassignment help,Pythonassignment help,USsolution,Dukesolution,Duke Universitysolution,ECE 590solution,CS320solution,Software Reliabilitysolution,Csolution,C++solution,Javasolution,Pythonsolution,