Gce Model Questions Vol1 2019 Computer Studies Question 3
Practice objective / multiple choice question 3 from the 2019 Gce Model Questions Vol1 Computer Studies examination.
Consider the following Python function: ```python def mystery(k): total = 0 for i in range(1, k+1): for j in range(i, k+1): if (i*j) % 3 == 0: total += 1 return total ``` What integer value does `mystery(5)` return?
Answer Options
About This Question
This is Gce Model Questions Vol1 2019 Computer Studies Question 3. It is one of the objective questions from the 2019 Gce Model Questions Vol1 Computer Studies examination.
Difficulty level: Hard .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.