SLR2 Flashcards

You may prefer our related Brainscape-certified flashcards:
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

A

Yes

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
Q

What does GPU stand for

A

Graphical Processing Unit

26
Q

What do CPUs call the GPUs

A

A co-processor

27
Q

What does a GPU do

A

Takes a load off of the CPU

28
Q

Are GPUs still used for graphical processing

A

No

29
Q

How does a GPU take load off of the CPU

A

Co-processors / GPUs are designed for specialised tasks that can be executed extremely fast

30
Q

How many stream processors do GPUs have and how do they work compared to CPUs

A

Thousands and typically they run slower

31
Q

What sort of operations are CPUs good at

A

Complex operations with small amounts of data

32
Q

What sort of operations are GPUs good at

A

Simple operations on a large amount of data

33
Q

What sort of processor are GPUs classed as

A

SIMD

34
Q

What tasks are GPUs typically good at

A
  1. 3D arithmetic using XYZ calculations
  2. Storing XYZ positions
  3. RGB colour calculations
35
Q

What is one benifit of doing calculations on a GPU

A

Can be done in parallel and doesn’t rely on other calculations

36
Q

What are GPUs commonly used for

A
  1. Gaming
  2. Statistical analysis
  3. Oil explorations
  4. Stock predictions
  5. Weather modelling
  6. Machine learning
  7. Linear algebra
  8. Crypto mining
37
Q

What is a multicore processor

A

A single chip containing 2 or more independent processing units

38
Q

What can each core do

A

It’s own fetch decode and execute cycle

39
Q

What is a CPU with multiple cores in it called

A

CMP

40
Q

What does CMP stand for

A

Chip Multi Processor

41
Q

What is the name of a processor with 2 cores

A

Dual-core

42
Q

What is the name of a processor with 4 cores

A

Quad-core

43
Q

How can a multicore processor be further enhanced

A
  1. Inter-core communication
  2. On-chip shared cache
44
Q

Does a multicore system process multiple instructions faster than a single core system

A

Yes

45
Q

How does parallel processing work

A

Processing program instructions by dividing them between multiple processors or processor cores

46
Q

How do the two ways of parallel processing work

A
  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
Q

How does the speed of parallel processing increase as you add more cores

A

It’s cumulative