FreeGCE A LevelMCQ

GCE A Level Computer Science Paper 1 – Ngahtech Mock 1

Exam
Cameroon GCE Board
Year
2026 · Mock 1
Level
Upper Sixth
Duration
90 min
marks
50

Source: Original Ngahtech mock paper for GCE A Level Computer Science Paper 1. Not an official GCE Board paper.

Take this paper in practice or timed mode: when you submit, you get your score and the full solutions with an explanation for every question.

Answer all 50 questions. Each question has four suggested answers; choose the one correct answer. All questions carry equal marks. Non-programmable calculators are allowed.

Your score and the full solutions appear as soon as you submit.

  1. Question 1MCQ1 mark

    What is the denary value of the 8-bit two's complement number 11110110_2?

    • A. −9
    • B. 246
    • C. −10
    • D. −118

    🤖 Ask the AI tutor

  2. Question 2MCQ1 mark

    In a floating-point number, the mantissa holds:

    • A. the sign of the exponent only
    • B. the position of the binary point
    • C. the number of bits used
    • D. the significant digits of the number

    🤖 Ask the AI tutor

  3. Question 3MCQ1 mark

    Why are floating-point numbers normalised?

    • A. To make every number positive
    • B. To remove the exponent
    • C. To give the greatest precision for the bits available and a unique representation
    • D. To store integers more quickly

    🤖 Ask the AI tutor

  4. Question 4MCQ1 mark

    What is 1101\,0111_2 in hexadecimal?

    • A. C7
    • B. B7
    • C. D6
    • D. D7

    🤖 Ask the AI tutor

  5. Question 5MCQ1 mark

    How many different values can be represented with 12 bits?

    • A. 144
    • B. 1024
    • C. 2048
    • D. 4096

    🤖 Ask the AI tutor

  6. Question 6MCQ1 mark

    Which representation of signed integers has only one code for zero?

    • A. Excess-127 with a sign bit
    • B. Two's complement
    • C. Sign and magnitude
    • D. One's complement

    🤖 Ask the AI tutor

  7. Question 7MCQ1 mark

    A full adder has how many inputs and outputs?

    • A. 3 inputs, 2 outputs
    • B. 3 inputs, 3 outputs
    • C. 2 inputs, 1 output
    • D. 2 inputs, 2 outputs

    🤖 Ask the AI tutor

  8. Question 8MCQ1 mark

    Which expression is equivalent to \overline{\overline{A} + B}?

    • A. $\overline{A} \cdot \overline{B}$
    • B. $\overline{A} \cdot B$
    • C. $A \cdot \overline{B}$
    • D. $A + \overline{B}$

    🤖 Ask the AI tutor

  9. Question 9MCQ1 mark

    Why are NAND gates called universal gates?

    • A. They are used in every computer
    • B. Any logic function can be built from NAND gates alone
    • C. They have the fastest switching time
    • D. They work with any number of inputs

    🤖 Ask the AI tutor

  10. Question 10MCQ1 mark

    The Boolean expression A + 1 simplifies to:

    • A. 0
    • B. 1
    • C. $\overline{A}$
    • D. A

    🤖 Ask the AI tutor

  11. Question 11MCQ1 mark

    Which register holds the instruction currently being decoded and executed?

    • A. Accumulator
    • B. Program counter (PC)
    • C. Current instruction register (CIR)
    • D. Memory address register (MAR)

    🤖 Ask the AI tutor

  12. Question 12MCQ1 mark

    A processor has a 20-bit address bus. How many memory locations can it address?

    • A. 20 480
    • B. 1 048 576
    • C. 1 000 000
    • D. 65 536

    🤖 Ask the AI tutor

  13. Question 13MCQ1 mark

    In the Von Neumann architecture:

    • A. instructions and data are stored in the same memory
    • B. instructions and data use separate memories
    • C. there is no control unit
    • D. programs are stored in ROM only

    🤖 Ask the AI tutor

  14. Question 14MCQ1 mark

    What is the main benefit of pipelining in a processor?

    • A. Memory needs no addresses
    • B. Each instruction takes fewer clock cycles to complete
    • C. It removes the need for cache
    • D. Several instructions are at different stages at the same time, increasing throughput

    🤖 Ask the AI tutor

  15. Question 15MCQ1 mark

    Which addressing mode uses the operand itself as the data, e.g. LDA #25?

    • A. Immediate
    • B. Indexed
    • C. Direct
    • D. Indirect

    🤖 Ask the AI tutor

  16. Question 16MCQ1 mark

    A typical feature of a RISC processor is:

    • A. many complex instructions of variable length
    • B. a small set of simple instructions, most taking one clock cycle
    • C. no registers
    • D. instructions that work directly on memory only

    🤖 Ask the AI tutor

  17. Question 17MCQ1 mark

    When an interrupt is received, the processor first:

    • A. saves the contents of its registers (current state) on the stack
    • B. restarts the computer
    • C. ignores lower-priority programs forever
    • D. deletes the running program

    🤖 Ask the AI tutor

  18. Question 18MCQ1 mark

    In round robin scheduling, each process:

    • A. is chosen at random
    • B. runs until it finishes
    • C. with the shortest job always runs first
    • D. gets a fixed time slice in turn

    🤖 Ask the AI tutor

  19. Question 19MCQ1 mark

    Thrashing occurs when:

    • A. two processes share a file
    • B. the CPU overheats
    • C. the computer spends more time swapping pages than executing processes
    • D. the disk is defragmented

    🤖 Ask the AI tutor

  20. Question 20MCQ1 mark

    Dividing memory into fixed-size blocks is called:

    • A. spooling
    • B. segmentation
    • C. paging
    • D. buffering

    🤖 Ask the AI tutor

  21. Question 21MCQ1 mark

    A deadlock happens when:

    • A. a process finishes early
    • B. each process holds a resource and waits for a resource held by another
    • C. the CPU is idle
    • D. a printer runs out of paper

    🤖 Ask the AI tutor

  22. Question 22MCQ1 mark

    A semaphore is used to:

    • A. compress files
    • B. translate high-level code
    • C. control access to a shared resource (mutual exclusion)
    • D. store passwords

    🤖 Ask the AI tutor

  23. Question 23MCQ1 mark

    Which state is a process in when it is waiting for the CPU?

    • A. Terminated
    • B. Ready
    • C. Blocked
    • D. Running

    🤖 Ask the AI tutor

  24. Question 24MCQ1 mark

    A stack follows which order?

    • A. Random order
    • B. Sorted order
    • C. First in, first out (FIFO)
    • D. Last in, first out (LIFO)

    🤖 Ask the AI tutor

  25. Question 25MCQ1 mark

    Items join a queue at the ____ and leave from the ____.

    • A. top; top
    • B. middle; end
    • C. rear; front
    • D. front; rear

    🤖 Ask the AI tutor

  26. Question 26MCQ1 mark

    Starting with an empty stack: PUSH 4, PUSH 9, POP, PUSH 2, PUSH 7, POP. What is on top?

    • A. 7
    • B. 4
    • C. 9
    • D. 2

    🤖 Ask the AI tutor

  27. Question 27MCQ1 mark

    The in-order traversal of a binary search tree outputs the keys:

    • A. level by level
    • B. root first
    • C. in the order inserted
    • D. in ascending order

    🤖 Ask the AI tutor

  28. Question 28MCQ1 mark

    In a hash table, a collision occurs when:

    • A. the table is empty
    • B. a key is deleted
    • C. the hash function is slow
    • D. two keys hash to the same address

    🤖 Ask the AI tutor

  29. Question 29MCQ1 mark

    Which structure is best for undo operations in a text editor?

    • A. Stack
    • B. Queue
    • C. Binary tree
    • D. Hash table

    🤖 Ask the AI tutor

  30. Question 30MCQ1 mark

    Binary search on a sorted list of 1000 items needs at most about how many comparisons?

    • A. 500
    • B. 10
    • C. 1000
    • D. 100

    🤖 Ask the AI tutor

  31. Question 31MCQ1 mark

    The time complexity of linear search is:

    • A. O(n)
    • B. O(n²)
    • C. O(1)
    • D. O(log n)

    🤖 Ask the AI tutor

  32. Question 32MCQ1 mark

    The worst-case time complexity of bubble sort is:

    • A. O(n²)
    • B. O(n)
    • C. O(log n)
    • D. O(n log n)

    🤖 Ask the AI tutor

  33. Question 33MCQ1 mark

    Every recursive subroutine must have:

    • A. at least two parameters
    • B. a base case that stops the recursion
    • C. a loop
    • D. a global variable

    🤖 Ask the AI tutor

  34. Question 34MCQ1 mark

    Which sort repeatedly takes the next item and puts it in its place among the items already sorted?

    • A. Quick sort
    • B. Bubble sort
    • C. Insertion sort
    • D. Merge sort

    🤖 Ask the AI tutor

  35. Question 35MCQ1 mark

    In object-oriented programming, encapsulation means:

    • A. one method name with different behaviours
    • B. keeping an object's data and methods together and hiding its data from outside code
    • C. a class taking the features of another class
    • D. converting code into machine code

    🤖 Ask the AI tutor

  36. Question 36MCQ1 mark

    Which stage of compilation removes comments and splits the source into tokens?

    • A. Lexical analysis
    • B. Optimisation
    • C. Code generation
    • D. Syntax analysis

    🤖 Ask the AI tutor

  37. Question 37MCQ1 mark

    Prolog is an example of which paradigm?

    • A. Assembly
    • B. Declarative (logic)
    • C. Procedural
    • D. Object-oriented

    🤖 Ask the AI tutor

  38. Question 38MCQ1 mark

    Which notation is used to define the syntax of a programming language?

    • A. Hexadecimal
    • B. Big-O notation
    • C. Backus–Naur form (BNF)
    • D. Reverse Polish notation

    🤖 Ask the AI tutor

  39. Question 39MCQ1 mark

    A linker:

    • A. finds logic errors
    • B. combines compiled modules and library routines into one executable
    • C. loads the OS
    • D. translates assembly code

    🤖 Ask the AI tutor

  40. Question 40MCQ1 mark

    A table is in first normal form when:

    • A. it has no transitive dependencies
    • B. it has only one field
    • C. it has no repeating groups and every field holds a single (atomic) value
    • D. it has no partial dependencies

    🤖 Ask the AI tutor

  41. Question 41MCQ1 mark

    A foreign key is:

    • A. the first field in every table
    • B. a key used in another country
    • C. a field that links to the primary key of another table
    • D. a key that is encrypted

    🤖 Ask the AI tutor

  42. Question 42MCQ1 mark

    Which SQL statement lists students in descending order of Mark?

    • A. `SELECT * FROM Student ORDER BY Mark DESC;`
    • B. `SELECT DESC Mark FROM Student;`
    • C. `SELECT * FROM Student SORT Mark DOWN;`
    • D. `SELECT * FROM Student GROUP BY Mark;`

    🤖 Ask the AI tutor

  43. Question 43MCQ1 mark

    In ACID, atomicity means a transaction:

    • A. cannot be seen by other users
    • B. is saved permanently
    • C. keeps data valid
    • D. is done completely or not at all

    🤖 Ask the AI tutor

  44. Question 44MCQ1 mark

    Which layer of the OSI model is responsible for routing packets between networks?

    • A. Network layer
    • B. Data link layer
    • C. Physical layer
    • D. Transport layer

    🤖 Ask the AI tutor

  45. Question 45MCQ1 mark

    Which protocol provides reliable, ordered delivery of data?

    • A. TCP
    • B. ARP
    • C. UDP
    • D. IP

    🤖 Ask the AI tutor

  46. Question 46MCQ1 mark

    How many bits are in an IPv4 address?

    • A. 128
    • B. 48
    • C. 64
    • D. 32

    🤖 Ask the AI tutor

  47. Question 47MCQ1 mark

    A device that connects two network segments and filters traffic using MAC addresses is a:

    • A. repeater
    • B. bridge
    • C. modem
    • D. gateway

    🤖 Ask the AI tutor

  48. Question 48MCQ1 mark

    In public-key encryption, a message sent to Bih is encrypted with:

    • A. Bih's public key
    • B. Bih's private key
    • C. a shared password
    • D. the sender's private key

    🤖 Ask the AI tutor

  49. Question 49MCQ1 mark

    Which model completes each stage fully before moving to the next?

    • A. Spiral
    • B. Agile
    • C. Rapid application development
    • D. Waterfall

    🤖 Ask the AI tutor

  50. Question 50MCQ1 mark

    Testing a program's internal logic and paths is called:

    • A. White-box testing
    • B. Black-box testing
    • C. Beta testing
    • D. Acceptance testing

    🤖 Ask the AI tutor