Skip to content
OtisamLMS
Change filters

Senior High School ยท WASSCE style

Computing

Question 1

1A loop inside another loop runs the inner loop

Medium
Question 2

2The keyword that exits a loop immediately is ___.

Easy
Question 3

3How many times is "*" printed? for i in range(3): for j in range(4): print("*")

Hard
Question 4

4elif lets you test another condition when the previous ones are False.

Easy
Question 5

5Which condition tests whether age is between 13 and 19 inclusive?

Hard
Question 6

6In Python, "else if" is written as ___.

Easy
Question 7

7The break statement in a loop

Medium
Question 8

8The value of total after total = 1; for i in range(1, 4): total *= i is ___.

Hard
Question 9

9The keyword that skips to the next pass of a loop is ___.

Medium
Question 10

10What does range(4) produce?

Easy

Demo questions written by Otisam in the style of the WASSCE. They are not WAEC past questions.