You are managing a software project that involves building a computer-assisted instrument for medical surgery. The exact placement of the surgical knife is dependent on a number of different parameters, usually at least 25, sometimes more. Your programmer has developed two algorithms for positioning the cutting tool, and is seeking your advice about which algorithm to use:
-2-
Algorithm A has an average – case run time of n, and a worst
case run time of n4, where n is the number of input
parameters.
Algorithm B has an average case run time of n(log n)3, and a worst
case of n2.
Which algorithm would you favour for inclusion in the software? Justify your answer.
Given:
Algorithm A has an average – case run time of n, and a worst case
run time of n4, where n is the number of input
parameters.
Algorithm B has an average case run time of n(log n)3, and a worst case of n2.
Here input parameter is at-least 25.
Average case of Algorithm A is better than Average case of
Algorithm B.
Worst case scenario occur very rarely,Average case are more
frequent than worst case.
hence Average case of Algorithms will be considered for its
selection.
Therefore,Algorithm A will be chosen in software with run time of
n.
You are managing a software project that involves building a computer-assisted instrument for medical surgery. The...
In this project, you will work on the algorithm (discussed in Module 1) to determine the length of the longest sub sequence of consecutive integers in an array You will implement the algorithm using Hash tables. You are provided with sample code (in C++ and Java) representing the linked list-based implementation of Hash tables (as an array of Linked Lists). You could go through the code to understand the implementation of a Hash table and the functions that can be...
The purpose of the project is to perform a timing experiment. You are required to complete the following activities: Write a computer program that prompts the user for a number, creates an array for that number of random integers, and then usees the bubble sort to order the array. The program should print out the array prior to the call to the sorting algorithm and afterwards. You can write the program in either Java, C++, C#, or whatever language you...
St. Francis Assisted Living Facility St. Francis Medical Center, a 450 bed rehabilitation non-profit hospital began to see a significant decline in admissions. St. Francis' mission focuses on inpatient and outpatient rehabilitation of the severely injured and catastrophically ill. While the patient census varied from month to month, it appeared to the St. Francis Board of Trustees that the inpatient population was slowly but steadily declining. The hospital's market researchers reported that fewer people were being severely injured due to...
Recursion and Trees Application – Building a Word Index Make sure you have read and understood · lesson modules week 10 and 11 · chapters 9 and 10 of our text · module - Lab Homework Requirements before submitting this assignment. Hand in only one program, please. Background: In many applications, the composition of a collection of data items changes over time. Not only are new data items added and existing ones removed, but data items may be duplicated. A list data structure...
A) Analyze the need for managing change in the case
attached.
B) How would you distribute change roles you would consider if
you were a decision maker in
the project?
Note: Not more than 100 Words.
Complexities of Large-Scale Technology Project Failure: A Forensic Analysis of the Seattle Popular Monorail Authority Introduction History shows that large scale innovative technology projects, financed with public funds, are fraught with dangers and often fail to deliver the product or the results promised at...
Assignment 2 In this assignment, you will write two short programs to solve problems using recursion. 1. Initial Setup Log in to Unix. Run the setup script for Assignment 2 by typing: setup 2 2. Towers of Hanoi Legend has it that in a temple in the Far East, priests are attempting to move a stack of disks from one peg to another. The initial stack had 64 disks threaded onto one peg and arranged from bottom to top by...
Why did the Energy Telematics project fail and why was Joel's
tram vaught off guard by the hostile reaction of the truck drivers
at the Omaha depot?
MINI CASE Working Smarter at Continental Furniture International Joel Parsons hurried down the hall to the monthly executive committee meeting doing a mental checklist of all the things he was responsible for: sales analysis-check; mar keting stats-check; quarterly and YTD financials-check; operating statistics-check trends in each of these areas-check. Parsons was right hand...