Neco 2019 Computer Studies Question 28
Practice objective / multiple choice question 28 from the 2019 Neco Computer Studies examination.
A sorting program A uses a quadratic algorithm with time complexity \(O(n^{2})\). For an input of \(n = 5{,}000\) elements, each elementary operation takes \(0.2\) microseconds. (a) Estimate the total execution time of program A in seconds. (b) A newer program B uses an \(O(n\log_{2} n)\) algorithm with the same elementary operation time. Estimate the execution time of program B for the same input size and determine the factor by which program B is faster than program A.
Answer Options
About This Question
This is Neco 2019 Computer Studies Question 28. It is one of the objective questions from the 2019 Neco Computer Studies examination.
Difficulty level: Medium .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.