WASSCE style · Study mode
Question 1 of 50
How many bits make up one byte?
Question 2 of 50
Which part of the CPU carries out arithmetic and logical operations?
Question 3 of 50
Which memory loses its contents when the power is switched off?
Question 4 of 50
An AND gate gives an output of 1 only when
Question 5 of 50
A NOT gate with an input of 1 gives an output of
Question 6 of 50
In Python, what is the data type of the value 3.0?
Question 7 of 50
Convert the binary number 1011 to decimal.
Question 8 of 50
Convert the decimal number 25 to binary.
Question 9 of 50
How many bytes are in 1 kibibyte (KiB)?
Question 10 of 50
The program counter holds
Question 11 of 50
In the fetch–decode–execute cycle, which step comes immediately after an instruction is fetched?
Question 12 of 50
What does print(7 // 2) display in Python?
Question 13 of 50
What does print(7 % 3) display in Python?
Question 14 of 50
If x = [5, 8, 2, 9] in Python, what is x[2]?
Question 15 of 50
How many times does the body of the loop for i in range(1, 6): run?
Question 16 of 50
What is the hexadecimal number 2F in decimal?
Question 17 of 50
What is the output of an XOR gate when both inputs are 1?
Question 18 of 50
In the worst case, how many comparisons does a linear search of n items make?
Question 19 of 50
The register that holds data just read from, or about to be written to, memory is the
Question 20 of 50
Simplify A·B + A·B̄.
Question 21 of 50
In a full mesh network of 5 computers, how many links are needed?
Question 22 of 50
A bus topology needs terminators at the ends of the cable to
Question 23 of 50
What is printed by: x = 1; while x < 10: x = x * 2; then print(x)?
Question 24 of 50
Dividing a large network into smaller logical networks is
Question 25 of 50
Machine learning in which a model is trained on examples that already have the correct answers is
Question 26 of 50
Organising database tables to reduce repeated data is
Question 27 of 50
Convert decimal 200 to hexadecimal.
Question 28 of 50
Add the binary numbers 1011 and 0110.
Question 29 of 50
The instruction currently being decoded is held in the
Question 30 of 50
Which gate is called a universal gate because any other gate can be built from it?
Question 31 of 50
In the worst case, binary search on 1,024 sorted items needs about how many comparisons?
Question 32 of 50
The maximum number of comparisons binary search needs for 1,024 sorted items is about
Question 33 of 50
De Morgan's law states that NOT(A AND B) equals
Question 34 of 50
Subnetting a network means
Question 35 of 50
The two's complement of 00000101 (5) represents −5 as
Question 36 of 50
In 8-bit two's complement, how is −1 written?
Question 37 of 50
Run-length encoding is most effective on data with
Question 38 of 50
Hexadecimal A3 in binary is
Question 39 of 50
What is the value of sum(range(1, 5))?
Question 40 of 50
Convert the binary fraction 0.101 to denary.
Question 41 of 50
In 8-bit two's complement, the range of integers is
Question 42 of 50
A sound sampled at 44.1 kHz with 16-bit samples in stereo for 1 minute needs about
Question 43 of 50
During the fetch stage, the contents of the PC are copied to the
Question 44 of 50
Pipelining improves CPU performance by
Question 45 of 50
A 32-bit address bus can address a maximum of
Question 46 of 50
Simplify the Boolean expression A·B + A·B̄.
Question 47 of 50
The expression (A + B)·(A + C) simplifies to
Question 48 of 50
A half adder produces a sum and carry using
Question 49 of 50
What is printed by: x = [1, 2, 3]; y = x; y.append(4); print(len(x))
Question 50 of 50
What is printed by: print("ghana"[1:4])
Questions written by OtisamLMS in the style of the WASSCE. They are not WAEC past questions.