1.1 The characteristics of contemporary processors, input, output and storage devices Flashcards

Components of a computer and their uses

You may prefer our related Brainscape-certified flashcards:
1
Q

Control Unit

A

Directs the operation of the CPU.
It does the following jobs:
- Controls and Coordinates activities of the CPU
- Manages flow of data between CPU and other devices
- Accepts next intruction, decodes it, and stores resulting data back in memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Program Counter

A
  • Holds the address of the next instruction to be executed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Memory Address Register

A
  • Holds the address of the memory location from which data or instruction is to be fetched or to which data is to be written.
  • Sends these addresses down the address bus.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Memory Data Register

A
  • Used to temporarily store data which is either read from or written to memory.
  • All data to and from memory must travel down the MDR.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Current Instruction Register

A

Holds the current instruction which is being executed.
- Contents of MDR are copied to CIR if its an instruction.
- Contains Opcode and Operand of the current instruction. (Instruction = Opcode + Operand)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Arithmetic Logic Unit

A

Performs Arithmetic and Logical operations on data. This can be:
- Arithmetic operations on fixed and floating points (ADD. SUBTRACT, MULTIPLY, DIVIDE)
- Bitwise operations left or right.
- Boolean logic operations (AND, OR, NOT, XOR)
- Often used as general purpose registers to temporarily hold results of caluculations such as Accumulator.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Accumulator

A
  • One of a number of general purpose registers that modern CPU’s have.
  • Data or Control info is often stored in them.
  • Resuls of calculations carried out in the ALU are stored in the ACC.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

General Purpose Registers

A
  • CPU may have many general purpose registers for storing temporary data while instructions or calculations are being carried out.
  • More general purpose registers = Faster
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The three Buses

A
  • Address Bus - Carried memory address that identify where data is being read from or written to.
  • Data Bus - Carries Binary 1’s and 0’s that make up the actual info being transmitted around the CPU/Computer.
  • Control Bus - Carries command and control signals to and from every other component of the CPU/Computer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Fetch, Decode, Execute Cycle

A

Fetch:
- The PC is checked.
- Address from the PC is copied into the MAR.
- Instruction held at that address is copied into the MDR by the data bus.
- Simultaneously, the contents of the PC are increased by 1.
- The value held in the MDR is copied into the CIR.
Decode:
- The contents of the CIR are split into Operand and Opcode
Execute:
- CIR sends the data to the MAR
- MAR will send the address down the address bus to the main memory.
- As we want to read the data in the MAR, the CU will send read signals along the control bus to the main memory.
- The contents stored in the memory can be sent along the data bus to the MDR.
- They are then coppied into the ACC, completing the instruction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Pipelining

A
  • Pipelining is the process of completing the FDE cycle of three separate instructions simultaneously, while holding appropriate data in a buffer in close proximity to the CPU until it is required. While one instruction’s being executed, another can be decoded, and another can be fetched.
  • Pipelining is aimed to reduce the amount of the CPU which is kept idle.
    Processor Pipelining is often divided into:
  • Instruction: Consists of stages in which an instruction is moved through the processor, including: it being fetched, buffered and executed.
  • Arithmetic: Represents parts of the Arithmetic operation that can be broken down and overlapped as they’re performed.
    Pipelining is now common in micro-processors used in computers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Factors which affect the performance of the CPU

A
  • Clock speed - measured in GHz, the more there are, the higher number of instructions fetched per second.
  • Cache size - Quicker to access than the main memory.
  • Number of cores - In some cases, the more cores the better. However more cores may have power to run multiple programs, it takes time for them to communicate with eachother and many programs aren’t designed for multiple cores.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Von Neumann Architecture

A
  • Shared memory space for instructions and data.
  • Instructions and data are stored in the same format.
  • A single control unit or processor follows a linear FDE cycle.
  • One instruction is completed at a time.
  • Registers are used as fast access to instructions and data.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Harvard Architecture

A
  • Instructions and data are stored in separate memory units.
  • Each has its own bus.
  • Reading and writing data can be done at the same time as fetching an instruction.
  • Used by RISC processors.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Examples of contemporary architectures

A
  • SIMD (Single Instruction Multiple Data - Parallel processing carries out a single instruction on multiple data items at the same time - often used by graphic processors.
  • MIMD - Multiple Instructions Multiple Data - Multiple instructions carried on multiple data items across several cores.
  • Distributed Computing - Multiple computers on a shared network each take on parts of a bigger problem. This can be done on a grand scale over the internet such as (NASA’s SEIT@Home initiative)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

GPU

A

Graphics Processing Unit.
- Device which unlike the CPU has a lot of independent processors which work in parallel making it very efficient at completing repetitive tasks such as image processing and machine learning.
- GPU is an example of a type of co-processor (secondary prcessor designed to supplement activities of the primary processor).

17
Q

Multi-core systems

A

Multiple independent cores that can complete instructions separately which results in higher performance. Usually recommended in larger projects.

18
Q

Parallel systems

A

Instead of requiring multiple cores like a multi-core system, Parallel systems accomplish a simillar task using a single core by using threading.

19
Q

Optical devices

A

They are read from and written to using lasers. Binary information is represented by portions of the disc which either reflect or scatter the incident laser light written in spiral tracks on the disc’s surface.

On the surface of a CD, there are pits and lands. Pits represent 0 in binary, and land represents 1 in binary.

Examples:
- CD’s
- DVD’s
- Blu-Ray

20
Q

Magnetic Storage devices

A

Devices which store information magnetically represent binary information of two magnetic states: polarised and unpolarised. If an are is polarised, all magnetic polars align and can be read by a read/write head passing over the region. If they are not polarised, ples randomly scatter an produce a different reading on a read/write head These two states can represent 1 and 0, allowing any information to be represented in binary form.

Examples of Magnetic Storage:
- Hard Disk Drives
- Magnetic Tape
- Floppy Disks

21
Q

Flash Storage

A
  • Flash storage is fast and compact. The technology makes use of silicon semiconductors forming logic gates
  • Not AND (Preffered logic gate for larger files like photos and videos)
  • Not OR (Storing small quantities of data such as code to be executed) to store electrical charge in one fo the two states: high and low.
  • These two states represent the binary values True and False which can be used to represent information.
  • Info is stored in blocks, which are combined to form pages
  • Flash memory can be erased and reprogrammed electronically and is non-volatile, meaning it stores data even when the power is lost, making the SSD a good replacement for HDD’s since it has better performance and same functionality.
  • However, Flash memory costs more per GB than other methods of data storage.
    Example:
    Solid State Drives
22
Q

RAM

A

Random Access Memory. Fast main memory thats used to store data and programs that the computer is currently using. This speeds up the computer’s execution as RAM has higher access speeds than flash memory. RAM is more expensive per GB and secondrary storage devices, so computers only have 4 or 8 GB RAM compared to 1TB on Secondary Storage.
RAM is volatile so it loses information when power is lost.

23
Q

ROM

A

Read Only Memory. This means that memory cannot be modified here , once programmed, the state of the memory cells do not change. ROM is useful for storing fixed sequence of instructions like a computer startup (bootstrap) routine. ROM isnt volatile, so it retains data even when computer is powered off.

24
Q

Virtual Storage

A

Storing information remotely so that it can be accessed by any computer with access to the same system.

Examples:
- Google Drive
- OneDrive
- Network storage used in offices and school.

How it works:
Virtual storage is often an abstraction of multiple drives acting like one. Info is stored in the cloud on 100s of HDD or SSD’s formatted to act as a single peice of storage.

Even though it is convenient, it disadvantages include limitations on users network speed and high costs.