(P2) Fundamentals of Computer Architecture Flashcards

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

Describe the fetch part of the FDE cycle.

A

Contents of PC are transferred to MAR.
Address bus is used to transfer this address to main memory.
Contents of addressed memory location are loaded into MDR.
Transfer of content uses data bus.
Increment contents of PC.
Increment PC and fetch simultaneously.
Transfer content of MDR to the CIR.

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

Describe the decode part of the FDE cycle.

A

Decode instruction held by the CIR.
The control unit decodes the instruction.
Instruction split into opcode and operands.

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

Describe the execute part of the FDE cycle.

A

If necessary, data is fetched.
The opcode identifies the operation to be carried out by the processor.
Execute instruction by relevant part of processor.
Result stored in accumulator.
Status register is updated.
If there is a jump or branch, update PC.

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

Give two advantages of using Harvard Architecture compared to Von Neumann Architecture.

A

Instructions and data memory can have different word lengths.
Instructions and data can be accessed at the same time.

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

Describe the role of the control unit.

A

Executes instructions.
Synchronises operation of processor.
Sends control signals to other components.
Control the transfer of data between registers.
Handles interrupts.

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

What is cache memory?

A

Memory that can be accessed quickly and is close to the processor.

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

What is cache memory used for?

A

Storing frequently used data.

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

Why does an increase in cache increase the performance of a processor?

A

More instructions can be stored in cache.
Fewer fetches from main memory are required.

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

Describe the role of interrupts.

A

Allows currently executing process to be suspended so that any devices that need immediate attention of the processor can be dealt with.

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

Explain why the volatile environment (the contents of registers) must be saved before an interrupt is serviced.

A

So that the current running process can be returned to.
As the code that deals with the interrupt will change values.

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

What is immediate addressing?

A

The operand is the value that instruction should use.

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

Explain the effect of increasing the width of a data bus.

A

Speed at which data can be retrieved will be increased.

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

Explain the effect of increasing the width of an address bus by 1 bit.

A

Amount of available memory locations will double.

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

Explain the advantages of using a laser printer.

A

Low cost per printed page.
Toner is cheaper per page than ink.
Toner does not expire as quickly as ink.

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

Explain the advantages of a wireless printer.

A

Easy to share priner between many devices.
No need for cabling.

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

Describe how a laser printer works.

A

Bitmap of inage built in memory from page description.
Negative charge applied to photosensitive drum.
Laser beam directed at drum.
Mirror used to direct laser beam.
Where laser strikes drum charge is reversed.
Negative charge applied to toner.
Toner sticks to drum and toner transfers to it.
Positively charged transfer roller assists transfer of toner from drum to paper.
Heat fuses toner onto paper.
For coloured printing, four drums are required.

17
Q

Describe how a digital inage could be captured by a digital camera and compressed using run length encoding.

A

Light enters through lens onto sensor chip.
Each sensor produces an electrical signal.
Signal represents a pixel.
An ADC converts measurements of light intensity into binary.
Coloured filter is applied to generate separate data values for red, blue and green components.
Pixels are recorded as an array.

18
Q

Describe how an optical disk drive works when used to read data from CD-ROM or DVD-ROM.

A

Light is shone at the disk.
Light is focused on a spot on the track.
Some light is reflected back from disk.
Amount of light reflected back is measured.
Disk spins at constant linear velocity.
Data is stored on spiral track.
Continuation of land/ pit reflected light whereas transition between land and pit indicates a 1 and the continuation of land/ pit represents 0.

19
Q

Describe how a laser printer prints and inage onto paper.

A

Print drum is coated in positive static charge.
Printer generates bitmap of page from the data.
Laser beams shone by rotating octagonal mirror.
Laser is modulated.
Laser reverses electric charge on drum, where image should be dark. Toner is given positive charge. Charged drum pocks up toner.
For drum mechanisms, one for each colour.
Toner is transferred from drum to paper.
Toner is stuck to paper by heat rollers.

20
Q

Why is translation necessary?

A

Processor can only execute machine code instructions.
High level languages need to be converted into machine code to be executed.

21
Q

What is the difference between how a compiler and interpreter would translate a program?

A

Complier analyses the whole program.
Interpreter analyses program line by line.
Compiler produces object code.
Compiler will not translates any of the code if it encounters an error.
Intepretet translates program each time it is executed.
Intepreter executes each line immediately after translating.

22
Q

What does RAM stand for?

A

Random Access Memory

23
Q

What does ROM stand for?

A

Read Only Memory

24
Q

What is the function of main memory?

A

Store program instructions and frequently used data.

25
Q

What is contained within main memory?

A

RAM and ROM

26
Q

Explain an advantage of main memory over secondary storage

A

Main memory is faster than secondary storage so frequently used data in RAM and ROM helps the processor to execute instructions quickly.

27
Q

What is a bus?

A

Series of parallel wires that connect internal components, allowing signals to be passed.

28
Q

The number of parallel wires in a bus is called it’s…

A

Width

29
Q

What is the function of the address bus?

A

Transport memory addresses, specifying where data is to be sent and retreived from.

30
Q

What happens if you increase the width of the address bus?

A

Increases range of addresses that it can specify

31
Q

True or false: Adding a single wire doubles the number of addressable memory locations.

A

True

32
Q

What is an addressable memory

A

A portion of memory that can be accessed by its address.

33
Q

What is the function the data bus?

A

Sends data and instructions to and from the different components of the computer system.

34
Q

What happens if you increase the width of the data bus?

A

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

35
Q

What if the function of the control bus?

A

Used to carry control signals that regulate the operation of the computer system. Carries the computer’s clock signal.

36
Q

What are the functions of I/O controllers?

A

Control communication of data between the processor and external hardware devices.

37
Q

Describe Harvard Architecture.

A

Two separate memory locations: one for instructions and the other for data.
Memory used for instructions could be read only so instructions cannot be altered.
Embedded systems such as digital signal processing.

38
Q

Describe Von Neumann Architecture.

A

Instructions and memory stored together in the same memory.
Performs worse than Harvard.
Same buses have to be shared for fetching both instructions and data.
Used in everyday purpose computer system.

39
Q

What does serially mean?

A

Instructions are fetched and executed in order.