1.1.1 - CPU Architecture Flashcards

1
Q

What is a general purpose computer? (With examples.)

A

A computer that is able to carry out a wide range of tasks

Examples of general purpose computers include tablets, smartphones or game consoles

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

Tasks that a general purpose computer can be used for (4)

A
  • Accessing the internet
  • Playing music or videos
  • Communication via email or social media
  • Play video games
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the CPU do

A

The CPU receives and processes data and instructions

It also controls the rest of the computer system

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

Describe what a register is

A

A register is a small amount of high speed memory in the CPU that holds data

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

Examples of registers

A

PC, MAR, MDR, CIR, Accumulator

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

What is the function of the CU?

A

The CU It controls the cycle of the CPU and decodes instructions

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

What is the function of the PC?

A

It stores the address of the next instruction and increases by 1 at the end of the fetch stage

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

What is the function of the MAR?

A

Copies the address from the PC and stores the address of the current instruction

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

What is the function of the MDR?

A

The MDR holds the data from memory. It gets the address from the MAR.

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

What is the function of the CIR?

A

It stores the instruction e.g. “+”

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

What is the function of the Accumulator?

A

It stores the current value ready for output

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

What is the function of the ALU?

A

It performs any calculations or data comparisons (arithmetic and logic)

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

What is the purpose of cache?

A

Cache is a small amount of high speed memory in the processor and holds very frequently used data and instructions

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

Steps in the fetch decode execute cycle

A
  1. The memory address held in the PC is copied to the MAR
  2. The data from that address is copied to the MDR
  3. The PC is increased by 1
  4. The data is copied from the MDR to the CU where it is then decoded and executed
  5. IF any calculations or comparisons are done, the data is copied to the ALU
  6. The Accumulator stores the result from the ALU ready for output
  7. The cycle restarts with the new address in the PC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly