1.1.1 Structure/Function of Processor (old) Flashcards

1
Q

What does the ALU do?

A

It completes all of the arithmetical and logical operations.

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

What do arithmetical and logical operations include?

A

Arithmetical operators include all mathematical operations such as addition and subtraction on fixed or floating point numbers.

Logical operations include Boolean logical operators such as AND, OR, NOT and XOR.

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

What is the control unit?

A

The component of the processor which directs the operations of the CPU.

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

What are the jobs of the Control Unit?

A
  • Controlling and coordinating the 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
5
Q

What are registers?

A

Small memory cells that operate at a very high speed.

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

What are registers used for?

A

They are used to temporarily store data and all arithmetic, logical and shift operations occur in these registers.

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

What does the Program Counter (PC) do?

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
8
Q

What does the Accumulator (ACC) do?

A

Stores the results from calculations

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

What does the Memory Address Register (MAR) do?

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
10
Q

What does the Memory Data Register (MDR) do?

A

Temporarily stores 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
11
Q

What does the Current Instruction Register (CIR) do?

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
12
Q

What is a bus?

A

A physical set of parallel wires connecting and carrying groups of bits between several components of a computer.

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

What are the three buses in the CPU?

What are they collectively called?

A

The data bus, the control bus, the address bus.

They are collectively called the system bus.

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

What is the width of the bus?

A

The number of parallel wires the bus has.

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

What is the width of the bus directly proportional to?

A

The width of the bus is directly proportional to the number of bits that can be transferred simultaneously at any given time.

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

Usually, how wide are buses?

A

8, 16, 32, or 64 wires wide.

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

What is the data bus?

A

A bidirectional bus used to transport data and instructions between components.

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

What is the control bus?

What does it coordinate?

A

A bidirectional bus used to transmit control signals between internal and external components.

It coordinates the use of the address 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
19
Q

What is the address bus used for?

What is the width of the address bus proportional to?

A

Used to transmit the memory address specifying where data is to be sent from or retrieved from.

The number of addressable memory locations.

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

Name 3 control signals

A
  • Bus request: shows that a device is requesting the use of the data bus
  • Bus grant: shows that the CPU has granted access to the data bus
  • Memory write: data is written into the addressed location using this bus
  • Memory read: data is read from a specific location to be placed onto the data bus,
  • Interrupt request: shows that a device is requesting access to the CPU
  • Clock: used to synchronise operations
21
Q

What does adding a wire to the address bus do to the number of addressable locations?

A

It doubles the number of addressable locations.

22
Q

What does the Bus Request indicate?

A

Indicates a device is requesting access to the data bus.

23
Q

What does Bus Grant indicate?

A

Indicates the CPU has granted access to the data bus.

24
Q

What does memory write do?

A

Causes the data on the data bus to be written into the addressed location.

25
Q

What does memory read do?

A

Causes the data from the addressed location to be placed onto the data bus.

26
Q

What does the interrupt request control signal indicate?

A

Indicates a device is requesting access to the CPU.

27
Q

What is the clock control signal used for?

A

Used to synchronise instructions.

28
Q

What is assembly language?

A

A programming language where mnemonics are used to represent instructions.

Therefore, it is a simplified way of representing machine code.

29
Q

What is opcode?

A

Opcode is used to determine the type of instruction and what hardware to use to execute it.

30
Q

What is the operand?

A

The operand contains the data or the address of the data upon which the operation is to be performed.

31
Q

What is the FDE cycle?

A

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

32
Q

What occurs during the fetch phase of the FDE cycle?

A
  • Address from the PC is copied to the MAR
  • Instruction held at that address is copied to 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
33
Q

What occurs during the decode phase of the FDE cycle?

A

The contents of the CIR are split into operand and opcode.

34
Q

What occurs during the execute phase of the FDE cycle?

A

The opcode is executed on the data.

35
Q

What is the clock speed?

A

The number of clock cycles completed per second.

36
Q

What is clock speed determined by?

A

The system clock.

37
Q

What is the system clock?

A

It is the electronic device which generates signals, switching between 0 and 1. All processor activities begin on a clock pulse, and each CPU operation starts as the clock changes from 0 to 1.

38
Q

What is a core?

A

A core is an independent processor that is able to run its own fetch-execute cycle.

39
Q

How does having multiple cores affect a computer?

Explain further, using a dual core computer as an example.

A

A computer with multiple cores can complete more than one fetch-execute cycle at any given time.

A computer with dual cores can theoretically complete tasks twice as fast as a computer with a single core.

40
Q

Are all programs able to utilise multiple cores efficiently? Why?

A

No.

Not all programs are able to utilise multiple cores efficiently as they have not been designed to do so, so this is not always possible.

41
Q

What is cache memory?

A

The CPU’s onboard memory, which can be accessed a lot faster than main memory.

42
Q

What makes cache memory fast?

A

Instructions fetched from main memory are copied to the cache, so if required again, they can be quickly accessed.

43
Q

What happens as cache memory fills up?

A

Unused instructions are replaced.

44
Q

What are the levels of cache, how do they differ?

A

Level 1 Cache –> Fastest Memory cells with small capacity.

Level 3 Cache –> Much larger and slower memory cell.

45
Q

What is Von Neumann architecture?

A

Architecture in which there is a single shared memory and shared data bus for both data and instructions.

It includes all the basic components of the computer and processor. It is built on the stored program concept.

46
Q

What is Harvard architecture?

A

Architecture in which there is two physically separate memory and data buses for data and instructions.

47
Q

What are the advantages of Von Neumann Architecture?

A

Cheaper to develop as the control unit is easier to design.

Programs can be optimised in size.

48
Q

What are the advantages of Harvard 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.

49
Q

What is contemporary processing?

A

Processing in which Von Neumann architecture is used when working with data and instructions in main memory, but Harvard architecture is used to divide cache into instruction cache and data cache.