Skip to content
OtisamLMS
Computing

Computing · Quick practice · answer shown after each question

Variables, data types and operators

Question 1 of 10

Question 1 of 10

What is the result of 17 % 5 in Python?

Question 2 of 10

Question 2 of 10

A variable's value can change while a program runs.

Question 3 of 10

Question 3 of 10

Joining two strings together, such as "Good" + "day", is called

Question 4 of 10

Question 4 of 10

Differentiate between a variable and a constant.

Question 5 of 10

Question 5 of 10

In Python, 10 % 3 gives ___.

Question 6 of 10

Question 6 of 10

Which of these is an integer?

Question 7 of 10

Question 7 of 10

The value of x after x = 4 and x = x * 2 is ___.

Question 8 of 10

Question 8 of 10

In Python, = and == mean the same thing.

Question 9 of 10

Question 9 of 10

Which data type is best for storing the price GH₵ 12.50?

Question 10 of 10

Question 10 of 10

In programming, the = sign is commonly used for

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