The CPU GCSE OCR Computer Science

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Get a hint
Hint

What does the CPU stand for?

Get a hint
Hint

The Central Processing Unit.

Get a hint
Hint

What is the CPU?

Get a hint
Hint

The brain of the computer system.

Card Sorting

1/41

Anonymous user
Anonymous user
encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

What does the CPU stand for?

The Central Processing Unit.

2
New cards

What is the CPU?

The brain of the computer system.

3
New cards

What does the CPU do?

Process Data and Executes Instructions that make the computer system work.

4
New cards

What does the processing power of a CPU depend on?

It's:

-Clock speed

-Number of cores

-Cache size

5
New cards

What does the CPU architecture describe?

The main components of the CPU, their interaction with one another, and their interaction with other parts of the computer system.

6
New cards

What are the two types of CPU architecture?

Von Neumann and Harvard.

7
New cards

How many main parts does a CPU have?

3

8
New cards

What are the names of the 3 main parts of a CPU?

-The control unit (CU)

-The arithmetic logic unit (ALU)

-The cache

9
New cards

Which main part of the CPU has the overall control of the CPU?

The control unit (CU)

10
New cards

What is the main job of the control unit (CU)?

To execute program instructions by following the fetch-decode-execute cycle.

11
New cards

"The Control Unit (CU) controls the flow of data __________ and __________ of the CPU."

"inside"

"outside"

12
New cards

The Control Unit controls the flow of data inside the CPU to where?

To the registers, the ALU and the cache.

13
New cards

The Control Unit controls the flow of data outside the CPU to where?

To the main memory and input/output devices.

14
New cards

What does ALU stand for?

The Arithmetic Logic Unit

15
New cards

What does the ALU do?

All the calculations - SImple addition and subtraction, compares the size of numbers and can do multiplications and divisions using repeated addition and subtraction.

16
New cards

What register does the ALU contain?

The accumulator register.

17
New cards

What type of operations does the ALU perform?

Logic operations such as AND, OR and NOT and binary shifts.

18
New cards

What is the cache?

The cache is very fast memory in the CPU.

19
New cards

"Cache is _____________ than registers, but _____________ than RAM"

"slower"

"Faster"

20
New cards

"The cache stores ____________________ used data"

"regularly"

21
New cards

Why does the cache store regularly used data?

So that the CPU can access it quickly the next time that it is needed.

22
New cards

When the CPU requests data, where does it first check?

The cache.

23
New cards

When the CPU requests data, and the data is not in the cache, where does it check next?

The RAM.

24
New cards

"Compared to RAM and secondary storage, caches have a very low _____________ and are ________________."

"capacity"

"expensive"

25
New cards

What are the three levels of cache size?

L1, L2 and L3.

26
New cards

"Compared to other cache sizes, L1 is the _________________ but has the lowest _____________."

"quickest"

"capacity"

27
New cards

"L2 cache size is _____________ than L1, but can hold _________."

"slower"

"more"

28
New cards

"L3 cache size is ____________ than L2, but can hold _________."

"slower"

"more"

29
New cards

The registers that the CPU contains do what?

Temporarily hold tiny bits of data needed by the CPU.

30
New cards

An advantage of registers is that they are...

Super quick to read/write, way quicker than any other form of memory.

31
New cards

When did Von Neumann come up with his CPU architecture?

1945

32
New cards

What does the Von Neumann architecture describe?

A system where the CPU runs programs stored in memory. Programs consist of instructions and data which are stored in memory addresses.

33
New cards

What is the function of the program counter (PC)?

To hold the memory address of the instruction for each cycle.

34
New cards

What is the function of the accumulator?

To store the immediate results of calculations in the ALU.

35
New cards

What is the function of memory?

To hold the program instructions and the program data.

36
New cards

Other than the accumulator, what other two registers are present in the CPU?

The Memory Address Register (MAR) and the Memory Data Register (MDR).

37
New cards

What is the function of the MAR?

To hold any memory address about to be used by the CPU. The address may point to data, or a CPU instruction.

38
New cards

What is the function of the MDR?

To hold actual data or instructions, which may have been fetched from the memory, or be waiting to be written to memory.

39
New cards

Which cycle do CPUs follow?

The fetch-decode-execute cycle.

40
New cards

What does the fetch instruction do?

1. Copies the memory address from the program counter to the MAR.

2. Copies the instruction which is stored in the MAR address to the MDR.

3. Increments the program counter to point to the address of the next instruction.

41
New cards

What does the decode instruction do?

The instruction in the MDR is decoded by the CU and the CU might prep for the next step by loading values into the MDR/MAR etc.

42
New cards

What does the execute instruction do?

The instruction is carried out.