Question: [ Maximum mark: 1 7 ] The time taken for a computer to process a task is defined by the number of operations it needs
Maximum mark:
The time taken for a computer to process a task is defined by the number of operations it needs to perform. The number of operations, and the time taken, seconds, for a specific algorithm were recorded. This information is summarized as follows:
When ;
When ;
When :
This information was used to create Model C where is a function of
At operations, Model can be represented by the equation.
Write down a second equation to represent Model when the number of operations is
Find and
Find the coordinates of the vertex of the graph of
Using the values given and your answer to part b sketch the graph of for and clearly showing the vertex.
Hence, identify why Model C may not be appropriate for very large numbers of operations.
Additional data was used to create Model D a revised model for the time taken by the algorithm.
Model :
Use Model D to calculate an estimate for the time taken for operations.
The actual time taken for operations is seconds. Calculate the percentage error in the estimate in part
It is found that once an algorithm starts, there is an average delay of seconds before the first operation is executed. An algorithm is given a task with o operations and must complete within seconds.
Using Model D and taking the delay into account, calculate the maximum number of operations the algorithm can handle.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
