Skip to content
OtisamLMS
Computing

Computing · Quick practice · answer shown after each question

Introduction to Python programming

Question 1 of 10

Question 1 of 10

print() is used to display output in Python.

Question 2 of 10

Question 2 of 10

Python is case-sensitive. This means

Question 3 of 10

Question 3 of 10

Which of these is a Python list?

Question 4 of 10

Question 4 of 10

What does print(2 * "ab") display?

Question 5 of 10

Question 5 of 10

A line in Python that starts with # is a

Question 6 of 10

Question 6 of 10

What is printed by print(3 + 4)?

Question 7 of 10

Question 7 of 10

Python is

Question 8 of 10

Question 8 of 10

In Python, the lines inside an if statement or loop must be

Question 9 of 10

Question 9 of 10

input() always returns a number.

Question 10 of 10

Question 10 of 10

Write a Python program that asks for a user's name and greets them.

Questions written by OtisamLMS in the style of the BECE. They are not WAEC past questions.