Components of a Computer Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the Purpose of the Address Bus?

A

The address bus carries memory addresses of data for retrieval to the main memory.

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

What is Virtual Memory and what are its Disadvantages?

A

Virtual Memory is used when data needs to be added to RAM, but it is full. In this case data not being currently used will be offloaded to the secondary storage to free up space in RAM.

This process is very inefficient - often leading to “disk thrashing” when the system is spending most of it’s time swapping data in and out of RAM.

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

What is the Accumulator?

A

The Accumulator (ACC) stores the results of all operations carried out in the Arithmetic Logic Unit, and acts as a buffer between the CPU and RAM.

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

What is the relationship between the address bus and the size of the system memory.

A

The address bus transmits memory locations. Since a larger memory means a larger range of memory addresses, more memory means a larger address bus is required.

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

What is the Program Counter?

A

The Program Counter holds the address of the next instruction to be executed.

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

What are the jobs of the Control Unit?

A
  • Co-coordinating access to the system memory and buses.

- Decoding Instructions.

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

What is Pipelining?

A

Pipelining is a technique used by CPUs to allow multiple instructions to be processed at the same time by ensuring that there is always one instruction being fetched, decoded and executed.
This allows instructions to move through the processing stages like an assembly line.

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

What are Registers?

A

Registers are high speed temporary data storage locations inside the CPU.

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

What is the Arithmetic Logic Unit?

A

The Arithmetic Logic Unit performs arithmetic and logical operations on the data stored in the registers.

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

What is Cache Memory?

A

Cache is a small high speed storage location inside the CPU, used to temporarily store recently fetched instructions, in case they are required again.
Fetching these instructions from cache is far faster than fetching them from RAM again.

There are three different levels of cache:

  • Level 1: Extremely Fast but Small
  • Level 2: Fairly Fast and Medium-Sized
  • Level 3: Slower but Larger
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is RAM?

A

RAM is a temporary storage location used to hold data and instructions currently in use.

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

What Factors Affect CPU Performance?

A
  • Clock Speed
  • Numbers of Cores
  • The Level of Cache Memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the Current Instruction Register?

A

The Current Instruction Register holds the instruction currently being executed.

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

What is the Memory Address Register?

A

The Memory Address Register holds the address of the memory location from which data or an instruction should be read from or written to.

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

What are CPU Buses?

A

A CPU Bus is a set of parallel wires connecting computer components.

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

What is the Memory Data Register?

A

The Memory Data Register holds the data read from memory or to be written to memory.

17
Q

What Architecture is used in Contemporary CPUs.

A

Modern processors use both the Harvard and Von Neumann Architecture.

The RAM holds both instructions and data, however the cache is divided into two separate memories for data and instructions.

18
Q

What is the Data Bus?

A

The Data Bus is a Bi-Directional Bus used to transfer data and instructions between system components.

19
Q

What are the lines of the Control Bus?

A

Bus Request - used by a device to request access to the data bus.
Bus Grant - used to grant a device access to the data bus.
Memory Write - Causes the data on the data bus to be written to the memory address stored in the address bus.
Memory Read - Causes the data at the address on the address bus to be copied to the data bus.
Clock - synchronizes system processes.

20
Q

How can a devices performance be improved?

A
Upgrade CPU
Add More RAM
Upgrade GPU
Upgrade to faster Secondary Storage
Upgrade OS
Check for Viruses
21
Q

What is the Central Processing Unit?

A

The CPU executes instructions stored in memory.

22
Q

What is the Stored Program Concept?

A

The Stored Program Concept is the idea of a machine that fetches and executes instructions serially using a processor that performs arithmetic and logical instructions.
(Also referred to as a Von Neumann Machine)

23
Q

What is the System Clock?

A

The system clock generates an oscillating signal which schedules the CPU, as every instruction starts on a new clock pulse.

24
Q

Compare the Von Neumann and Harvard Architectures.

A

The Von Neumann Architecture stores data and instructions in the same memory, meaning there is only one data bus and address bus. Programs written for this architecture can be optimised in size easily. PCs and Servers use this architecture.

The Harvard Architecture stores data and instructions in separate memories, meaning there are two sets of data and address instructions. Programs written for this architecture seem to be larger. Often used by embedded systems.

25
Q

What is the relationship between the data bus size and word size.

A

The data bus transfers data a word at a time, this means that a larger word size requires a larger data bus.

26
Q

How does the Number of Cores affect the Speed of a Computer?

A

Theoretically multiple cores should allow many multiple operations to take place simultaneously, greatly increasing processor speed.
However multi-core processors can be slowed down when an instruction in one core depends on the result of an instruction in another core and a lot of software isn’t designed to take advantage of these extra cores.

27
Q

What are the stages of the Fetch-Decode-Execute cycle?

A

Fetch:

  • The address of the next instruction is copied from the PC to the MAR.
  • The value stored in the MAR is copied to the address bus.
  • Read signal sent on the control bus.
  • Instruction at this address is copied to the MDR and the PC is incremented.
  • Contents of the MDR is copied to the CIR.

Decode:

  • The Control Unit decodes the instruction held in the CIR.
  • The opcode is stored in the MDR and the operand is stored in the MAR.

Execute:
- The opcode is carried out on the operand.

[WHAT ABOUT BRANCH STATEMENTS]