City Guilds Model Questions Vol1 2024 Information Technology Question 32

Practice objective / multiple choice question 32 from the 2024 City Guilds Model Questions Vol1 Information Technology examination.

City Guilds Model Questions Vol1 2024 Information Technology Objective / Multiple Choice Hard Difficulty
Question 32 CITY_GUILDS_MODEL_QUESTIONS_VOL1 • 2024 • INFORMATION_TECHNOLOGY • objective

Consider the following pseudo‑code, where \(n\) is a positive integer. ``` count = 0 for i = 1 to n: for j = i to n: if (i + j) mod 3 == 0: count = count + 1 ``` When \(n = 100\), what is the final value of **count**?

Answer Options

A. 1700
B. 1584
Correct Answer C. 1683
D. 1665
Correct Answer
C
Correct Option:
1683

About This Question

This is City Guilds Model Questions Vol1 2024 Information Technology Question 32. It is one of the objective questions from the 2024 City Guilds Model Questions Vol1 Information Technology 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