CPU: Performance and Architecture

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/27

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.

28 Terms

1
New cards

What is the main function of the CPU?

To carry out processing by fetching and executing instructions.

2
New cards

Where are instructions fetched from

From the main memory (RAM).

3
New cards

What does the ALU do?

Performs arithmetic operations (add, subtract) and logical comparisons.

4
New cards

What does the Control Unit (CU) do?

Sends control signals, manages instructions

5
New cards

What is a register?

A fast storage area in the CPU that holds instructions, data, or addresses, usually one value.

6
New cards

What is cache memory?

A fast, small storage area that stores frequently used instructions

7
New cards

What are the three stages of the Fetch–Decode–Execute cycle?

Fetch, Decode, Execute.

8
New cards

What happens during Fetch?

CU fetches the next instruction from main memory.

9
New cards

What happens during Decode?

The CU decodes the instruction and prepares components.

10
New cards

What happens during Execute?

The instruction is carried out, often using the ALU, and may involve memory read

11
New cards

What does the Program Counter (PC) do?

Holds the address of the next instruction.

12
New cards

What does the MAR do?

Stores the address of the instruction or data being used.

13
New cards

What does the MDR do?

Holds the instruction

14
New cards

What does the Accumulator (ACC) do?

Temporarily stores results of calculations.

15
New cards

What is Von Neumann architecture?

Stores programs and data in the same memory.

16
New cards

What is Harvard architecture?

Has separate memory for programs and data.

17
New cards

How does the CPU distinguish between instructions and data in Von Neumann?

By the stage of the fetch–execute cycle and whether the address came from the PC.

18
New cards

What does RAM store in Von Neumann architecture?

Currently running program instructions, the OS, and data in use (like open files).

19
New cards

What is the Von Neumann bottleneck?

Performance limitation from using the same memory and buses for instructions and data.

20
New cards

How do CPUs reduce the bottleneck?

Use cache and wider buses.

21
New cards

What are the three levels of cache?

L1: fastest, smallest (2–256KB, per core). L2: larger, slower (256KB–8MB, per core). L3: biggest, slowest (4–50MB, shared).

22
New cards

Why is cache faster than RAM?

It’s closer to the CPU and uses faster technology.

23
New cards

How does clock speed affect performance?

Higher speed = more instructions per second → faster CPU, but more heat

24
New cards

How do cores affect performance?

More cores allow more tasks to run simultaneously.

25
New cards

Can software always use multiple cores?

No, it depends if the software is designed for multi-core use.

26
New cards

What is an embedded system?

A computer built into another device for a specific function.

27
New cards

Give examples of embedded systems.

Washing machines, smartwatches, microwaves, traffic lights, GPS, cameras.

28
New cards

How do embedded systems differ from general-purpose computers?

General-purpose can run many programs; embedded systems only do one task.