Neco 2020 Computer Studies Question 38
Practice objective / multiple choice question 38 from the 2020 Neco Computer Studies examination.
Given the following pseudocode:\n```\ncount = 0\nfor i = 1 to n\n for j = i to n\n if (j mod i = 0) then\n count = count + 1\n end if\n end for\nend for\n```\n(a) State the time‑complexity of the algorithm using Big‑O notation.\n(b) Determine the value of \(count\) when \(n = 12\).
Answer Options
About This Question
This is Neco 2020 Computer Studies Question 38. It is one of the objective questions from the 2020 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.