Topic-1 Computer System (Pre IG) (New Book) P
Topic-1 Computer System (Pre IG) (New Book) P
Pre IGCSE
https://www.baamboozle.com/game/1149
Mouse
A mouse can roll about on the desk. The mouse
sends a signal to the computer. It tell the Microphone
computer when it moves. A pointer on the A microphone turns sound into electric signals.
screen moves about. The mouse has a button.
Clicking the button can make the choices. Camera
A camera turns pictures into electric signals.
❖ If the electricity inside a computer cannot be seen, how it be found out what is
inside the computer?
○ The answer is to use an output device.
❖ Output devices take the electricity from the processor. They turn the electrical
signals into things that can be seen and used.
logic gate is a physical device or circuit that carries out a logical operation.
bus is communication line used to transfer signals from one part of a digital device to another for example, a set of wires used to transfer data around the inside
of a computer.
truth table is a table which shows all possible combinations of inputs and outputs for a logic gate.
HLL is a programming language, suchas Python, that is closer to human language than the language a computer understands.
LLL is a programming language, where the commands link directly to the instructions the processor can carry out.
Low-level language
▪ A programming language, where the commands link directly to the instructions the
processor can carry out
Assembly language
▪ A low-level language designed for a specific processor
1. Control Unit
The control unit manages the work done by the CPU.
⮚When an instruction arrives at the CPU, it goes to the control unit.
⮚The control unit works out what the instruction means.
⮚The control unit makes sure that the other parts of the CPU do the work needed to carry out the
instruction.
2. ALU
⮚ALU does all the calculations in the CPU.
⮚The control unit sends instructions to the ALU.
⮚The ALU carries out the instructions.
24
Buses
⮚The three parts of a CPU are joined together by connections called buses.
⮚Buses are high speed connections that carry data around inside the CPU.
1. Address bus
▪ carries details of an address location in memory which is being accessed so data can be
written into it or read from it
2. Data bus
▪ carries data signals around the inside of the device
3. Control bus
▪ carries control signals to different parts of the digital device telling them what task they need
to carry out next
1 Byte = 8 Bits
Disadvantages ⮚ Its contents are lost when the ⮚ It is further away from the CPU.
computer is switched off. It takes longer for the CPU to
get data and instructions from
secondary storage than from
RAM.
Introduction to Computer System 33
The fetch-execute cycle
The CPU carries out instructions millions or even billions of times a second.
Every time it carries out an instruction it follows these steps.
❖Fetch: The control unit ‘fetches’ the instruction from RAM. The instruction travels down the bus
from RAM to the control unit.
❖Decode: The instruction is in the form of a binary number code. The control unit knows all the
binary number codes. The control unit ‘decodes’ the instruction, so it knows what to do.
❖Execute: The control unit sends a signal to the ALU to tell it what to do. The ALU carries out the
instruction. ‘Execute’ means carry out an instruction.
❖Save: If the instruction produces a result, then the ALU sends the results back to RAM.
Introduction to Computer System 34
Work example