Neco 2024 Computer Studies Question 22

Practice objective / multiple choice question 22 from the 2024 Neco Computer Studies examination.

Neco 2024 Computer Studies Objective / Multiple Choice Medium Difficulty
Question 22 NECO • 2024 • COMPUTER_STUDIES • objective

Consider the following pseudo‑code: \n\n``\nread n\ncount = 0\nfor i = 1 to n\n for j = 1 to i\n if (j mod 3 = 0) then\n count = count + 1\n end if\n next j\nnext i\nprint count\n``\n\nIf the input value is \(n = 12\), what number is printed?

Answer Options

A. 20
B. 18
C. 24
Correct Answer D. 22
Correct Answer
D
Correct Option:
22

About This Question

This is Neco 2024 Computer Studies Question 22. It is one of the objective questions from the 2024 Neco Computer Studies examination.

Difficulty level: Medium .

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