1.1.1 (Structure and function of the processor) Flashcards

1
Q

What is the Harvard architecture?

A
  • Data and instructions are stored and fetched separately
  • Can process instructions and data at the same time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Compare Von Neumann and Harvard architecture

A
  • Von Neumann is adaptable and conventional
  • Harvard is faster and more complex
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an address bus?

A
  • Transmits the address of data to be loaded from the CPU to memory
  • Carries the location to read/write data
  • It goes one way
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a data bus?

A
  • Transmits data between components
  • Goes both directions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a control bus?

A
  • Transmits command, timing, and status information between components
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is assembly language?

A
  • A low level programming language
  • Each command maps directly to a machine code instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe what happens in the “fetch” part of the fetch-execute cycle?

A
  • The address of the instruction to be fetched is placed into the MAR.
  • The instruction is fetched from memory. - - The instruction is transferred to the MDR.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe what happens in the “decode” part of the fetch-execute cycle?

A

The instruction is decoded

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

Describe what happens in the “execute” part of the fetch-execute cycle?

A

The decoded instruction is then executed so that the CPU performs continuously

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

Describe what happens at the end of the fetch execute cycle?

A
  • The process is repeated
  • The program counter is incremented
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What operations does the ALU perform?

A

Arithmetic and logic operations

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

What does the Control Unit (CU) do?

A
  • Sends signals to control the fetch execute cycle.
  • Co-ordinates the flow of data through the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a CPU register?

A
  • The section of high-speed memory within the CPU that stores data to be processed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

State two features of the MAR?

A
  • It is a register
  • It stores a single address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the function of the MAR?

A
  • Stores the address of the instruction that is going to be fetched
  • Holds the address in memory where data is going to be transferred to
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the function of the MDR?

A

Stores the fetched instruction/ the instruction to be processed

17
Q

What is the function of the Program Counter?

A

Stores the address of the next (or current) instruction to be run

18
Q

What is the function of the Accumulator?

A

Stores the result of calculations/processes

19
Q

Why does cache size affect the performance of the CPU?

A
  • Data is transferred faster
  • Makes the CPU more efficient
20
Q

How can having a higher processor affect the performance of the CPU?

A
  • Faster/ Higher clock speed
  • More Fetch Execute Cycles
  • More Instructions can be executed per second
21
Q

Explain why having a quad- core processor will not always run twice as fast as a dual- core processor?

A
  • Software may be designed to run 1 core and not multiple
  • Dual core may have a faster clock speed than a quad core
  • Quad core may have less RAM
  • Quad core may have less cache
22
Q

What is Cache Memory?

A

High speed memory inside the processor that stores frequently used instructions

23
Q

What is machine code?

A
  • A binary programming language used by a CPU
  • All code is eventually converted to machine code
  • Unique to each CPU type
24
Q

What is the Stored Program Concept?

A
  • Instructions and data are stored in memory together
25
Q

What is operand?

A
  • Data for the CPU to run an instruction on
26
Q

What is opcode?

A
  • Operation code: an instruction for the CPU to process
27
Q

What is a CIR?

A
  • Current Instruction Register
  • Holds the current instruction, divided into operand and opcode
28
Q
A