1.1 Summary Notes Computer Science A Level OCR
1.1 Summary Notes Computer Science A Level OCR
(d) Pipelining
- Allow one instructions to be decoded/executed while the previous one is
fetched/decoded
- Jump instructions can’t be used with pipelining as the wrong instruction can be
fetched/decoded which causes the pipeline to ‘flush’.
(e) Von Neumann, Harvard, contemporary architecture
Computers are built off from mainly 2 architectures:Von-Neumann/Harvard Architecture:
Reduced instruction Set Computer (RISC) Complex instruction Set Computer (CISC)
- Simple processor design - Complicated processor design
- Simpler Instructions used - Complex Instructions used
- One machine cycle per instruction - Each instruction (Many cycles)
- Allows pipelining - No pipelining
- Shorter instruction set - Longer instruction set
- Requires More RAM - Requires Less RAM
- Simple circuitry is cheaper - Integrated circuitry is more expensive
- Programs run faster due to simple instructions - Programs run more slowly due to
complicated circuit
- Limited Instructions available - Many Instructions available
- An instruction performs a simple task so - An instruction can do complex tasks
complex tasks can only be performed so no need to combine many instructions
by combining multiple instructions
(b) GPUs
- Specifically designed for enhancing graphics
- Have inbuilt circuitry & instruction set for graphics based calculations
- Large number of cores = run highly parallelizable problems
- Perform on-screen graphics transformations quickly
- Tackles problems in: Science/Engineering, data mining, audio processing, password
beaking, machine learning
Multicore processors
- More than one processor incorporated into one chip
- Focuses efforts of multiple CPUs into 1 task
- Hard to program code to decompose problems efficiently for multicore processing
Parallel Systems
- A computer which does multiple computations simultaneously to solve a problem which
takes less time to do one job
- Parallel processing isn’t suited to all to problems. Most problems are only partially
parallelizable.
- Allows faster processing and speeds up arithmetic processes as multiple instructions are
processed at the same time and complex tasks are performed efficiently.
- Complex OS & specific code has to be written for maximum efficiency of parallel
processing.
Different approaches to Parallel processing:
- SIMD (Single Instruction Multiple Data): The same instruction operates simultaneously on
multiple data locations
- MIMD (Multiple Instructions Multiple Data): Different instructions operate concurrently
on different data locations
Storage Devices
- A secondary storage device is the physical hardware that carries out the storage action.
Archive: transfer (data) to a less frequently used storage medium such as magnetic tape.
Back-up: a copy of a file or other item of data made in case the original is lost or damaged.
(b) Magnetic, flash and optical storage devices
- Peripheral devices used to permanently store data when Power OFF
- 3 Main storage categories: Magnetic/Flash/Optical
- High Capacity at Low - No moving parts = less power - Cheap & resilient
Cost - High read/write speeds
- Less Space & Run silently
- Data can be written over by allowing - Non Volatile: Contents not lost when
user to alter saved files in current use Power OFF