Topic 7 - Fundamentals of Computer Organisation and Architecture Flashcards

1
Q

What is a bus?

A

A series of parallel wires that connects the internal components of a computer system

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

What is the address bus?

A

A bus that is used to transport memory addresses, specifying where data is sent to or retrieved from

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

What does increasing the width of the address bus do?

A

It increases the computer’s amount of addressable memory (a portion of memory that can be accessed by its address)

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

What is the data bus?

A

A bus that sends data and instructions to and from the different components of the computer system.

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

What does increasing the width of the data bus do?

A

Increases the volume of data that can be transferred over a bus at any one time

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

What is the Control Bus?

A

Used to send control signals to the registers and the data/address buses
The signals are to control the flow of data - to ensure data is at the right place at the right time

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

What are the I/O Controllers?

A

Pieces of hardware that control the communication of data between the processor and external hardware devices

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

What way does the data travel in an address bus?

A

One way from the CPU to the address bus and one way from the address bus to memory/IO Controllers

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

What way does data travel in Control or Data Buses?

A

Bidirectionally

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

What are the differences between Von Neumann Architecture and Harvard Architecture?

A

1) Harvard architecture has separate buses for data and instructions, whereas they are combined in Von Neumann - this makes Harvard quicker as there are fewer bits of data in each of the buses, so the data can travel more quickly and have fewer collisions
2) Harvard CPUs can access and read/write at the same time, Von Neumann can’t.
3) Harvard Architecture can be controlled by multiple processors, Von Neumann only one.
4) Harvard is more expensive

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

What is the Stored Program Concept?

A

Serially fetching and executing machine code instructions stored in main memory by a processor that performs logical and arithmetic functions

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

Fetch - Execute Cycle

A

1) The Content of the PC is copied to MAR
2) The content of MAR is sent to the main memory by the address bus
3) The instruction is sent from main memory to MBR by the data bus
4) The PC is incremented by one
5) The content of the MBR is copied to CIR

Decode -
1) The Content of the CIR is decoded by the control unit, splitting it into two parts - opcode and operands

Execute -
1) The instruction is executed by relevant part of the processor
2) Results of any calculations are stored in the accumulator

Checking for Interrupts -
Between the execute and fetch stage of the cycle, the status register is checked for interrupts

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

What is a register?

A

A small storage location within the CPU, which is used to hold data temporarily. They have high read/write speeds

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

What is an interrupt?

A

A signal sent to the processor by another part of the computer requesting the attention of the processor

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

What are some examples of an interrupt?

A

The computer’s I/O controller informing the processor that a key on the keyboard has been pressed
Software can send interrupts, including errors such as stack overflow or dividing by 0

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

What is the vectored interrupt method?

A

1) When an interrupt occurs, the processor stops executing the current program and places the content of its registers onto the system stack (saving the volatile environment)
2) It then loads the appropriate Interrupt Service Routine (ISR) - a series of instructions for handling the interrupt that is specific to that interrupt
3) Once the ISR has been executed, the processor restores the volatile environment from the system stack and resumes the execution.

17
Q

How does increasing the number of cores affect processor performance?

A

Each core can perform its own fetch execute cycle independently, this means the more cores, the more multitasking that can be done as each application can be allocated a different core
Increases execution speed of each individual application

18
Q

How does increasing cache memory affect processor performance?

A

Cache is a small portion of memory stored within the CPU - it has much higher read/write speed.
Cache is used to store frequently used information and reduces time wasted in fetching the same information from memory repeatedly.
The more cache means the more memory that can be stored and therefore the more time saved by fetching the information from main memory

19
Q

How does the clock speed affect processor performance?

A

The higher the clock speed, the more fetch-execute cycles that can be completed in he same period of time - means each instruction is executed more quickly
However can cause errors if a clock speed is increased too far

20
Q

How does the data bus width affect processor performance?

A

Increasing data bus width means more data can be transferred over the bus at one time, which allows us to fetch more data from main memory in one fetch-execute cycle.
This reduces the number of fetch execute cycles needed to fetch large volumes of data, therefore increasing processor speed.

21
Q

What is purpose of the program counter?

A

Used to hold the memory address of the next instruction to be executed

22
Q

What is purpose of the MAR?

A

Stores the memory address of a memory location that is to be read from or written to

23
Q

What is purpose of the MBR?

A

Holds the contents of a memory location that has been read from or data that is to be stored

24
Q

What is purpose of the CIR?

A

Holds the instruction that is currently being executed by the processor

25
Q

Why does increasing the amount of addressable memory increase processor performance?

A

1) It means that the processor can store a larger range of memory addresses, meaning it can store more data and instructions - so fewer transfers between CPU and memory are required. Means less time waiting for data to be fetched, faster speed