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.

Gce Model Questions Vol1 2022 Computer Studies Objective / Multiple Choice Hard Difficulty
Question 40 GCE_MODEL_QUESTIONS_VOL1 • 2022 • COMPUTER_STUDIES • objective

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

A. 175
Correct Answer B. 165
C. 155
D. 145
Correct Answer
B
Correct Option:
165

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.

Unlock Full Access Available for Android & Windows
Chat with Support