City Guilds Model Questions Vol1 2018 Information Technology Question 16

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

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

Consider the following pseudocode: ``` count = 0 for i = 1 to n for j = i to n if (i + j) mod 3 = 0 count = count + 1 ``` If (n = 12), how many times is the statement `count = count + 1` executed?

Answer Options

A. 30
B. 28
Correct Answer C. 26
D. 24
Correct Answer
C
Correct Option:
26

About This Question

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