Definitions: (Key words - in red and their definitions in yellow you need to learn by heart )
Hardware: Physical components of a computer (something you can touch)
Software: Programs that run on the computer (you can't hold them in your hand)
Systems software: Set of programs needed to control the hardware (Operating System)
Applications software: Programs that allows the user to carry out a task or produce something.
Physical & Logical Model
To simplify a complicated computer into logical functions we use a Logical model of the sytem.All components are divided into
The parts of the Computer: The Processor and components that control the data (i.e. the computer box)
Peripherals: External devices that are connected to the computer
Input devices: Enable a turn things from the real human physical world into data for the digital computer. (Keyboard, Mouse, Microphone, Sensor, Wii remote, Wii Fit board etc)
Output Devices: Take data from the digital world and communicate it with the real human physical world. (Monitor or VDU, Speakers, Printer etc).
Storage Devices: Backing Storage is used to save data and retrieve it later. It is non-volatile so remains saved after power is turned of. (Hard Drive, DVD, CD Rom, USB memory stick, floppy disk, Magnetic tape etc
Main Memory: (e)
There are 2 types of Memory
RAM: ( Random Access Memory, also known as; Immediate Access Store or Primary Memory)
Memory in which data is temporarily stored for processing. A temporary (volatile) storage area used to load program instructions and store files currently in use.
ROM (Read Only Memory also known as firmware)
An integrated circuit programmed with specific data when it is manufactured
It is non-Volatile part of the memory that hold special programs to help the computer start up.
Contains parts of the BIOS (Basic In Out System)
The BIOS checks the hardware is working properly.
Runs the Bootstrap program. Which locates the Operating System and loads it into RAM.
Known as Booting up the computer
Further Reading:
New replacement for BIOS in 2011 (Click here for Story)
(not part of syllabus but interesting for the future of your computer)
Processor (or CPU) (a)
ALU (Arithmetic Logic Unit):
This does all the computer's calculations:
Performs arithmetic functions on the data (in Binary)
It does all the maths
Performs logical operations on the data.
(e.g. comparing values <= > etc)
•Acts as a gateway to processor;
a conduit through which all I/O to computer is done
Control Unit:
Manages how CPU instructions are carried out.
Co-ordinates activities taking place in the CPU
Co-ordinates memory and peripherals
Registers: (b)
A series of special on-chip memory that monitor, store binary data and control the information being Fetched & Executed
PC - Program Counter:
Holds the memory address of the next instruction to be executed by the program
Determines the sequence in which the program instructions are executed
It ensures that the CPU always knows where it has reached and is able to resume at the correct point following the execution of an instruction
Also known as the Sequence Control Register
MAR - Memory Address Register
Holds the address of the data or instructions currently being carried out or accessed in the main memory
(sent from the above PC)
i.e. the address of the data / instruction that has been just been fetched
CIR - Current Instruction Register
Instructions from memory are placed here so that the contents can be decoded and executed.
i.e. It holds the instruction while it is being decoded / executed
CIR holds the current instruction in the processor while it is being decoded and executed.
This speed of the whole execution process.
Because the time needed to access the instruction register is much less than continual checking of the memory location itself.
CIR will contain both the Operator and Operand of the current instruction
e.g. LDA 1001.
MDR - Memory Data Register (also known as buffer register)
All instructions and data pass in and out of main memory via MDR
The contents (data or instruction) of the address specified in the MAR are copied here
e.g. the number to be added or instruction to be carried out.
SR - Status Register (also known as Flag Register)
The flag register is specially designed to contain all the appropriate 1-bit status flags, which are changed as a result of operations involving the arithmetic and logic unit.
It contains 'bits' that are set or cleared based on the result of an instruction.
(also known as Program Status Words or PSWs)
Status registers also contain information about interrupts
General Purpose Registers (Including the Accumulator)
GPRs are used for performing arithmetic functions
Some computers have only one, the Accumulator;
others have up to 16 general purpose registers.
The Accumulator is used to accumulate; RESULTS
Results of processing operations (answers) are stored here temporarily, before being sent to memory (RAM)
Buses (C)
• There are 3 main buses relating to the CPU
Data Bus:
Carries the data to and from the processor
Address Bus
Carries the location (address) the data is sent from, and the address it is going to
Control Bus
Sends instructions ( control signals) from the Control Unit to processor to allow synchronization of commands
(Buses are circuits or highways used to move binary data around the computer).
Organised as parallel groups of wires in the computer and used to transmit / send data (as groups of bits) from one location to another. They carry data around like real buses carry people
e.g. 8 bites sent in parallel used to send a byte of data.
Pre Test Homework (for week ending 26/9/2010)
1) Complete the poster of the CPU and email to me mr.gazz@gmail.com
2) Components Homework (You will have to revise from your notes)
There may be access to moe notes and interactive quizes from Wednesday.
Further Reading