Unit 5 - Computer organisation and hardware Flashcards

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

What is the definition of a computer system?

A

A computer system is a system that takes in a set of inputs, processes them and outputs a set of outputs.

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

What are the four component types contained within the CPU?

A
  • Processor
  • Main memory
  • Address, control and data buses
  • I/O controllers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What allows an I/O device to interface with the computer?

A

I/O devices use I/O controllers, named device drivers, as a bridge between them and the computer.

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

Tasks of an I/O controller:

A
  • Convert signals from peripheral device into a format the computer can process and vice versa
  • Receive I/O signals from the CPU and send device-specific signals to the device
  • Manage data flow to and from the device
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the three buses and their purposes?

A
  • Control bus sends control signals
  • Data bus sends data
  • Address bus sends memory addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In what direction does the address bus send memory addresses?

A

The address bus only sends addresses from the processor to all the CPU components.

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

In what direction does the control bus send signals?

A

The control bus sends signals between the processor and all CPU components, in both directions.

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

In what direction does the data bus send data?

A

The data bus sends data from the processor to output devices and memory and sends data from input devices to memory.

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

Give two examples of control signals.

A
  • Memory read
  • Memory write
  • Bus request
  • Bus grant
  • Clock
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the units that memory is divided up into?

A

Words.

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

What is a word (CPU)?

A

A word is a fixed-size unit of data handled as an instruction by the processor.

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

What is the width of a data bus?

A

The width of a data bus is the number of wires it contains and the word length that can be transferred in a single operation.

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

What does the width of the address bus decide?

A

The width of the address bus decides the maximum possible number of memory addresses of the system.

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

What is the stored program concept?

A

The stored program concept is the loading of machine code instructions into memory, where they can then be executed immediately by the processor in a sequential order.

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

What is the difference between Harvard architecture and Von Neumann architecture?

A

Harvard architecture grants a separate bus of data and instructions, whilst Von Neumann architecture requires them to both share a single bus.

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

When is Harvard architecture most commonly used and why?

A

Harvard is most commonly used in embedded systems that need to perform specialist functions. This is because speed is often important and the cost is less of a concern.

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

What are the five components within the processor? (two of them are kind of the same)

A
  • Arithmetic logic unit
  • Control unit
  • Clock
  • General purpose registers
  • Dedicated registers
18
Q

How does the control unit synchronise the activity of the components in the processor?

A

The control unit decodes the instruction and identifies the individual steps such as fetching address and fetching data. Each step is then synchronised using regular pulses from the system clock.

19
Q

What are the five dedicated registers within the processor?

A
  • Control Unit
  • Memory Address Register
  • Memory Buffer Register
  • Current Instruction Register
  • Status Register
20
Q

What are the four steps of the fetch section of the fetch decode execute cycle?

A

1) Address of next instruction is copied from PC to MAR.
2) PC is incremented by 1.
3) Instruction in location specified by MAR stored in MBR.
4) Instruction transferred from MBR to CIR.

21
Q

What are the three steps of the decode section of the fetch decode execute cycle?

A

5) Instruction in CIR is decoded.
6) Additional data required for instruction (if any) is fetched from memory.
7) This data is then passed to the registers.

22
Q

What are the three steps of the execute section of the fetch decode execute cycle?

A

8) Instruction is executed by the ALU.
9) Registers are used to store intermediate data or results.
10) Result is stored in accumulator or general purpose memory.

23
Q

Factors that affect performance of a CPU:

A
  • Clock speed
  • Cache memory
  • Number of cores
  • Word length
  • Bus widths
24
Q

The range of operations such as ADD, SUBTRACT and NOT available to a processor are decided by the… ?

A

Instruction set.

25
Q

What factor decides how many bits can be used for instructions in a processor’s instruction set?

A

The word length of the processor.

26
Q

What part of an instruction is the addressing mode found within?

A

The addressing mode of an instruction is a part of the operation code.

27
Q

What are the two options for the addressing mode of an instruction?

A
  • An actual value (Immediate)

- An address in memory (Direct)

28
Q

What makes primary storage different to secondary? (not access speeds)

A

Primary storage, usually RAM, is volatile, whilst secondary storage is non-volatile.

29
Q

What are the five key characteristics to consider when looking at secondary storage devices?

A
  • Durability
  • Portability
  • Cost
  • Capacity
  • Read/write speed
30
Q

How is data stored on a hard disk?

A

Data is stored in sectors of the platter, which are found in a concentric shape. This data can then be read by a read/write head while the disk is spinning.

31
Q

How is data stored on a magnetic storage device?

A

Magnetic particles on the disk are either negatively or positively polarised. Changes in polarisation will create an electromagnetic pulse, which is read as a binary 1.

32
Q

What is disk latency?

A

Disk latency is the time taken to read/write disk data.

33
Q

Factors that affect disk latency:

A
  • Seek delay (time taken for the head to move the correct concentric track)
  • Rotational delay (time the disk takes to rotate the correct sector under the head)
  • Transfer time
34
Q

How is information stored onto a CD?

A

A high-power laser burns pits into the CD.

35
Q

How is information read from a CD?

A

A low-powered laser fires towards the CD and the laser will be reflected by any part of the CD that isn’t flat, a.k.a when it is transitioning from a pit to a land. Deflections are read as a binary 1.

36
Q

What is different between optical disk formats?

A

They all use slightly different techniques to achieve a differential between a “pit” and “land” depending if they are read-only, re-writable etc.

37
Q

How can the information density of an optical disk be improved?

A

The pits can be etched in with a laser of lower wavelength, which allows the spiral track to be wound tighter.

38
Q

How does flash memory store data?

A

Flash memory uses NAND flash memory cells. They contain floating gate transistors, surrounded by oxide layers, can trap or release charge. Trapped charges are read as binary 0’s and remain trapped when power is lost.

39
Q

Advantages of solid state drives:

A
  • Faster access speed due to no moving parts
  • More durable for same reason
  • Lower power consumption
  • Silent
  • Lighter
40
Q

How can the information stored in Solid State Drives be modified?

A

The whole memory block has to be reset then rewritten with the new changes. The new data is temporarily stored in RAM and is removed once the data is written back into the SSD.