City Guilds Model Questions Vol1 2021 Information Technology Question 22

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

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

The following pseudo‑code is executed: ``` int a = 0; for (int i = 1; i <= 6; i++) { int j = i; while (j < 20) { if (j % 5 == 0) break; a = a + j; j = j + i; } } output a; ``` What integer value is printed?

Answer Options

A. 156
B. 146
C. 126
Correct Answer D. 136
Correct Answer
D
Correct Option:
136

About This Question

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