CHAPTER : HARDWARE & VIRTUAL MACHINES Flashcards

1
Q

RISC
Reduced Instruction Set Computer

A
  • makes extensive use of general purpose registers
  • simplified instruction set
  • fewer instructions + instruction formats
  • more registers
  • fixed length instructions
  • less complex circuits
  • more RAM use
  • easier to pipeline
    eg: SunSparc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CISC
Complex Instruction Set Computer

A
  • more instructions + instruction formats
  • fewer registers
  • variable-length instructions
  • more complex circuits
  • more cache use
    eg: Intel 80486
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Interrupt

A
  • signal from hardware device or software source seeking processors’s attention
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Interrupt Routine

A
  • interrupt detected
  • current processes paused
  • moved to registers (loaded to stack)
  • ISR loaded onto pipeline and executed
  • paused processes resumed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Pipelining

A
  • instruction level parallelism
  • execution of an instruction is split into no of stages
  • when the first stage ends the first stage of next stage immediately begins
  • processing of instructions is simultaneous
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Disadvantages of pipelining

A
  • dependency issues can cause stalls:
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Massive Parallel Computers

A

Massive: large number of processors
Parallel: perform coordinated computation simultaneously while communicating via a messaging interface

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

Hardware and Software issues when parallel processing

A
  1. Hardware: - processors must be able to communicate with each other so data can be transferred
  2. Software: - suitable program to allow data to be processed by multiple processors simultaneously
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

SISD

A
  • only one processor
  • execute one instruction on one set of data
  • can’t parallel process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

SIMD

A
  • several ALU’s
  • ALU executes same instruction using different data from a dedicated memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

MISD

A
  • each processor executes different instruction
  • each processor has its own partition in a shared memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

MIMD

A
  • several processors executing instructions from a common pool
  • each processor operates on different data deawn from a common pool
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Virtual Machine

A
  • emulation of computer system using a system software
  • use of software to implement a hardware setup
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Advantages of VM

A
  • no need to buy the required hardware to test the software
  • reduces setup time for test system
  • can run older versions of OS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Disadvantages of VM

A
  • software emulation slower than the actual hardware
  • not all hardware can be successfully emulated
  • processing time can be increased as there is extra code that needs to be executed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Difference between the Guest Operating System and the Host Operating System

A
  • GOS: operating system running in a virtual machine and controls the virtual hardware
    -HOS: the operating system that controls the physical hardware
    GOS runs under the HOS
17
Q

Role of Flip Flops

A
  • can store 0 or 1
  • can be used to store bits of data
  • memory can be create from flip flops
18
Q

Flipflop Circuit

A
  • electronic circuit with 2 stable conditions using sequential circuits
19
Q

SR Flipflops

A
  • 2 NAND gats
  • can cause illegal states
  • outputs can be used as inputs
20
Q

JK Flipflops

A
  • 2 additional NAND gates
  • used as extension to avoid illegal states
  • all combinations are valid
21
Q

Why JK flip flops better

A
  • invalid input combinations are eliminated therefore all inputs are valid
  • use clock pulse for synchronization to ensure proper functioning
  • increased stability