Skip to content
OtisamLMS
Computing Mock 2023

WASSCE style · Study mode

Computing Mock 2023

Question 1 of 50

Question 1 of 50

The Boolean expression for an OR gate with inputs A and B is

Question 2 of 50

Question 2 of 50

Which Python statement displays text on the screen?

Question 3 of 50

Question 3 of 50

What is the output of print(2 ** 3)?

Question 4 of 50

Question 4 of 50

Which data type stores True or False?

Question 5 of 50

Question 5 of 50

In Python, the comment symbol is

Question 6 of 50

Question 6 of 50

What is the value of x after: x = 10; x += 5?

Question 7 of 50

Question 7 of 50

Adding an item to the top of a stack is called

Question 8 of 50

Question 8 of 50

Which protocol transfers web pages?

Question 9 of 50

Question 9 of 50

Data sent over the internet is broken into small units called

Question 10 of 50

Question 10 of 50

In a database table, a single row is a

Question 11 of 50

Question 11 of 50

Which SQL command adds new rows to a table?

Question 12 of 50

Question 12 of 50

Storing and accessing data and programs over the internet instead of on a local computer is

Question 13 of 50

Question 13 of 50

How many different values can be represented with 8 bits?

Question 14 of 50

Question 14 of 50

The three stages of the instruction cycle are

Question 15 of 50

Question 15 of 50

The output of an AND gate is 1 only when

Question 16 of 50

Question 16 of 50

A NOT gate

Question 17 of 50

Question 17 of 50

What does print(7 % 3) output?

Question 18 of 50

Question 18 of 50

What is the output of print(len("Ghana"))?

Question 19 of 50

Question 19 of 50

In Python, a list is written with

Question 20 of 50

Question 20 of 50

What is the output of a NOR gate when both inputs are 0?

Question 21 of 50

Question 21 of 50

What is the result of "Ab" * 3 in Python?

Question 22 of 50

Question 22 of 50

What does int("25") + 5 give?

Question 23 of 50

Question 23 of 50

Which sorting algorithm divides the list in halves, sorts them and merges them?

Question 24 of 50

Question 24 of 50

An error in the logic of a program that gives wrong results without crashing is a

Question 25 of 50

Question 25 of 50

The physical address burned into a network card is the

Question 26 of 50

Question 26 of 50

A field in one table that links to the primary key of another table is a

Question 27 of 50

Question 27 of 50

Testing a program with data it should reject, such as letters in an age field, uses

Question 28 of 50

Question 28 of 50

A model of software development in which each stage is completed before the next starts is the

Question 29 of 50

Question 29 of 50

Convert 25 (denary) to binary.

Question 30 of 50

Question 30 of 50

Convert the hexadecimal number 1F to denary.

Question 31 of 50

Question 31 of 50

ASCII uses 7 bits to represent

Question 32 of 50

Question 32 of 50

The register that holds the address of the next instruction is the

Question 33 of 50

Question 33 of 50

Cache memory speeds up the computer because it

Question 34 of 50

Question 34 of 50

The XOR gate outputs 1 when

Question 35 of 50

Question 35 of 50

What does print(7 // 2) output in Python?

Question 36 of 50

Question 36 of 50

Packet switching sends data by

Question 37 of 50

Question 37 of 50

A trace table is used to

Question 38 of 50

Question 38 of 50

In CSS, the selector #main targets an element with

Question 39 of 50

Question 39 of 50

The CSS box model consists of content, padding, border and

Question 40 of 50

Question 40 of 50

A star network fails completely if

Question 41 of 50

Question 41 of 50

Convert 101101 (binary) to decimal.

Question 42 of 50

Question 42 of 50

Convert 2F (hexadecimal) to decimal.

Question 43 of 50

Question 43 of 50

How many different values can 6 bits represent?

Question 44 of 50

Question 44 of 50

A network of 6 computers in a full mesh needs how many links?

Question 45 of 50

Question 45 of 50

What is the output of the pseudocode: x ← 1; REPEAT x ← x × 2 UNTIL x > 20; OUTPUT x

Question 46 of 50

Question 46 of 50

The check digit in a barcode is used to

Question 47 of 50

Question 47 of 50

The network address of 192.168.10.37/24 is

Question 48 of 50

Question 48 of 50

The broadcast address of 192.168.10.0/24 is

Question 49 of 50

Question 49 of 50

The two's complement 8-bit representation of −5 is

Question 50 of 50

Question 50 of 50

A colour image 100 × 100 pixels at 24 bits per pixel needs

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