Hardware and Virtual Machines P3 Flashcards

1
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
2
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
3
Q

How does RISC compare to CISC in terms of instruction count?

A

RISC has fewer instructions; CISC has more

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

How does instruction complexity differ between RISC and CISC?

A

RISC uses simpler instructions; CISC uses more complicated ones

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

How many instruction formats does RISC use?

A

A small number

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

How many instruction formats does CISC use?

A

Many

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

What kind of instruction cycle does RISC aim for?

A

Single-cycle whenever possible

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

What kind of instruction cycle is typical for CISC?

A

Multi-cycle

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

What type of instruction length does RISC use?

A

Fixed-length

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

What type of instruction length does CISC use?

A

Variable-length

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

How does RISC access memory?

A

Only with load and store instructions

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

How does CISC access memory?

A

With many types of instructions

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

Which has more addressing modes: RISC or CISC?

A

CISC

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

Which uses more registers: RISC or CISC?

A

RISC

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

What type of control unit does RISC use?

A

Hard-wired control unit

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

What type of control unit does CISC use?

A

Microprogrammed control unit

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

Which is easier to pipeline: RISC or CISC?

A

RISC

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

What is pipelining?

A

Instruction-level parallelism for faster execution

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

Why are multiple registers important in RISC?

A

To allow each pipeline stage its own set of registers

20
Q

What is a disadvantage of pipelining?

A

Interrupts complicate instruction handling

21
Q

What happens during an interrupt in a pipelined CPU?

A

Pipeline instructions are flushed and ISR is loaded

22
Q

How many stages are typically used in RISC pipelining?

23
Q

Name the five pipeline stages.

A

Instruction Fetch (IF)

24
Q

What is the performance benefit of pipelining?

A

One instruction finishes per clock cycle after startup

25
What issue can occur with interrupts in a pipelined CPU?
Five instructions in the pipeline must be removed before servicing
26
What does SISD stand for?
Single Instruction Single Data stream
27
Where is SISD used?
Early computers
28
Does SISD use pipelining?
No
29
What does SIMD stand for?
Single Instruction Multiple Data
30
Where is SIMD used?
Array processors
31
How does SIMD handle memory?
Each processor has its own memory
32
What does MISD stand for?
Multiple Instruction Single Data
33
Where is MISD used?
Sorting large quantities of data
34
What does MIMD stand for?
Multiple Instruction Multiple Data
35
Where is MIMD found?
Modern personal computers
36
What does a massively parallel computer contain?
Vast amounts of processing power
37
What infrastructure supports massively parallel systems?
Bus structure and network for multiple host computers
38
Where are massively parallel computers used?
Solving complex mathematical problems
39
What is a virtual machine?
A software-emulated system that provides a copy of actual hardware
40
Who handles hardware interactions for a virtual machine?
The OS kernel
41
Give one benefit of virtual machines.
Allows multiple OSs to run on one system
42
Give another benefit of virtual machines.
Allows legacy software to run on new hardware
43
What is a downside of virtual machines?
Performance drop from native OS
44
What's another disadvantage of virtual machines?
High time and effort for implementation
45
How do developers benefit from virtual machines?
They can test applications on different systems without extra hardware