Paper 1
Paper 1
(6 Marks)
o ATA is one of the earliest interface standards for connecting hard drives to PCs. It
includes Parallel ATA (PATA), which uses a ribbon cable with multiple wires to
connect storage devices. It has a limitation in data transfer speed and the number
of devices that can be connected.
o SATA is the successor to PATA and uses serial signaling technology to transfer
data, offering faster data transfer rates and improved efficiency. It uses a
simplified cable that allows for better airflow inside the computer case and
supports hot swapping.
b) Define the term virtual memory and cache memory. Explain their role in a typical
computer system. (4 Marks)
• Virtual Memory:
• Cache Memory:
o Cache memory is a smaller, faster type of volatile memory that provides high-
speed data access to the CPU. Cache stores copies of frequently accessed data
from main memory (RAM) to reduce the time needed for the CPU to retrieve
data, thus improving overall system speed and performance.
• Virtual memory allows systems to run larger applications and multitask efficiently by
compensating for limited physical RAM.
• Cache memory improves CPU performance by reducing the time required to access data
from the main memory, effectively speeding up processing tasks.
c) Using an illustration, describe the structure of the CPU and explain the function of its
components. (6 Marks)
o The CPU (Central Processing Unit) consists of several key components including
the Control Unit (CU), Arithmetic Logic Unit (ALU), Registers, and Cache.
o Directs the operation of the processor. It tells the memory, ALU, and input/output
devices how to respond to the instructions received.
2. Arithmetic Logic Unit (ALU):
3. Registers:
o Small, fast storage locations within the CPU that temporarily hold data and
instructions that are being processed.
4. Cache:
• Computer Architecture:
• Computer Organization:
o Involves the physical aspects of a computer system, such as the hardware and the
actual data paths, data processing elements, and control signals. It focuses on how
the components of the system are interconnected and operate together.
1. Accumulator (AC):
o Holds the address in memory where the CPU intends to read or write data.
o Points to the top of the current stack in memory, which is used to keep track of
call/return addresses during subroutine execution.
• RAM (Random Access Memory): This is the primary storage location for a computer's
operating system, applications, and data that is currently being used. RAM is volatile,
meaning its contents are lost when the power is turned off.
• ROM (Read-Only Memory): This type of memory stores essential instructions and data
that the computer needs to boot up and function. ROM is non-volatile, meaning its
contents are retained even when the power is off.
Question 2
• Computer Bus: A computer bus is a communication system that transfers data between
components within and outside a computer.
1. Address Bus: Carries memory addresses between the CPU and main memory.
2. Data Bus: Transfers data between the CPU and other components, such as
memory and input/output devices.
3. Control Bus: Transmits control signals that coordinate the activities of various
computer components.
b) What is an application software? State and explain two types of application software,
giving examples in each case.
1. Word Processors: Used for creating and editing text documents. Examples
include Microsoft Word, Google Docs, and LibreOffice Writer.
• Processor Functions:
Question 3
• Motherboard Types:
2. Micro ATX (µATX): A smaller version of ATX, often used in compact systems.
3. Mini-ITX: A very small form factor motherboard, suitable for ultra-compact
systems.
b) List and explain factors that affect the performance of a computer system.
1. Processor Speed: The clock speed of the CPU determines how fast it can execute
instructions.
2. Memory (RAM): The amount of RAM available affects how much data the
system can handle at once.
3. Storage Speed: The speed of the hard drive or SSD influences how quickly data
can be accessed.
4. Graphics Card: For systems with high graphical demands, a powerful graphics
card is crucial.
• PCI Slots: PCI slots are expansion slots on the motherboard that allow the addition of
various devices, such as network cards, sound cards, and graphics cards.
1. Hexadecimal: A base-16 number system using digits 0-9 and letters A-F.
Question 4:
a) The von Neumann architecture provides a model through which most computer designs
are based. Describe the architecture clearly illustrating your answer. (6 Marks)
o The CPU is divided into the Arithmetic Logic Unit (ALU), which performs
computations, and the Control Unit (CU), which interprets instructions from
memory and coordinates the operations of the computer.
o In this model, data and instructions are stored in the same memory, which can be
accessed by the CPU for processing. The architecture is based on the concept of a
stored-program computer, where instructions are fetched from memory, decoded,
and executed sequentially.
1. Low-Level Languages:
o These are closer to machine language and include assembly languages and
machine code. They provide minimal abstraction from the hardware and are used
to write programs that directly control the computer hardware.
2. High-Level Languages:
o These are more abstract and easier for humans to read and write. They include
languages like Python, Java, and C++. High-level languages are more user-
friendly and often compiled or interpreted into machine code.
3. Scripting Languages:
o These are often high-level languages designed for integrating and communicating
with other programming languages. Examples include JavaScript, Python (when
used for scripting), and Bash. Scripting languages are often used to automate tasks
or create dynamic content on the web.
c) Discuss the concept of instruction interrupt and List 4 types of interrupts. (6 Marks)
o An interrupt is a signal sent to the processor that temporarily halts the current
execution of instructions, allowing the CPU to address a higher-priority task.
After handling the interrupt, the CPU resumes its previous task.
• Types of Interrupts:
2. Software Interrupt: Generated by software programs when they require the CPU’s
attention (e.g., system calls).
3. Timer Interrupt: Triggered by a timer within the CPU, used for multitasking and timing
operations.
4. I/O Interrupt: Occurs when an input/output operation is complete, signaling the CPU to
process the data.
1. Resource Management:
o Manages hardware resources like CPU, memory, and I/O devices, ensuring they
are used efficiently.
2. Process Management:
o Organizes and controls file storage, including reading, writing, and accessing files
on storage devices.
o Protects system resources and data from unauthorized access, ensuring user
authentication and data encryption.
Question 5:
• Fetch-Decode-Execute Cycle:
1. Fetch: The CPU fetches the instruction from memory, located at the
address pointed to by the program counter.
b) What is a chipset? Identify two major components of the chipset, clearly stating their
roles. (6 Marks)
• Definition of Chipset:
o A chipset is a group of integrated circuits that manage the data flow between the
processor, memory, and peripherals. It controls the communication between
different parts of the computer.
• Two Major Components:
1. Northbridge:
▪ Role: Connects the CPU to high-speed devices, including the RAM and
graphics card (GPU). It is responsible for tasks that require fast data
processing.
2. Southbridge:
c) How data files are stored in secondary storage varies with the types of media and devices
you are using. Describe various file access and organization methods. (6 Marks)
1. Sequential Access:
2. Direct Access:
▪ A separate index is maintained alongside the file, allowing for quick direct
access to records. This is efficient for searching and retrieving data.
1. Compatibility:
o Ensure that the new hardware components are compatible with the existing
system, including the motherboard, CPU socket, and power supply.
2. Performance Improvement:
3. Cost:
o Evaluate the cost-effectiveness of the upgrade, comparing the benefits against the
investment. It's important to prioritize upgrades that offer the best value for
money.
4. Future Proofing:
o Choose components that will remain useful and effective for a few years,
allowing for future expansions or upgrades without requiring a complete system
overhaul.