Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose we have an algorithm with the number of basic operations C(n) = 2n, where n is the input size. In the year 2000, we

Suppose we have an algorithm with the number of basic operations C(n) = 2n,
where n is the input size. In the year 2000, we run this program with an input size of
n = 10, and in the year 2020, our input size grows to 50. Imagine that computer pro-
cessing speeds roughly double every two years. Which one of the following is correct?
A. The program will run much faster in 2020 with n = 50 compared to the year 2000
with n = 10 because of the increase in processing speed.
B. The program will take much longer in 2020 with n = 50 even though computers
are faster.
C. The running time of the program will be approximately the same in both years.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial And Temporal Databases 10th International Symposium Sstd 2007 Boston Ma Usa July 2007 Proceedings Lncs 4605

Authors: Dimitris Papadias ,Donghui Zhang ,George Kollios

2007th Edition

3540735399, 978-3540735397

More Books

Students also viewed these Databases questions