City Guilds Model Questions Vol1 2020 Information Technology Question 19

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

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

Consider the following pseudo‑code: ``` count = 0 for i in range(1, 6): # i = 1..5 for j in range(1, i+1): # j = 1..i if (i * j) % 3 == 0: count += 1 if count == 7: break if count == 7: break print(count) ``` What integer value is printed when the program is executed?

Answer Options

Correct Answer A. 5
B. 4
C. 7
D. 6
Correct Answer
A
Correct Option:
5

About This Question

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