Paper 1, section 1 Flashcards
Hardware
Physical stuff that makes up computer system eg CPU, Motherboard and Monitor
Software
Programs or applications that a computer system runs eg operation system
Embedded system
Computes that built into other devices eg dish washer, used to control systems
Power supply
Supplies power to motherboard, optical hard drives etc
Case cooling fan
Extracts hot air from the computer
CPU heat sink and cooling fan
keeps the CPU at steady temperature
CPU
~ the brain of the computer.
~ processes instructions and data.
~ processing power of a CPU depends on clock speed/ number cores/cache size.
Optical drive
For read/writing of optical discs
RAM
Computer Memory
Motherboard
The main circuit board, where the hardware is connected
Hard Disc Drive
Internal secondary storage
CPU 3 main parts
1) Control Unit
2) Arithmetic Logic Unit
3) Cache
The Control Unit
~ overall control of the CPU.
~ job to manage fetching, decoding and execution of program instructions
~ controls flow of data inside and outside the CPU.
The Arithmetic Logic Unit
~ does all calculations.
~ performs logic operations AND, OR, NOT and binary shifts.
~ contains accumulator.
The Cache
~ very fast memory, slower than the register , but faster than RAM.
~ stores regularly used data, CPU can use it quickly.
~ checks the Cache first to see if the data is there, if not it will fetch it from RAM.
~ has low capacity.
~ expensive compared to RAM.
provides fast access to frequently used instructions and data
The Von Neumann architecture
Describes system where CPU runs programs stored in memory.
The Von Neumann architecture, Program Counter
Holds the memory address of the instruction for each cycle
The Von Neumann architecture, Accumulator
Stores immediate results of calculations in the ALU
The Von Neumann architecture, Registers, MDR ( Memory Data Register )
Holds actual data or instructions
The Von Neumann architecture, Registers, MAR ( Memory Address Register )
Holds any memory address about to be used by the CPU.
Fetch- Decode Cycle
All a CPU does is carry out instructions
Fetch instruction
~ copy memory address from Program Counter to MAR.
~ copy the instructions stored in the MAR address to the MDR.
~ Increment ( increase ) the Program Counter to point to the cycle address of the next instruction, ready for the next cycle.
Decode instruction
~ instructions in the MDR decoded by the CPU.
~ CU prepare for the next step ( by loading values into the MAR or MDR ).
Execute instructions
~ instructions performed, could be: load data from memory, write data to memory, do a calculation or logic operation, change the address in the PC , or halt the program.