Ordinary level 2026 South West mock computer science 2
Ordinary level 2026 South West mock computer science 2
Here is the data extracted from the second image, organized by question number and section.
Section 1: Web Technologies and AI
1. (a) A business person uses different online platforms to look up information, showcase products to customers, and send messages by email. One website they visit is: https://www.example-shop.com/articles.html
-
(i) What is the correct name for the type of address shown above? (2 marks)
-
(ii) Identify these parts of the address and write their values: Domain name, Protocol, File name. (3 marks)
-
(iii) For each scenario below, name a web technology (service) that can be used and give one example of that service (one line each): (8 marks)
-
Search for information online
-
Access and view web pages
-
Send and receive electronic messages
-
Create and share content with customers and other users
-
(b) AI systems are created by people using algorithms and data; they do not have feelings or independent consciousness.
-
(i) In one sentence, define Artificial Intelligence (AI). (2 marks)
-
(ii) For each statement below, write “AI” if the statement correctly describes Artificial Intelligence, or “Not AI” if it does not. Briefly explain your choice in one short sentence. (5 marks)
-
A program that translates text from English to another language.
-
A computer that truly understands and feels emotions like a human.
-
A system that recommends videos to users based on their viewing history.
-
Section 2: Algorithms, Logic, and Programming
2. (a) Write pseudocode for an algorithm to:
Allow numbers to be input, ignore any number that is negative, count how many numbers are positive, output the count of positive numbers when zero is input and ends the algorithm. (8 marks)
(b) Consider the truth table below with three inputs (A, B, C) and one output (X):
| A | B | C | X |
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 |
-
(i) Draw a logic circuit to represent the given table. (Each logic gate should have a maximum of two inputs). Do not simplify the logic circuit. (4 marks)
-
(ii) Write a logic expression for the given truth table. Do not simplify the logic expression. (3 marks)
(c) (i) Match each error type in Column A with the correct description in Column B. Write the letter (A–D) of the description next to the number (1-4) of the error type. (4 marks)
| Column A (Error type) | Column B (Description) |
| 1. Logic error | A. The program stops with an error while running, for example due to dividing by zero or missing file. |
| 2. Runtime error | B. A mistake found by the compiler that prevents creation of an executable. |
| 3. Syntax error | C. The code breaks the grammar of the programming language (e.g., missing punctuation), reported by the interpreter/compiler. |
| 4. Compile errors | D. The program follows the language rules but gives incorrect results because the algorithm is wrong. |
(ii) Give ONE difference between a text editor and an Integrated Development Environment (IDE). (1 mark)
Section 3: Networking
3. (a) A school has two computer labs (12 PCs each) and an administration office (4 PCs + one file server). A central wiring cabinet holds a switch and a router connected to the internet. Each room has a local switch; cables run from room switches to the central switch.
-
(i) Describe the physical topology used inside the rooms and the overall topology connecting the rooms to the wiring cabinet. (4 marks)
-
(ii) Name two network devices in this setup and state one function of each. (4 marks)
-
(iii) Give two types of network cable that could connect the rooms to the wiring cabinet. (2 marks)
-
(iv) The file server is slow when many students access it. Give two possible network-related causes and one simple action to fix each. (4 marks)
(b) A teacher and a student are using a classroom system where the teacher can send questions to the students and students can send answers back, but not at the same time. Which communication mode is being used? Explain your answer in one sentence. (4 marks)
(c) State one difference between intranet and extranet. (2 marks)
