FreeGCE A LevelStructural

GCE A Level Computer Science Paper 2 – Ngahtech Mock 2

Exam
Cameroon GCE Board
Year
2026 · Mock 2
Level
Upper Sixth
Duration
180 min
marks
100

Source: Original Ngahtech mock paper for GCE A Level Computer Science Paper 2. 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 five questions. Each question carries 20 marks; the marks for each part are shown.

  • Show your working in calculations and trace tables.
  • Draw diagrams in pencil where they are asked for.
  • You have 3 hours.

After you submit, compare your answers with the marking scheme and give yourself marks, or ask a teacher to mark them.

  1. Question 1(a)Structural4 marks⏱ Suggested time: 7 min

    Using 8-bit two's complement, calculate 45 - 67 by adding the two's complement of 67 to 45. Convert your answer back to denary.

    🤖 Ask the AI tutor

  2. Question 1(b)Structural4 marks⏱ Suggested time: 7 min

    Explain what overflow is in two's complement addition and show that 100 + 50 overflows in 8 bits.

    🤖 Ask the AI tutor

  3. Question 1(c)Structural6 marks⏱ Suggested time: 11 min

    A water pump P must run when the tank is not full (F = 0) and either the switch is on (S = 1) or it is night (N = 1). 1. Write the Boolean expression for P. 2. Complete a truth table. 3. Draw the circuit using NAND gates only, or explain how it would be built.

    🤖 Ask the AI tutor

  4. Question 1(d)Structural6 marks⏱ Suggested time: 11 min

    Simplify the following, giving the law used at each step: 1. \overline{A} \cdot B + A \cdot B + A \cdot \overline{B} 2. \overline{\overline{A \cdot B} + \overline{C}}

    🤖 Ask the AI tutor

  5. Question 2(a)Structural6 marks⏱ Suggested time: 11 min

    Write an algorithm in pseudocode for a binary search that looks for Target in a sorted array List[1..N] and outputs its position, or "Not found".

    🤖 Ask the AI tutor

  6. Question 2(b)Structural4 marks⏱ Suggested time: 7 min

    Show the contents of the array 6, 2, 9, 4, 1 after each pass of a bubble sort into ascending order.

    🤖 Ask the AI tutor

  7. Question 2(c)Structural4 marks⏱ Suggested time: 7 min

    Compare the efficiency of bubble sort and merge sort for a list of 10 000 student names, using Big-O notation.

    🤖 Ask the AI tutor

  8. Question 2(d)Structural6 marks⏱ Suggested time: 11 min

    A program models bank accounts. Class Account has a private attribute Balance and methods Deposit(Amount) and Withdraw(Amount). Class SavingsAccount adds an attribute Rate and a method AddInterest(). 1. Explain encapsulation, inheritance and polymorphism using these classes. 2. Write the Withdraw method so that the balance can never become negative.

    🤖 Ask the AI tutor

  9. Question 3(a)Structural8 marks⏱ Suggested time: 14 min

    Describe the stages of compilation: lexical analysis, syntax analysis, semantic analysis, code generation and optimisation.

    🤖 Ask the AI tutor

  10. Question 3(b)Structural4 marks⏱ Suggested time: 7 min

    Explain the difference between direct, indirect and indexed addressing, using LDA 100 as an example for each.

    🤖 Ask the AI tutor

  11. Question 3(c)Structural4 marks⏱ Suggested time: 7 min

    State two differences between RISC and CISC processors, and give an example of where each is used.

    🤖 Ask the AI tutor

  12. Question 3(d)Structural4 marks⏱ Suggested time: 7 min

    Three interrupts arrive together: a power failure warning, a printer out of paper, and a keyboard key press. In what order should they be handled? Justify your answer.

    🤖 Ask the AI tutor

  13. Question 4(a)Structural6 marks⏱ Suggested time: 11 min

    Compare the waterfall model with agile development for building a mobile app for a new start-up whose requirements are not yet clear.

    🤖 Ask the AI tutor

  14. Question 4(b)Structural6 marks⏱ Suggested time: 11 min

    Describe three methods a systems analyst can use to find out how the current system works, giving one advantage of each.

    🤖 Ask the AI tutor

  15. Question 4(c)Structural8 marks⏱ Suggested time: 14 min

    Explain the following types of testing: unit, integration, system, alpha, beta and acceptance testing. Include one sentence on the difference between black-box and white-box testing.

    🤖 Ask the AI tutor

  16. Question 5(a)Structural6 marks⏱ Suggested time: 11 min

    A computer has IP address 192.168.10.37 and subnet mask 255.255.255.0. 1. What is the network address? 2. How many hosts can the subnet have? 3. Explain the difference between an IP address and a MAC address.

    🤖 Ask the AI tutor

  17. Question 5(b)Structural4 marks⏱ Suggested time: 7 min

    Explain the purpose of DNS and DHCP when a laptop joins a school's Wi-Fi and opens a website.

    🤖 Ask the AI tutor

  18. Question 5(c)Structural4 marks⏱ Suggested time: 7 min

    A hospital is considering a private intranet. Give two advantages and two disadvantages.

    🤖 Ask the AI tutor

  19. Question 5(d)Structural6 marks⏱ Suggested time: 11 min

    Describe three threats to a company's network and a countermeasure for each.

    🤖 Ask the AI tutor