Gce Model Questions Vol1 2019 Computer Studies Question 11

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

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

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

Answer Options

A. 0
B. -18
C. -14
Correct Answer D. -16
Correct Answer
D
Correct Option:
-16

About This Question

This is Gce Model Questions Vol1 2019 Computer Studies Question 11. 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.

Unlock Full Access Available for Android & Windows
Chat with Support