Gce Model Questions Vol1 2022 Computer Studies Question 40
Practice objective / multiple choice question 40 from the 2022 Gce Model Questions Vol1 Computer Studies examination.
In Python, the sum of the squares of the first \(n\) odd numbers can be computed by:\n\n```python\ndef sum_odd_squares(n):\n total = 0\n for k in range(1, n+1):\n odd = 2*k - 1\n total += odd*odd\n return total\n```\n\nWithout executing the program, determine the value returned by \(\text{sum_odd_squares}(5)\) using a closed‑form expression.
Answer Options
About This Question
This is Gce Model Questions Vol1 2022 Computer Studies Question 40. It is one of the objective questions from the 2022 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.