SLR2 Flashcards

(47 cards)

1
Q

What is at the core of all computers

A

The instruction set, which is the set of instructions written in machine code that can be recognised by a CPU

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

What are the 2 types of processor

A

CISC & RISC

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

Main memory has 10 what

A

Location addresses named
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001

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

What does the execution unit operate on

A

The data loaded into one of the 6 registers labelled
r000
r001
r010
r011
r100
r101

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

What does CISC stand for

A

Complex Instruction Set Computer

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

How does CISC work

A

Aims to complete the task in as few line of code as possible

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

How does CISC achieve completing code in as few lines as possible

A

Having higher quality hardware and circuity as it needs to be able to understand and execute a series of operations

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

How would a CISC processor execute a MULL (multiplication) instruction

A

It would load all the values into registers then multiply them together store the result and then output it

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

How much work does the complier have to do in a CISC processor? And what does it do?

A

Very little
Translate the high level language into assembly code

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

How many clock cycles does a CISC processor take to execute a line of code

A

As many as it needs but the lowest being 1

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

Where are CISC processors found today

A

In desktop Computers and Laptops but still very uncommon

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

What are the 2 disadvantages of CISC processors

A
  1. CISC processors are physically larger than RISC
  2. CISC can’t make use of pipelining
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does RISC stand for

A

Reduced Instruction Set Computer

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

What is the aim of a RISC processor

A

To use simple instructions that can be executed within one clock cycle

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

What doesn’t exist within RISC processors

A

Complex commands
E.g. MULL

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

How are bigger commands executed in a RISC processor? E.g. MULL

A

They are separated into smaller simpler commands

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

In a RISC processor how much work does the compiler have to do

A

A lot more than in a CISC processor

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

In a RISC processor why is more RAM needed

A

To store assembly instructions

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

What is a major benefit of RISC processors

A

Each instruction can be completed in a single clock cycle

20
Q

Why do RISC processors have more space left for general purpose registers and cache

A

Less space is required for complex hardware

21
Q

In a RISC processor. Why is pipelining possible?

A

All instructions are a uniform size

22
Q

Do RISC processors have a lower energy requirement than CISC

23
Q

What type of processors use RISC

A

ARM processors make up over 90% of all processors

24
Q

What devices use RISC processing

A

Handheld devices such as phones and tablets

25
What does GPU stand for
Graphical Processing Unit
26
What do CPUs call the GPUs
A co-processor
27
What does a GPU do
Takes a load off of the CPU
28
Are GPUs still used for graphical processing
No
29
How does a GPU take load off of the CPU
Co-processors / GPUs are designed for specialised tasks that can be executed extremely fast
30
How many stream processors do GPUs have and how do they work compared to CPUs
Thousands and typically they run slower
31
What sort of operations are CPUs good at
Complex operations with small amounts of data
32
What sort of operations are GPUs good at
Simple operations on a large amount of data
33
What sort of processor are GPUs classed as
SIMD
34
What tasks are GPUs typically good at
1. 3D arithmetic using XYZ calculations 2. Storing XYZ positions 3. RGB colour calculations
35
What is one benifit of doing calculations on a GPU
Can be done in parallel and doesn’t rely on other calculations
36
What are GPUs commonly used for
1. Gaming 2. Statistical analysis 3. Oil explorations 4. Stock predictions 5. Weather modelling 6. Machine learning 7. Linear algebra 8. Crypto mining
37
What is a multicore processor
A single chip containing 2 or more independent processing units
38
What can each core do
It’s own fetch decode and execute cycle
39
What is a CPU with multiple cores in it called
CMP
40
What does CMP stand for
Chip Multi Processor
41
What is the name of a processor with 2 cores
Dual-core
42
What is the name of a processor with 4 cores
Quad-core
43
How can a multicore processor be further enhanced
1. Inter-core communication 2. On-chip shared cache
44
Does a multicore system process multiple instructions faster than a single core system
Yes
45
How does parallel processing work
Processing program instructions by dividing them between multiple processors or processor cores
46
How do the two ways of parallel processing work
1. One core fetches the instruction the next core decodes it and the third executes it 2. One core that fetch’s and decodes all the instructions and then all other cores execute these instructions
47
How does the speed of parallel processing increase as you add more cores
It’s cumulative