P13 - 18 Flashcards

1
Q

Von Neumann Architecture

A

Every computer is made up of:
A processing unit that contains an ALU and processor registers.
A control unit that contains an instruction register and program counter register,
Memory that stores both data and instructions.
External data storage.
Input and output mechanisms.

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

Fetch

A

CPU fetches data and instructions from RAM.
CPU stores in its own memory called registers.
CPU uses address bus.
The memory address of the next item in the CPU wants is put onto the address bus.
Data from this memory travels from RAM to CPU on the data bus.

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

decode

A

The CPU works out what the instruction it just fetched actually means.
The control unit decodes the instruction and gets things ready for the next step.
It does this by looking up the instructions from the instruction set.
This is the full list of operations that a microprocessor can carry out.

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

execute

A

Data processing happens.
Instructions are carried out on the data,
Some instructions are carried out by the ALU.

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

Fetch decode execute

A

Fetch
The CPU fetches data and instructions from the RAM.

Decode
CPU working out what the instructions it fetched actually means.

Execute
Data is processed

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

Central Processing Unit (CPU)

A

The CPU is the brain of the computer.
It is the hardware component responsible for all the processing that the computer carries out.
Its job is to process data.
Processing means: searching, sorting, calculating and decision-making.

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

Control Unit

A

The control unit receives signals from other parts of the computer system and sends signals to them.
It is responsible for handling hardware interrupts.
It is responsible for fetching, decoding and executing instructions.
It has the most responsibility.
It is the powerhouse of the CPU.

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

Arithmetic Logic Unit (ALU)

A
Performs actual operations on data.
Arithmetic: + / = *
Logic: AND, OR, NOT
It is able to compare numbers against 0.
It can test if two numbers are equal.
It uses logic gates in combination to perform operations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Registers

A

Also known as immediate access storage.
Registers are a type of memory that is extremely fast.
Each type of processor has different registers that are designed to hold different information.
Most processors have:
An instruction register - holds instructions currently being executed by the CPU.
An accumulator - holds the accumulated result of operations carried out by the ALU.
A program counter - holds the memory address of the next instruction to be executed.

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

clock

A

A clock chip determines the speed of the CPU.
This chip uses vibrating crystals that maintain a constant rate of vibration.
The speed of the clock is measured in Hertz (Hz), which is the amount of cycles per second.
Current computers have a clock speed of 3GHz, which means 3 billion cycles per second.
Each ‘tick’ means that one part of the fetch,decode,execute cycle can be carried out.

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

pipelining

A

Pipeline is a method of keeping all the components busy to improve overall CPU performance.
Pipelining attempts to keep every component busy at all times.
Instructions flow through the CPU in stages.
This means that an instruction can be completed every clock cycle.
This increases CPU throughput allowing overall performance to be outputted.
A CPU is fully ‘pipelined’ if an instruction can be fetched every clock cycle.

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

a) clock
b) pipelining
c) instructions
d) fetch decode execute
e) control unit
f) ALU
g) RAM

A

a) clock
An electronic device that ‘ticks’ at regular intervals and is used to synchronise the actions of the other components of the CPU.

b) pipelining
A way of improving the performance of the CPU. The stages of the fetch-decode-execute cycle are overlapped. While the CPU is executing one instruction, it is decoding a second and fetching a third one from memory.

c) instructions
An operation that the CPU carries out.1

e) control unit
The unit that decodes the instruction and coordinates all the actions of the other components.

f) ALU
Carries out arithmetic operations (add, shift) and Boolean logic operations (AND, OR, NOT)

g) RAM
The memory where the instructions and data are stored for programs.

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

Instructions and data

A

In a computer, everything is represented in binary.
This includes the instructions that the CPU needs to carry out.
Instructions and data are stored in RAM until they are needed by the CPU.
Each instruction and item of data is a location in memory.
Each element of the memory has a unique address.
This means that each instruction has an address.
The first memory element that contains the instructions is the address of the instruction.

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

data bus

A

Carries binary data from component to component.
For example an instruction from RAM that is being transferred to the CPU.

Bidirectional
Two way data transfer is required when reading and writing data to memory.

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

control bus

A

Carries signals that control the CPU components.
For example a signal to start fetching the next instruction.

Bidirectional
It needs to carry status information to devices and to carry the status information signals that devices send back.

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

address bus

A

Carries the address of a memory location.
For example the address of an instruction being fetched from memory.

Unidirectionality
The CPU can point to the addresses in memory or to other devices, however those hardware components cannot point to an address in the CPU.

17
Q

Magnetic

A

Magnetic media are coated with a substance that can be magnetised.
Magnetic storage technology works by magnetising parts of this substance as north and south poles to represent binary 1s and 0s.
Examples include: hard disk drive, tape drive and cassette.

18
Q

Optical

A

Optical media consists of a platter with a flat reflective surface.
Optical storage technology works by using a laser to burn ‘pits’ into the flat surface.
The reflective areas between pits are known as ‘lands’.
A laser is directed onto the medium’s surface.
When it hits land, a beam reflects (this is read as binary 1).
When it hits a pit, the beam does not reflect (this is read as binary 0).
Examples: CD and DVD.

19
Q

solid state / flash

A

Solid state media consists of silicon chips that feature a special kind of transistor called NAND flash.
This type of media is called ‘solid state’ because it has no moving parts.
Solid state technology works by using a large electric current to force electrons through a barrier trapping them in positions called pools.
A full pool - 0.
An empty pool - 1.
Examples include: SSD card, USB, SD memory card and flash storage.

20
Q

optical advantages + disadvantages

A

+ Cheap to produce
Thin and lightweight
Portable

  • Slow to access
    Low capacity
    Prone to scratches
21
Q

magnetic advantages + disadvantages

A

+ High capacity
Quick to access,
Providing the disk is defragmented periodically

  • Has moving parts that will eventually fail
22
Q

solid state advantage + disadvantage

A
\+ Quick to access
No moving parts so very reliable.
Low power requirements
Quite
No need to defragment
  • Expensive.
    Has a limited number of read write cycles