Section 1 - Components of a Computer Flashcards

1
Q

CPU

What are the 3 parts of the CPU?

A

Control Unit
Arithmetic Logic Unit
Reigisters

CU, ALU, Registers

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

CPU

What does the Control Unit (CU) do?

A

Controls the activity of the CPU

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

CPU

What does the Arithmetic Logic Unit (ALU) do?

A

Performs arithmetic and logical operations on given data

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

CPU

What instructions does the Arithmetic Logic Unit (ALU) accept?

A

ADD,
SUBTRACT, MULTIPLY, DIVIDE, AND, OR, NOT, XOR

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

CPU

What is a register?

A

A small space of CPU memory

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

CPU

What are the 5 registers?

A

Program Counter
Memory Data Register
Memory Address/Buffer Register
Current Instruction Register
Accumulator

PC, MDR, MAR/MBR, CIR, ACC
Address and Buffer are interchangeable

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

CPU

What does the Program Counter (PC) do?

A

Increments/Updates with after each Fetch/Decode/Execute cycle and points to the next instruction

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

CPU

What does the Memory Data Register (MDR) do?

A

Where fetched data goes

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

CPU

What does the Memory Address/Buffer Register (MAR/MBR) do?

A

Points to next fetch address

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

CPU

What does the Current Instruction Register (CIR) do?

A

Holds the current instruction

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

CPU

What does the Accumulator (ACC) do?

A

Holds the result of calculations from the Arithmetic Logic Unit (ALU)

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

Busses

What are the 3 busses?

A

Data Bus
Address Bus
Control Bus

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

Busses

What does the Data Bus do?

A

Moves data between the CPU and RAM. Data can travel either in direction.

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

Busses

What does the Address Bus do?

A

Moves the address from the CPU to RAM. The address only travels one-way.

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

Busses

What does the Control Bus do?

A

Sends signals from the CPU to elsewhere in the computer.
Signals may incldue: Read/Write, Clock, Overflow, etc.

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

Fetch/Decode/Execute

What are the steps of the Fetch/Decode/Execute (FDE) cycle?

6 steps in total

A
  1. PC → MAR
  2. PC + 1
  3. Address Bus and Data Bus → MDR
  4. MDR → CIR
  5. Decode instruction into Opcode and Operand
  6. Execute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

CPU Performance

What are the 3 things to consider when looking at CPU performance?

A

Cache Memory
Clock Speed
Number of Cores

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

CPU Performance

How does cache memory affect CPU performance?

A

Fastest memory that stores common instructions

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

CPU Performance

How does clock speed affect CPU performance?

A

Number of operations per second.

20
Q

CPU Performance

How does the number of cores affect CPU performance?

A

Concurrent processes

Concurrent can be replaced with any synonym (e.g. simultaneous)

21
Q

Pipelining

What is pipelining?

22
Q

Types of Processor

What are the names of the two different CPU architectures?

A

Von Neumann
Harvard

23
Q

Types of Processor

What are the features of Von Neumann Architecture?

A

One memory
(Simpler, and more flexible)

24
Q

Types of Processor

What are the features of Harvard Architecture?

A

Instructions and Data are seperate
(Fast)

25
# Types of Processor What is CISC?
Complex Instruction Set Computer
26
# Types of Processor What is RISC?
Reduced Instruction Set Computer
27
# Types of Processor What are the benefits of using CISC over RISC? | 4 benefits
Programs can be shorter Easier to write code Less RAM space required to store instructions Compiler performs less work to translate code
28
# Types of Processor What are the benefits of using RISC over CISC? | 3 benfits
Cheaper Predictable execution times (good for pipelining) More energy efficient per instruction
29
# Types of Processor What is a co-processor?
An extra processor used to supplement the functions of the primary processor (CPU)
30
# Types of Processor What is parallel processing?
The use of multiple processors/cores to perform multiple tasks at once
31
# Types of Processor What is multicore processing?
The use of multiple cores to perform multiple tasks at once | Subset of parallel processing, therefore very similar in definition
32
# Types of Processor What is a GPU? | Give the full name as well as its description
Graphics Processing Unit A specialised processor with thousands of small cores, only capable of completing simple tasks but doing so extremely efficiently. | The GPU is a type of co-processor
33
# Types of Processor Give examples of what a GPU can be used for | 3 examples
Machine learning Bitcoin mining Rendering graphics
34
# Input Devices What is an input device?
A device that can accept data from user to computer
35
# Input Devices What is an output device?
Device that transmits data from computer to user
36
# Input Devices Give examples of input devices | 3 examples
Barcode readers (QR or 2D barcode) Digital cameras Radio Frequency Identification (RFID)
37
# Output Devices Give examples of output devices | 3/5 examples
Screens Printers Multimedia projectors Speakers Actuators
38
# Storage What is a Hard Disk Drive (HDD)/magnetic storage?
A Hard Disk Drive (HDD) uses magnetic polarisation to represent 0 and 1. The drive head reads/writes data on tracks as the disk spins.
39
# Storage What are the benefits and drawbacks of using a Hard Disk Drive (HDD)/magnetic storage over other storage methods?
Advantages: * Huge storage capacity * Long lifespan Disadvantages: * Not very portable * Slow to read if data is fragmented
40
# Storage What is optical disk storage?
.
41
# Storage What are the benefits and drawbacks of using an optical disk/optical storage over other storage methods?
.
42
# Storage What is a Solid State Drive (SSD)?
.
43
# Storage What are the benefits and drawbacks of using a Solid State Drive (SSD) over other storage methods?
.
44
# Storage What is RAM?
45
# Storage What is ROM?
46
# Storage What is virtual memory?