Notes from Class Book Flashcards

1
Q

Why is FDE cycle used

A

Cycle carried out to process data

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

What happens in the Fetch stage and what registers are involved

A

Fetches data from RAM and stores it in registers

PC, MAR, MDR

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

What happens in the Decode stage and what registers are involved

A

CPU Decodes and gets ready for next step

CIR

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

What happens in the Execute stage and what registers are involved

A

Instruction is carried out

ALU, ACC

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

What makes up the CPU

A

ALU, CU and Registers

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

What is clock speed

A

Instructions carried out per second. It can be increased, overclocking

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

What is pipelining

A

Where the output of one stage is the input of the next

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

Why is pipelining used

A

To speed up tasks

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

What is instruction pipelining

A

As one instruction is executed the next can be decoded and the next fetched, queueing them up and decreasing processing time.

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

What is are the limitations of pipelining

A

If it fails and fetches the wrong instruction them whole pipeline must be flushed

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

What are the 5 registers (in order of use)

A

PC
MAR
MDR
CIR
ALU
ACC

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

What does the PC do

A

Points to the address of the next instruction to be executed

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

What does the MAR do

A

Holds address of instruction in memory

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

What happens after MAR is used in FDE cycle

A

Address travels to RAM and data is returned by data bus

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

What does the MDR do

A

Stores data after it has been fetched from RAM

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

What happens after MDR is used FDE cycle

A

CU decodes instruction

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

What does the CIR do

A

Stores decoded instruction

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

What does ALU do

A

Performs arithmetic or logic calculations

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

What does ACC do

A

Stores result of calculations in ALU

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

What are buses and what are the 3 types

A

Metal tracks on the motherboard
- Address
- Data
- Control

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

What is a register

A

Small, temporary, super fast memory

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

What happens when you open a program

A

Data and instructions are loaded into RAM

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

What does the CU do

A

Decodes instructions, controls flow of data

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

What is a feature of both the data and control bus

A

2 directional (CPU <-> Memory)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What does the control bus do
Responsible for communicating control signals
26
What is a feature of the address bus
One directional (CPU --> Memory)
27
What affects performance of CPU
- Clock Speed (Hz) - Cores - Cache Size - Heat - Width of address bus - Parallel Processing
28
What is clock speed determined by
Vibrations of a quartz crystal
29
What is the speed of the FDE cycle determined by
CPUs clock chip
30
Name the 4 types of primary storage
Cache, RAM, ROM, registers
31
Name 2 types of secondary storage
Hard disk, Flash drive
32
How does width of address bus affect performance of CPU
If the width is larger then more memory locations can be addressed
33
What is the Operand
The data itself
34
What is a drawback of parallel/concurrent processing
Some instructions are not compatible with parallel processing
35
What is the stored program concept
Program must be loaded into main memory to be executed by the processor - instructions are fetched one at a time
36
What is Von Neumann Architecture and name a limitation
Shared memory for programs + data instructions + data, both share a bus. Limitation - Bottlenecking
37
What is bottlenecking
Component that limits the potential of other hardware due to the differences in maximum capabilities of the 2 components
38
What is Harvard Architecture and name a limitation
Separate memories with separate buses. Programs and data don't have to compete for same bus Limitation - Cost (very expensive)
39
When would Harvard be used over Von Neumann
When speed is more important than cost, if the system is a risk to life, normally in specialist embedded systems
40
Advantages of Von Neumann
Simplifies design of control unit Cheaper Data from memory and devices accessed in same way
41
Can processors use both architectures
Yes, In desktop computers Cache uses Harvard and RAM uses Von Neumann
42
What is CISC
Complex Instruction Set Computer
43
What is RISC
Reduced Instruction Set Computer
44
Features of CISC
- Quicker to code programs - Compiler has little work to do to translate high level language to machine code - As code is short, less RAM needed to store instructions
45
Features of RISC
- Instruction set made up of a small number of fixed length instructions - Hardware is simpler to build with fewer circuits needed for carrying out complex instructions - Each instruction takes same amount of time so pipelining is possible - RAM is now cheap so RISCs use of RAM and software allows better performance processors at less cost
46
What is a GPU
Graphics Processing Unit, uses 1000s of small efficient cores. Used to accelerate scientific, engineering and other applications
47
What is a Co-Processor
Uses an extra, more powerful core
48
Name 3 Manual Input devices
Keyboard Microphone Sensors
49
Name 3 Output devices
Printer Projector Speakers
50
Name 3 types of Sensor
Infrared Light Pressure
51
What are the 2 types of barcodes
- UPC-A Retail and Warehousing (digits only) - Code 128 Transport and Shipment Tracking (Letters and numbers)
52
What is a Sensor
Hardware device that can take measurement of physical properties
53
What is Monitoring
Report Values
54
What is Control
Can change value of next input. The output can alter how the process operates
55
Name 4 types of Printer
- Inkjet - Laser - Dot Matrix - 3D
56
What does an Inkjet printer do
Most common printer. Printer is cheap, the ink is marked up.
57
What does a Laser printer do
Uses dry powdered ink called toner. Businesses use them almost exclusively. Fast, reliable, excellent quality.
58
What does a dot matrix printer do
Impact printer, similar to a typewriter. Noisy, Expensive, poor quality. Useful in damp environment.
59
What is an RFID
Radio Frequency ID card. Use a transponder and reciever.
60
What is an Actuator
Motors commonly used in conjunction with sensors to control a mechanism.
61