Goal 1.2 Computer System Flashcards

1
Q

Processor:
CPU (Central Processing Unit):
“Brains” of the computer
Executes ______
Fetch instruction from memory
Examine
Execute one after the other
Data transferred between components on a ____

A

programs
bus

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

Processors:
Components of CPU

A

ALU

Registers
- High speed
- Holds one number of some bits
- Usually same size, but some have specialized functions
- Program Counter
- Instruction Register

Control Unit

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

Data Path consists of:

A

Registers

ALU
- Mathematical operations
- Boolean operations

ALU Input Registers

ALU output register

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

Instruction type:
Register-Memory

Data fetched from memory to _____

Data ______ in memory from register

A

register
stored

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

Instruction type:
Register-Register

Data fetched from 2 registers

Manipulated in _____

Stored back in another/same _______

Data path cycle

Multiple ALU’s

A

ALU
register

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

Instruction Execution

  1. Fetch the next ______ from memory into the instruction register
  2. Change the program ______ to point to the next instruction
  3. Determine the type of instruction just fetched
  4. If instruction uses a word in memory, determine where it is
  5. Fetch the _____, if needed, into a CPU register
  6. Execute the instruction
  7. Return to step __
A

instruction
counter
word
1

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

RISC
Reduced Instruction Set Computer

Around 50 instructions

Each does less, but executes much ____.

Hardware implementation with no translation

Phones, IOT, things not worried about ____ ______.

Lower power consumption

A

faster
backwards compatibility

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

CISC
Complex Instruction Set Computer

______ of instructions

Each instruction slower to execute, but does more

___/____ ____ computers
- Have RISC core as compromise

Backwards compatibility keeps it alive

A

Hundreds
Intel/AMD x86

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

Design Principles for Modern Computers

All instructions directly executed by _____

Maximize rate at which instructions are issued

Instructions should be easy to ____

Only loads and stores should _____ memory

Provided plenty of ______

A

hardware
decode
reference
registers

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

Pipelining

A

Allows for multiple instructions to be executed at once.

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

Longer pipelines

A

allow for smaller chunks

more instructions being executed

Higher Mhz/Ghz

May have to clear pipeline more often

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

smaller pipelines

A

bigger chunks

lower Mhz/Ghz

Can be more efficient

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

Primary Memory

Stores programs and data

Stored in 1’s and 0’s (bit)

uses ____/_____ to store multiple bits assigned to one address

Each cell has the same number of ____

A

cells/locations
bits

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

Less bits/cell ⇒ more memory addresses ⇒

A

larger instructions

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

more bits/cell ⇒ less memory addresses ⇒ smaller instructions ⇒

A

Wasted memory

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

32bit computer ⇒ 232 memory addresses ⇒

A

4,294,967,296 bytes of memory.

17
Q

frequently used data is stored in ______

A

cache

18
Q

Memory hierarchy/ Memory pyramid:
Registers
____
Main Memory
Magnetic or solid state disk
___/____ disk

A

Cache
Tape/ Optical

19
Q

the most important component of a computer system. A control unit is a part of the CPU.

A

Central processing unit

20
Q

controls the operations of all parts of the computer but it does not carry out any data processing operations.

A

control unit

21
Q

directs the operation of the processor. It was included as part of the Von Neumann Architecture

A

control unit

22
Q

It is the responsibility of the control unit to tell the ____ _____, arithmetic/logic unit, and input and output devices how to respond to the instructions that have been sent to the processor

A

computer’s memory

23
Q

It is the responsibility of the control unit to tell the computer’s memory, arithmetic/logic unit, and input and output devices how to respond to the instructions that have been sent to the processor.

It fetches ______ instructions of the programs from the main memory to the processor instruction register, and based on this register contents, the control unit generates a ____ _____ that supervises the execution of these instructions.

A

internal
control signal

24
Q

A control unit works by receiving input information which it converts into ____ _____, which are then sent to the central processor. The computer’s processor then tells the attached hardware what operations to perform. The functions that a control unit performs are ______ on the type of CPU because the architecture of the CPU varies from manufacturer to manufacturer.

A

control signals
dependent

25
Q

devices that require a CU (Control Unit) are:

A

Control Processing Units(CPUs)
Graphics Processing Units(GPUs)

26
Q

Functions of the control unit:

It coordinates the sequence of data movements into, out of, and between a processor’s many ____.

It interprets _____.

It controls data flow inside the processor.

A

sub-units
instructions

27
Q

Functions of the control unit:

It receives _____ instructions or commands to which it converts to sequence of control signals.

It controls many _______ units(i.e. ALU, data buffers and registers) contained within a CPU.

It also handles multiple tasks, such as _____, decoding, execution handling and storing results.

A

external
execution
fetching

28
Q

There are two types of control units:

A

Hardwired

Micro programmable control unit.