Computer Organisation Flashcards

1
Q

What is the i/o system?

A

Allows the computer to communicate with the outside world and store data while the power is off

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

Give an example of non-storage devices?

A

Keyboard, mouse, monitor, and speakers

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

Give another name for a storage device?

A

Auxilary device and they are categorized as either magnetic or optical

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

How optical and magnetic storage work

A

pg 98-104

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

How are the CPU and memory connected?

A

BY three groups of connections; each carrying one bit at a time. The number of connections depends on the size of the data being transferred.

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

What is the address bus?

A

It allows access to the memory.

The number of connections depends on the address space of the memory.

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

What is the data bus?

A

Its made of several connections; each carrying one bit at a time. The number of connections depends on the size.

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

What is the control bus?

A

Carries communication between the CPU and memory so there is a code sent from the CPU to memory to request a read/write operation.
The number of connections is determined by the number of control commands.
The computer needs 2^m control actions, we need m connections

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

How are I/O devices connected to the CPU and memory?

A

Through controllers which can be parallel or serial.

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

Give examples of controllers?

A

SCSI, FireWire, USB, and HDMI. More information on pg 106-108

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

What does a machine cycle consist of?

A

Fetch, decode, and execute

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

Explain the fetch phase

A
  1. The control unit orders the system to be copied into the instruction register.
  2. The address of the instructions to be copied is held in the program counter register.
  3. Once copying is done, the program counter is incremented to execute the next instruction.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain the decode phase?

A

Once the instruction is in the instruction register it is decoded by the control unit into binary code so the system can perform an operation with it.

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

Explain the execute phase?

A

The control unit will tell the system to read or use ALU to form operations with it.

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

What is programmed I/O?

A

The transfer of data between CPU and I/O device as the CPU constantly checks I/O waiting for data to transfer it. It does nothing else until the transfer is complete.

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

What is the interrupt-driven I/O?

A

The I/O device will interrupt the CPU when ready to transfer data allowing the CPUs time not to be waisted. Some as programmed I/O data goes to memory after input, data is from memory before output.

17
Q

What is DMA?

A

Direct memory access is used to transfer large blocks of data between high-speed I/O devices (like a disk) without using the CPU. The DMA controller manages the data as it has registers to hold on to a block of data; the CPU will send a message containing the type of transfer (input/output), the beginning address of the memory location, and the number of bytes to be transferred. DMA allows the CPU to do other tasks and it will tell the CPU when it needs access to the buses. The CPU will start idling allowing the controller to make its transfers.

18
Q

What is CISC? (complex instruction set computer)

A

The strategy behind the architecture is for programming to be easier as there is a single instruction for complex and simple tasks. The architecture has a large set of complex and single instructions this makes the CPU and control unit very complicated. eg Pentium

19
Q

How do you reduce the complexity of the CPU and control unit in CISC?

A

The CPU only does simple operations and if there is a complex operation it is broken down into simple operations(micro-operations). Allowing micro-operations requires memory (micro-memory) to hold the set of complex operations.

20
Q

What is RISC?

A

‘Reduced instruction set computer’ is to have a small set of instructions that do a minimum amount of operations. Complex instructions are broken down into subsets. Programming in RISC is more complex and time-consuming than the other ways.

21
Q

What does the CPU consist of?

A

ALU, control unit, and a set of registers.