Gce Model Questions Vol1 2024 Computer Studies Question 2

Practice objective / multiple choice question 2 from the 2024 Gce Model Questions Vol1 Computer Studies examination.

Gce Model Questions Vol1 2024 Computer Studies Objective / Multiple Choice Medium Difficulty
Question 2 GCE_MODEL_QUESTIONS_VOL1 • 2024 • COMPUTER_STUDIES • objective

Consider the following pseudo‑code: x ← 5; y ← 0; while x < 100 do if x mod 3 = 0 then y ← y + x end if; x ← x + 7 end while; output y. What integer value is displayed when the program finishes execution?

Answer Options

A. 280
B. 260
C. 300
Correct Answer D. 270
Correct Answer
D
Correct Option:
270

About This Question

This is Gce Model Questions Vol1 2024 Computer Studies Question 2. It is one of the objective questions from the 2024 Gce Model Questions Vol1 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