Neco 2021 Computer Studies Question 1

Practice objective / multiple choice question 1 from the 2021 Neco Computer Studies examination.

Neco 2021 Computer Studies Objective / Multiple Choice Hard Difficulty
Question 1 NECO • 2021 • COMPUTER_STUDIES • objective

For the following Python code, what is the output when \(n = 10\)?\n```\ncount = 0\nfor i in range(1, n+1):\n for j in range(1, i+1):\n if (i*j) % 3 == 0:\n count += 1\nprint(count)\n```

Answer Options

A. 26
Correct Answer B. 27
C. 33
D. 30
Correct Answer
B
Correct Option:
27

About This Question

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