Central Processing Unit 1.1 Flashcards

1
Q

Purpose of cpu

A
  • process data

- where all sorting, searching, calculating and decision-making takes place

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

F-D-E Cycle in simple terms

A
  • fetches instructions from ram (from program)
  • decodes those instructions
  • executes order
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What computer hardware does the cpu controlp

A
  • input/output devices
  • dvd drive
  • sound system
  • graphic system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Main components of the cpu

A
  • controls unit
  • arithmetic login unit
  • registers
  • cache
  • clock
  • date buses (3types)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Name the three types of data buses

A
  • address bus
  • data bus
  • controls bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Control unit - state 3 points

A
  • monitors the flow of data between cpu/hardware = making sure the correct fast goes to the right hardware
  • manages the input/output signals
  • uses clock signal to synchronise the fde cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Arithmetic logic unit (ALU) - 3 points

A
  • handles data processing inside the CPU
  • perform standard arithmetic operations (+-)
  • performs comparisons and deals with logic (I.e is this value greater than that value)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Registers - 3 points

A
  • type of memory located inside the cpu
  • speeds processing up
  • there are many registers in the cpu
  • holds next instruction needed to be executed
  • holds calculations/results and current instruction being decoded
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why do registers speed up retrieving data

A

-it is faster to shift data to/from the registers than getting it from ram all the time

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

Cache - 5 points

A
  • aka immediate access store = fast type of ram
  • faster to access by cpu than the ram
  • slower to access by the cpu than the registers
  • can have internal cache + external cache (outside the cpu)
  • holds instructions that is frequently used/ will be used
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Clock

A
  • tiny quartz crystal
  • ticks at a very fast , steady pace
  • during each tick the cpu completes one fde Cycle
  • average speed = 3GHz = 3,000 million orders per second the cpu does
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What happens as data is moved closer to the cpu

A

Speed increases but less memory capacity

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

What happens at dat is moved out of the cpu

A

Memory capacity increases

But is slower

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

The buses

A

A set of wire /tracks laid Ona printed circuit board

-role is to carry data around the system

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

Data bus

A

Carries data around the system

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

Address bus

A

Carries information around the system
To the location of the data
-requests the location of data from ram

17
Q

Control bus

A

Handles commands to control devices

E.g monitor

18
Q

Fetch - decode - execute cycle

A

-the 3 steps followed by the cpu in order to process data

19
Q

The fetch stage of the f-d-e cycle

A
  • all programs are loaded in ram so that the cpu can have access to them
  • cpu requests an address of data through an address bus
  • data bus then carries this data from the ram to the cpu
  • then stores them in its own registers
20
Q

Decode stage of f-d-e cycle

A

-cpu works out instruction

21
Q

Execute stage of f-d-e cycle

A
  • data processing happens

- instructions are carried out on data

22
Q

Journey of data

A
  • input device sends data to the cpu = received by the control unit
  • controls unit sends this data to the ram to be sued later
  • then data will be transferred from ram to cache
  • then sent to alu to be processed
  • controls unit will send the processed data back to the output device