Neco 2020 Computer Studies Question 21

Practice objective / multiple choice question 21 from the 2020 Neco Computer Studies examination.

Neco 2020 Computer Studies Objective / Multiple Choice Hard Difficulty
Question 21 NECO • 2020 • COMPUTER_STUDIES • objective

Consider the following Python program: ``` total = 0 for i in range(1, 7): for j in range(i, 9): if (i + j) % 3 == 0: total += i * j elif i == 4: total -= j print(total) ``` The condition checks whether \( (i + j) \bmod 3 = 0 \). What integer value is displayed when the program is executed?

Answer Options

Correct Answer A. 170
B. 165
C. 190
D. 175
Correct Answer
A
Correct Option:
170

About This Question

This is Neco 2020 Computer Studies Question 21. It is one of the objective questions from the 2020 Neco 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