Topic 1.1 Flashcards

The characteristics of contemporary processors, input, output and storage devices

1
Q

Examples of arithmetic operations

A

Add
Subtract
Multiply
Divide

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

Examples of control signals

A

Bus request
Bus grant
Memory write
Memory read
Interrupt request
Clock

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

Examples of logic operations

A

AND
OR
NOT
XOR

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

Function of the accumulator

A

Stores the results from calculations

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

Function of the CIR

A

Holds the current instruction being executed, divided up into operand and opcode

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

Function of the MAR

A

Holds the address of a location that is to be read from or written to

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

Function of the MDR

A

Temporarily stores the data that has been read or data that needs to be written

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

Function of the PC

A

Holds the address of the next instruction to be executed

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

How does pipelining work

A

The process is split into instruction pipelining and arithmetic pipelining, and they carry out the appropriate tasks

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

How is assembly language executed

A

The instruction is divided into operand and opcode in the CIR

The operand contains the data/address upon which the operation is to be performed

The opcode specifies the type of instruction to be executed

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

Jobs the control unit has ( maybe remember just a few)

A

Controlling and coordinating activities of the CPU

Managing the flow of data between the CPU and other devices

Accepting the next instruction

Decoding instructions

Storing the resulting data back in memory

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

What are buses

A

A set of parallel wires that connect 2 or more components

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

What are registers

A

Small memory cells within the CPU, which
operate at a very high speed and are used to temporarily store data

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

What are the 3 types of buses

A

Data bus
Address bus
Control bus

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

What are the main 3 factors affecting CPU performance

A

Clock speed
Number of cores
Cache memory

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

What does the control bus do

A

Coordinates the use of the address buses and data buses and provides status information between system components

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

What happens in the fetch phase of an FDE cycle

A

The address from the PC is copied to the MAR

The instruction held at the address is copied to the MDR by the data bus

Simultaneously, the contents of the PC are increased by 1

The value held in the MDR is copied to the CIR

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

What is a bus grant

A

Shows that the CPU has granted access to the data bus

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

What is a bus request

A

Shows that a device is requesting the use of the data bus

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

What is a clock

A

Used to synchronise operations

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

What is a control bus

A

A bi-directional bus used to transmit control signals between internal and external components

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

What is a core

A

An independent processer that is able to run its own FDE cycle

23
Q

What is a interrupt request

A

Shows that a device is requesting access to the CPU

24
Q

What is a system clock

A

An electronic device that determines clock speed and generates signals

25
Q

What is arithmetic pipelining

A

Breaking down the arithmetic operations and overlapping them as they are performed

26
Q

What is assembly language

A

A code that uses mnemonics to represent instructions

Eg. ADD represents addition

27
Q

What is clock speed

A

The time taken for one clock cycle to complete

28
Q

What is instruction pipelining

A

Seperating out the instruction into fetching, decoding, and executing

29
Q

What is meant by the width of the bus

A

The number of parallel wires the bus has

Bus width is directly proportional to the number of bits transferred

Eg. 8 , 16 , 32 or 64 wires wide

30
Q

What is memory read

A

Data is read from a specific location to be placed onto the data bus

31
Q

What is memory write

A

Data is written into the addressed location using this bus

32
Q

What is pipelining

A

The process of completing fetch-decode-execute cycles of 3 separate instructions simultaneously

33
Q

What is the address bus

A

The bus used to transmit memory addresses

(Specifies where data is to be sent or retrieved from)

The width of the address bus is proportional to the number of addressable memory locations

34
Q

What is the ALU

A

Arithmetic logic unit

Completes arithmetic and logical operations

35
Q

What is the control unit

A

The component of the CPU that directs its operations

36
Q

What is the CPU

A

The brain of the computer

It executes instructions that allow programs to be run

37
Q

What is the data bus

A

A bi-directional bus

This means bits can be carried in both directions

Used to transport data and instructions between components

38
Q

What is the FDE cycle

A

A sequence of operations that are completed in order to execute an instruction

39
Q

What occurs in the decode phase of an FDE cycle

A

The contents of CIR are split into operand and opcode

40
Q

What occurs in the execute phase of an FDE cycle

A

The decoded instruction is executed

41
Q

Where is data held for pipelining

A

In a buffer in close proximity to the CPU

42
Q

Why are dual codes not useful

A

Not all programs are able to utilise multiple cores efficiently as they have not been designed to do so

43
Q

Why are dual cores useful

A

Theoretically, they can complete tasks twice as fast as a single core.

44
Q

Why is pipelining used on 3 separate instructions

A

While one instruction is being executed, another can be decoded, and another can be fetched

45
Q

What is cache menory

A

The CPUs on board memory

Instructions are fetched from main memory and are copied to the cache so that they can be accessed quicker

As the cache fills up , unused Instructions are replaced

46
Q

Properties of level 1 cache

A

Very fast memory cells
(2 - 64 KB)

47
Q

Properties of level 2 cache

A

Relatively fast memory cells
(256 KB - 2MB)

48
Q

Properties of level 3 cache

A

Much larger and slower memory cells

49
Q

What is von neuman architecture

A

This architecture includes the basic components of the computer and processor (ALU , registers , memory units , control unit)

In which a shared memory and shared data bus is used for both data and instructions

50
Q

What is Havard architecture

A

This architecture has physically separate memories for instructions and data

(This architecture is more commonly used for embedded processors)

51
Q

Examples of havard architecture in use

A

This architecture is useful for when memories have different characteristics

Instructions may be read only while data may be read and write

52
Q

List some advantages of using von neuman architecture

A

It is cheaper to develop as the control unit is easier to design

Programs can be optimised in size

53
Q

List some advantages of havard architecture

A

Quicker execution as data and instructions can be fetched in parallel

Memories can be different sizes, which can make more efficient use of space

54
Q

What is contemporary processing

A

Processors which use a combination of hazard and von neuman architecture.

Von neuman is used for working with data and instructions in main memory

Havard is used to divide the cache into instruction cache and data cache