Fundamentals of Computer Organisation and Architecture Flashcards

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

Describe Von Neumann architecture

A

Shared memory space for instructions and data, with both stored in the same format.

A single processor follows a fetch - decode - execute cycle, with one instruction at a time.

Registers are used as a fast access to instructions and data.

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

Describe Harvard architecture

A

Instructions and data are stored in separate memory units, with each having its own bus. This means the next instruction can be fetched whilst simultaneously reading and writing data.

It is faster, but more expensive as more hardware is required.

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

What is the opcode of an instruction?

A

A machine code instruction that can be executed by the processor.

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

Describe the Fetch Execute cycle

A

The contents of the Program Counter (PC) are transferred to the Memory Address Register (MAR) using an Address bus.

The address in the Memory Address Register is transferred to the Address Memory using an Address bus.

Simultaneously, the Program Counter is incremented.

Next, contents of the Addressed Memory are transferred to the Memory Buffer Register (MBR) using a Data bus.

These contents are then transferred from the MBR to the Current Instruction Register (CIR) using a Data bus.

The contents of the CIR are decoded and then executed.

The Status Register (SR) is checked for any flags and an Interrupt Service Routine is ran if necessary.

The cycle then begins again.

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

What is the operand of an instruction?

A

The data that is manipulated by the processor according to the given opcode.

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

What is direct addressing?

A

Requires a reference to a memory location or register.

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

What is immediate addressing?

A

The data is immediately available in the operand.

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

Explain what happens when an interrupt occurs.

A

The volatile environment, including the contents of the PC and register, is placed within a stack frame which is pushed onto a stack. The memory location of the first instruction of the interrupt service routine is copied to the program counter. Once the interrupt has been serviced, the top frame is popped off the stack, and the memory location of the next instruction is copied to the PC, allowing the original program to continue running.

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

What is the role of the control unit.

A

Synchronises communication around the CPU.

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

What are the factors affecting the performance of the CPU.

A

Clock speed:
Increasing clock speed also increases the speed of the processor. However, it will cause more heat to be generated, which means a cooling system is required.

Cache:
Hold a copy of data inside a small piece of memory inside the processor. Before looking for data in memory, check if it is already in cache.

Multiple processors working together.

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

What is the purpose of a barcode reader, state the four types.

A

Extract the information stored inside a barcode.

Pen-style readers
Laser scanners
Charge-Coupled Device (CCD) readers
Camera based readers

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

Describe how a digital camera works

A

A sensor, comprised of millions of tiny light sensors arranged into a grid is used. The senor can either be a CCD (higher quality, more power) or a CMOS.

The shutters open and light enters the camera. An image is projected onto the sensor at the back of the lens. Each tiny sensor measures the brightness of each pixel, and this is turned into an electrical signal stored as binary. The digital recreated image is greyscale.

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

Describe the two types of barcodes.

A

1D barcode (linear):
Most often seen on goods in shops, holds a limited amount of information.

2D barcode (QR):
Most often used to take users to websites, can encode more complex information.

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

What is a barcode used for?

A

Used to uniquely identify millions of products.
Used for tracking delivery items, tickets, items in shops, luggage tags, etc.

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

How do pen-styled readers work?

A

Physically looks like a pen that you drag across a barcode. A photo diode in the tip of the pen measures the intensity of light reflected back at it, and produces a waveform. This is translated to a digital format and can be looked up.

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

How do laser scanners work?

A

Works in same way as pen scanner, but uses laser as source of light. The laser light is reflected off a moving mirror, allowing the barcode to be read in many different positions.

17
Q

How do CCD readers work?

A

An array of tiny light sensors are used to detect the intensity of light in front of it. This allows a voltage pattern identical to the pattern of the barcode to be generated.

18
Q

How do camera based readers work?

A

Uses a camera in addition to image processing software to decode a barcode.

19
Q

In terms of storage, what is the drive and what is the media?

A

A drive is a device that reads and writes data from secondary storage.
A media is what the data is actually stored on.

19
Q

Describe how a laser printer works

A

Produces high quality printing at speed.

20
Q

What are the three types of storage devices?

A

Optical