Practice free →
HomeGATE CSEcomputerscienceAlgorithms › Which is NOT a limitation of experimental timing…

Which is NOT a limitation of experimental timing studies of algorithms listed in the lecture?

Athe algorithm must already be implemented before timing
Bthe SQL standard forbids stopwatch-based benchmarks
Cresults depend on hardware and language, so cross-algorithm comparison is unreliable
Dit is hard to time the algorithm across all possible inputs
Answer & Solution
Correct answer: B. the SQL standard forbids stopwatch-based benchmarks
Experimental timing requires an implementation, depends on hardware/language/compiler, and cannot cover all possible inputs. SQL standards have nothing to do with algorithm timing methodology. The lecture lists exactly these three real limitations and motivates mathematical (asymptotic) analysis as the alternative.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions