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
Get step-by-step solutions from verified subject matter experts
