Computer Architecture Flashcards

1
Q

What are the four main sub-systems in the Von Neumann Architecture?

A

Memory, ALU(Arithmetic Logic Unit), Control Unit and Input / Output System (I/O)

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

What is a bus?

A

A bus is a set of wires, which interconnects all the components of a computer

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

What are the three types of bus and what are their functions?

A
  • Address bus – Moves memory locations or memory “addresses” of data between different components (typically 32-bit or 64-bit)
  • Data bus – Moves the content of memory addresses between different components (including both data and instructions)
  • Control bus – Determines the direction of data flow and when components can access the bus (i.e., the order)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the clock in a computer do and what is it measured in?

A

The clock synchronizes the activities of its components, and its measured is MegaHertz (MH) of GigaHertz (GH)

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

What are the functions of the four subsets in the Von Neumann Architecture?

A

Memory The unit that stores and retrieves instructions and data.
CPU: The unit that houses two separate components:
i. The control unit: Repeats the following 3 tasks:
a. Fetches an instruction from memory
b. Decodes the instruction
c. Executes the instruction
ii. The arithmetic/logic unit (ALU): Performs mathematical and logical operations.
Input / Output (I/O) devices: Handle communications with the outside world.

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

What is a cell of memory?

A

A cell is the smallest addressable unit of memory – i.e., one cell can be read from memory or one cell can be written into memory, but nothing smaller. The previous content is
always overwritten

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

What is the function of a cell?

A

Each cell has an address, starting at 0 and increasing
by 1 for each cell. A cell with a low address is just as accessible as one with a high address- hence the name RAM. The width of the cell determines how many bits can be read or written in one machine operation
MAR: Memory Address Register
MDR: Memory Data Register

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

What does the ALU do?

A

Performs basic arithmetic operations: addition, subtraction,
multiplication, and division and performs logical operations: AND, OR, and NOT

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

What does the Control Unit do?

A

The Control Unit is the unit that handles the central work of the computer. It also implements the fetch-decode-execute cycle

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

What are the two registers in the control unit called and what are their functions?

A

The two registers are called the Instruction Register and Program Counter. The Instruction Register(IR) contains the instruction that is being executed. The Program Counter (PC) contains the address of the next instruction to be executed

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

What is an interrupt?

A

When an event of higher priority occurs, the CPU is alerted . Interrupts can have priorities, and high-priority interrupts cannot be ignored.

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

What can trigger an interrupt?

A

Interrupts can be triggered by I/O requests, arithmetic errors
(such as division by zero), or when an invalid instruction is
encountered

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

Define instruction

A

An operation performed by the CPU

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

What does RISC stand for and what is it?

A

Reduced Instruction Set Computers. It’s an instruction set as small and simple as possible which minimizes the amount of circuitry, leading to faster computers

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

What does CISC stand for and what is it?

A

Complex Instruction Set Computers. It’s an instruction set which carries out more instructions due to how complex it is. Each instruction can do more work, but it requires more circuitry

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