The Computers section of the specification is where you learn what actually sits inside the machine you use every day, how its components cooperate, and why certain design decisions affect performance. This is the architectural core of the edexcel igcse computer science computers content.
This section spans five topics: machines and computational modelling, hardware, logic, software, and programming languages. The computers edexcel igcse material is tested heavily on Paper 1. Hardware and logic, in particular, appear with notable regularity. These edexcel igcse computer science revision notes for the 4CP0 qualification cover each topic with the precise terminology examiners expect.
Machines and computational modelling
All computer systems follow the input-process-output model. Data enters the system through input devices, is manipulated by the processor, and the results are sent to output devices. This model applies whether the system is a desktop computer, a smartphone, or an embedded sensor in a washing machine.
The igcse 4cp0 computers specification also requires you to understand that there are different computational models:
- Sequential: instructions are executed one after another, in order. This is the standard model for most single-processor systems.
- Parallel: multiple instructions are executed simultaneously, using multiple processors or processor cores.
- Multi-agent: multiple independent entities (agents) interact and cooperate to solve a problem. Each agent may have its own rules and goals.
Exam questions on computational models typically ask you to describe a scenario and identify which model applies, or to explain the advantage of parallel processing over sequential processing for a given task.
Hardware
Hardware is the physical component of a computer system. The specification organises this into several sub-areas, each of which demands precise knowledge.
The central processing unit (CPU)
The CPU is the component that executes instructions. It consists of several parts that work together through the fetch-decode-execute cycle (the Von Neumann model):
| Component | Function |
|---|---|
| Control Unit (CU) | Coordinates the activities of all other components. Fetches instructions, decodes them, and controls their execution. |
| Arithmetic/Logic Unit (ALU) | Performs arithmetic calculations (addition, subtraction) and logical comparisons (AND, OR, NOT). |
| Registers | Small, fast storage locations within the CPU. Include the Program Counter (PC), Memory Address Register (MAR), Memory Data Register (MDR), and Accumulator. |
| Clock | Generates regular electrical pulses that synchronise operations. Each tick triggers one step in the cycle. |
The CPU communicates with memory and other components through three buses:
- Address bus: carries the memory address the CPU wants to read from or write to. Unidirectional (CPU to memory only).
- Data bus: carries the actual data being transferred. Bidirectional (data travels in both directions).
- Control bus: carries control signals (such as read/write commands). Bidirectional.
The fetch-decode-execute cycle
This is the fundamental operation of the Von Neumann architecture:
- Fetch: The address in the Program Counter (PC) is copied to the Memory Address Register (MAR). The instruction at that address is fetched from RAM and placed in the Memory Data Register (MDR). The PC is incremented to point to the next instruction.
- Decode: The Control Unit decodes the instruction to determine what operation to perform and what data is needed.
- Execute: The instruction is carried out. This might involve the ALU performing a calculation, data being moved to or from a register, or a result being written to memory.
This cycle repeats continuously while the computer is running.
Factors affecting CPU performance
| Factor | How it affects performance |
|---|---|
| Clock speed | Measured in GHz. A higher clock speed means more cycles per second, so more instructions can be executed per second. |
| Number of cores | Each core can process its own fetch-decode-execute cycle. More cores allow more instructions to run simultaneously (parallel processing). |
| Cache size | Cache is small, fast memory inside the CPU. Larger cache stores more frequently used data close to the processor, reducing the time spent fetching from slower RAM. |
| Cache type | L1 cache is fastest but smallest. L2 is larger but slower. L3 is shared across cores. The distribution across levels affects overall speed. |
Types of memory
- RAM (Random Access Memory): Volatile. Stores data and instructions currently in use. Contents are lost when power is switched off.
- ROM (Read Only Memory): Non-volatile. Stores the boot-up instructions (BIOS/firmware). Contents are not lost when power is switched off. Cannot be easily modified.
- Cache: Very fast, very small memory inside or close to the CPU. Stores frequently accessed data to reduce access times.
- Virtual memory: A section of the hard drive used as an extension of RAM when physical RAM is full. Much slower than RAM, but prevents the system from crashing when memory demand exceeds physical capacity.
Secondary storage
Secondary storage retains data when the computer is powered off. Three technologies are covered:
- Magnetic storage (hard disk drives): Uses spinning platters with a magnetic coating. High capacity, relatively low cost, but mechanical parts make it slower and more fragile.
- Optical storage (CD, DVD, Blu-ray): Uses a laser to read and write data on a disc. Portable and cheap, but low capacity and slow compared to alternatives.
- Solid state storage (SSD, USB flash drives): Uses flash memory with no moving parts. Fast, lightweight, durable, but more expensive per gigabyte than magnetic storage.
The specification also covers cloud storage, where data is stored on remote servers accessed via the internet. Advantages include accessibility from any device and automatic backups. Disadvantages include dependence on an internet connection and potential privacy or security concerns.
Embedded systems
An embedded system is a computer built into a larger device to perform a dedicated function. Examples include the control system in a washing machine, the ABS system in a car, and the processor in a smart thermostat. Embedded systems are typically designed for a single purpose, use minimal power, and run continuously without user intervention.
Logic
Logic gates perform Boolean operations on binary inputs. The specification requires you to construct and interpret truth tables for AND, OR and NOT gates, and to produce logic statements for given problems.
| Gate | Symbol expression | Output is 1 when... |
|---|---|---|
| AND | A AND B | Both inputs are 1 |
| OR | A OR B | At least one input is 1 |
| NOT | NOT A | The input is 0 |
Worked example: truth table for (A AND B) OR (NOT C)
| A | B | C | A AND B | NOT C | (A AND B) OR (NOT C) |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 |
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 | 1 |
When constructing truth tables, add intermediate columns for each sub-expression. This prevents errors and makes your method visible to the examiner.
Software
Software is divided into two categories:
- System software manages the computer's hardware and provides a platform for application software. The operating system is the primary example.
- Application software is designed for end users to perform specific tasks: word processors, spreadsheets, web browsers, games.
Operating systems
An operating system manages four key resources:
- Files: organising, storing, retrieving and protecting files on secondary storage.
- Processes: scheduling and managing which programs run and in what order, especially when multitasking.
- Hardware: managing device drivers so that software can communicate with peripherals (printers, keyboards, monitors).
- User interface: providing a way for users to interact with the computer (graphical, command-line, or menu-driven interfaces).
Utility software
Utilities are system software tools that perform maintenance tasks:
- File management: managing, repairing and converting files between formats.
- Compression: reducing file sizes for storage or transmission.
- Defragmentation: reorganising fragmented data on a magnetic hard drive so that files are stored in contiguous blocks, improving read speed.
- Backup: creating copies of data to protect against loss.
- Anti-malware: detecting and removing malicious software.
Simulation and modelling
Simulation uses software to model real-world systems. Flight simulators train pilots without risk. Weather models predict storms. Financial models test investment strategies. The edexcel igcse computer science explained content on modelling asks you to understand both the benefits (safety, cost savings, ability to test scenarios) and the limitations (models are only as accurate as their data and assumptions).
Programming languages
Programs must be written in a language the computer can process. Languages fall into two broad categories:
- High-level languages (Python, Java, C#) are written in a form close to human language. They are portable (can run on different hardware), easier to read and debug, but must be translated before the CPU can execute them.
- Low-level languages (machine code, assembly language) are closer to the binary instructions the CPU understands. They run faster and give direct hardware control, but are harder to write, read and debug.
Translators
| Translator | What it does | Key characteristic |
|---|---|---|
| Assembler | Translates assembly language into machine code | One assembly instruction maps to one machine code instruction |
| Compiler | Translates the entire high-level program into machine code before execution | Produces a standalone executable. Errors are reported after the whole program is analysed. |
| Interpreter | Translates and executes high-level code one line at a time | No standalone file is produced. Errors are reported as each line is reached. Slower at runtime but useful for development and debugging. |
Self-check questions
Test yourself with these edexcel igcse computer science practice questions. Check your edexcel igcse computer science notes only after attempting each one.
- Describe the three stages of the fetch-decode-execute cycle, naming the registers involved at each stage.
- Explain two reasons why increasing the number of CPU cores does not always improve performance.
- Construct a truth table for the expression: NOT (A OR B) AND C.
- Compare the advantages and disadvantages of solid state storage and magnetic storage for a school file server.
- Explain the difference between a compiler and an interpreter. State one situation where each would be more suitable.
The Computers section tests your understanding of how digital systems are built and how their components interact. The key to performing well is precision: use the correct technical terms, name specific components rather than speaking in generalities, and show methodical working in truth tables. Vague answers about "the computer processing data" will not earn marks. Specific answers about "the ALU performing an arithmetic comparison and storing the result in the accumulator" will.
Complete revision notes for edexcel igcse computer science computers: hardware, CPU, memory, logic gates, software, and programming languages.
Comentario(s)