Gce Model Questions Vol1 2024 Computer Studies Question 21

Practice objective / multiple choice question 21 from the 2024 Gce Model Questions Vol1 Computer Studies examination.

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

Consider the following Python code: ```python n = 50 i = 1 total = 0 while i < n: i = i + 1 if i % 2 == 0: i = i + 2 if i % 3 == 0: total = total + i*i ``` What value is stored in `total` after the loop finishes?

Answer Options

A. 4200
Correct Answer B. 4320
C. 4500
D. 4080
Correct Answer
B
Correct Option:
4320

About This Question

This is Gce Model Questions Vol1 2024 Computer Studies Question 21. It is one of the objective questions from the 2024 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