Question: 3.Suppose that it takes 0.004 seconds to run a program on a test data set of size n = 200. Assume that the number of

3.Suppose that it takes 0.004 seconds to run a program on a test data set of size n = 200. Assume that the number of items in the actual data set is 4000. What would be the expected run time (show your work) if the program is applied to the actual data set and the underlying algorithm is:

a.0(n)b. 0(n2)

4.Assume that it takes 0.0012 seconds to run a program on a test data set of size n = 50. Assume that the number of items in the actual data set is 80,000. What would be the expected run-time (show your work) if the program is applied to the actual data set and the underlying algorithm is:

a.0(n)b. 0(n2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!