GratuitGCE A LevelStructurée

GCE A Level Computer Science Paper 2 – Ngahtech Mock 1

Examen
Cameroon GCE Board
Année
2026 · Mock 1
Niveau
Upper Sixth
Durée
180 min
points
100

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

Composez cette épreuve en mode entraînement ou chronométré : à la fin, vous obtenez votre note et le corrigé complet avec une explication pour chaque 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)Structurée4 points⏱ Temps conseillé : 7 min

    A computer stores real numbers in 8 bits: a 5-bit mantissa followed by a 3-bit exponent, both in two's complement, with the binary point after the first bit of the mantissa.

    Find the denary value of 01011\,011. Show your working.

    🤖 Demander au tuteur IA

  2. Question 1(b)Structurée4 points⏱ Temps conseillé : 7 min

    Using the same format, give the normalised representation of -0.375. State how you know that your answer is normalised.

    🤖 Demander au tuteur IA

  3. Question 1(c)Structurée6 points⏱ Temps conseillé : 11 min

    State the purpose of each of these registers: program counter, memory address register, memory data register, current instruction register, accumulator, status register.

    🤖 Demander au tuteur IA

  4. Question 1(d)Structurée6 points⏱ Temps conseillé : 11 min

    Figure 1 shows a full adder. 1. Complete its truth table for inputs A, B and Cin, giving Sum and Cout. 2. Explain how several full adders can be joined to add two 4-bit numbers.

    Question 1(d)

    🤖 Demander au tuteur IA

  5. Question 2(a)Structurée5 points⏱ Temps conseillé : 9 min

    Two booking clerks sell seats for the same bus at the same time from different computers. Using this example, explain what is meant by a race condition.

    🤖 Demander au tuteur IA

  6. Question 2(b)Structurée4 points⏱ Temps conseillé : 7 min

    Explain how mutual exclusion prevents the problem in 2(a), and name one problem it can create.

    🤖 Demander au tuteur IA

  7. Question 2(c)Structurée6 points⏱ Temps conseillé : 11 min

    Three processes arrive at time 0 in the order P1, P2, P3 with CPU burst times 5, 3 and 1 ms. 1. Draw a timeline for round robin scheduling with a time quantum of 2 ms. 2. Give the time at which each process finishes, and the average turnaround time.

    🤖 Demander au tuteur IA

  8. Question 2(d)Structurée5 points⏱ Temps conseillé : 9 min
    1. Distinguish between paging and segmentation.
    2. Explain how virtual memory lets a word processor and a spreadsheet run together when their combined size is larger than RAM.

    🤖 Demander au tuteur IA

  9. Question 3(a)Structurée4 points⏱ Temps conseillé : 7 min

    Figure 2 shows a binary search tree. 1. Give the order in which the keys were most probably inserted for the root to be 50. 2. Write the in-order and pre-order traversals.

    Question 3(a)

    🤖 Demander au tuteur IA

  10. Question 3(b)Structurée4 points⏱ Temps conseillé : 7 min

    Describe, step by step, how the key 65 is inserted into the tree in Figure 2, and state the number of comparisons needed to search for 35.

    🤖 Demander au tuteur IA

  11. Question 3(c)Structurée4 points⏱ Temps conseillé : 7 min

    Figure 3 shows a linked list kept in alphabetical order. Describe how the name Bate is inserted, and explain why a linked list is better than an array for this.

    Question 3(c)

    🤖 Demander au tuteur IA

  12. Question 3(d)Structurée8 points⏱ Temps conseillé : 14 min

    Study the flowchart in Figure 4. 1. Dry-run it with A = 84 and B = 36, showing A, B and R after each pass. 2. State what the algorithm computes. 3. Write it as a recursive function G(A, B).

    Question 3(d)

    🤖 Demander au tuteur IA

  13. Question 4(a)Structurée6 points⏱ Temps conseillé : 11 min

    A school stores results in one table:

    RESULT(StudentID, StudentName, Class, SubjectCode, SubjectName, Teacher, Mark)

    A student takes many subjects and each subject is taken by many students. Normalise the data to third normal form, showing the tables with their primary keys (underlined or in bold) and foreign keys.

    🤖 Demander au tuteur IA

  14. Question 4(b)Structurée2 points⏱ Temps conseillé : 4 min

    Figure 5 is an entity–relationship diagram for the tables in 4(a). Explain why the RESULT entity is needed.

    Question 4(b)

    🤖 Demander au tuteur IA

  15. Question 4(c)Structurée6 points⏱ Temps conseillé : 11 min

    Write SQL statements to: 1. list the names of students in class "U6S" in alphabetical order; 2. show each subject code with its average mark; 3. change Mark to 15 for student "S120" in subject "CSC".

    🤖 Demander au tuteur IA

  16. Question 4(d)Structurée6 points⏱ Temps conseillé : 11 min

    Explain the four ACID properties of database transactions, using a Mobile Money transfer as the example.

    🤖 Demander au tuteur IA

  17. Question 5(a)Structurée6 points⏱ Temps conseillé : 11 min

    A hospital network links several buildings. Explain the purpose of each of these devices: router, switch, bridge.

    🤖 Demander au tuteur IA

  18. Question 5(b)Structurée6 points⏱ Temps conseillé : 11 min
    1. Name the four layers of the TCP/IP model and give one protocol used at each.
    2. Explain why data is divided into packets.

    🤖 Demander au tuteur IA

  19. Question 5(c)Structurée4 points⏱ Temps conseillé : 7 min

    Explain how asymmetric (public-key) encryption lets a patient send test results securely to a doctor who has never shared a secret with them.

    🤖 Demander au tuteur IA

  20. Question 5(d)Structurée4 points⏱ Temps conseillé : 7 min

    Distinguish between a transaction processing system and a management information system, giving an example of each in a hospital.

    🤖 Demander au tuteur IA