Gce Model Questions Vol1 2017 Computer Studies Question 23

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

Gce Model Questions Vol1 2017 Computer Studies Objective / Multiple Choice Hard Difficulty
Question 23 GCE_MODEL_QUESTIONS_VOL1 • 2017 • COMPUTER_STUDIES • objective

Consider the following Python program:\n\n```python\ncount = 0\nfor i in range(1, 5): # i = 1,2,3,4\n for j in range(i, 6): # j starts at i up to 5\n if i + j == 6:\n continue\n if i * j > 12:\n break\n count += 1\nprint(count)\n```\n\nWhat integer value is printed when the program is executed?

Answer Options

A. 9
B. 7
Correct Answer C. 8
D. 12
Correct Answer
C
Correct Option:
8

About This Question

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