4. Computer Components Flashcards

1
Q

Components of Von Neumann Architecture

A

Two types of units:
1) Units that process information
2) Units that store information

This units are:
1) Memory Unit

2) Arithmetic/Logic Unit (ALU)

3) Input unit

4) Output Unit

5) Control Unit

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

Bus

A

Set of wires that connect all major sections of Von Neumann Machine

Role:
transfer data, signals or power between components

Size/jwidth of bus is how many bits it carries in parallel

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

Memory

A

Collection of cells, each with a unique physical address

Number of bits that the OS operates at determines the number of addresses that can be accessed and the amount that can be stored in each address

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

Arithmetic / Logic Unit (ALU)

A

Performs basic arithmetic operations

INclude a small amnount of special storage units –> registers

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

Input Unit

A

Device used to enter external data into computer

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

Output Unit

A

Device through which results are made available

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

Control Unit

A

Organizing force in the computer

Components:
1) Instruction register
2) Program Counter

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

Instruction Register (IR)

A

Contains the instruction that is being executed

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

Program Counter (PC)

A

Contains the address of the next instruction to be executed#

Increments one by one, to the point of the next instruction to be executed

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

Central Processing Unit (CPU)

A

ALU + Control Unit

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

Throughput

A

Measure of how many units of information a system can process in a given amount of time

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

Pros of VN Architecture

A

Data and instructions to manipulate data are logically the same –> could be stored in the same place

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

Cons of VN Architecture

A

VN Bottleneck (reasons performance is limited):

-Single data bus can only access one of the two classes of memory at a time

-Data transfer rate is lower than rate that CPU can process (Bottleneck)

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

Fetch-Execute Cycle

A

1) Fetch next instruction

2) Decode instruction

3) Get data if needed

4) Execute the instruction

5) Store result of execution and check for next instruction

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

Fetch the next instruction

A

PC –> CU –> IR

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

Decode the instruction

A

IR –> CU –> CPU

Instruction is decoded into signals –> logic of the circuity in the CPU determines which operation is to be executed

17
Q

Get data

A

IR –> CU –> additional memory address

18
Q

Execute the instruction

A

CU –> ALU –> Mescellaneous tasks

Computer can only execute instructions that are in its own ML

19
Q

Cache Memory

A

Small amount of fast-access memory into which copies of frequently used data are stored

20
Q

Cache Principles

A

Temporal Locality

Spatial Locality

Aim:

  • Store the memory locations that are most likely to be accessed again in expensive, high-speed memory
21
Q

Temporal Locality

A

Most recently accessed memory locations are more likely to be accessed again in the future

22
Q

Spatial Locality

A

Most recently accessed blocks of program are more likely to be accessed again than are less recently accessed blocks of a program

23
Q

Main memory

A

Can be of two categories:

1) Random-Access Memory (RAM)

2) Read-Only Memory (ROM)

24
Q

RAM

A

Memory in which each location can be accessed and changed

Volatile

25
Q

ROM

A

Memory in which each location can be accessed but not changed

Not volatile

Stores the instructions that a computer needs to start itself

26
Q

Seek time

A

Time it takes for read/ write head to be over right track

27
Q

Latency

A

Time it takes for sector to be in position

28
Q

Access time

A

Seek time + Latency

29
Q
A