Skip to content
OtisamLMS
Change filters

Junior High School ยท BECE style

Computing

Question 1

1What does len([4, 8, 15, 16]) return?

Easy
Question 2

2Which statement imports the random module?

Medium
Question 3

3What does sum([2, 4, 6]) return?

Easy
Question 4

4A value passed into a function is called a

Medium
Question 5

5The first item in a Python list has index ___.

Easy
Question 6

6In the list fruits = ["mango", "orange", "pawpaw"], what is fruits[2]?

Medium
Question 7

7The Python keyword used to define a function is ___.

Easy
Question 8

8len(["a", "b", "c"]) returns ___.

Easy
Question 9

9len() returns the largest value in a list.

Easy
Question 10

10random.randint(1, 6) gives

Hard

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