Gce Model Questions Vol1 2021 Computer Studies Question 41

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

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

Consider the following Python program: ```python n = 6 total = 0 for i in range(1, n+1): for j in range(1, i+1): if (i*j) % 3 == 0: total += i - j print(total) ``` What value is printed when the program is executed?

Answer Options

Correct Answer A. 21
B. 24
C. 27
D. 15
Correct Answer
A
Correct Option:
21

About This Question

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