Course 1.2: Programs, CPU and Memory Flashcards

(25 cards)

1
Q

What is a program?

A

A program is a set of instructions that tells a computer what to do.

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

In what language does the CPU execute instructions?

A

Machine language (binary: 1s and 0s).

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

Why do computers need a “translation dictionary”?

A

Because humans write instructions in human-readable languages, but CPUs only understand binary.

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

Where are programs typically stored?

A

On long-term storage like a hard drive.

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

Why are programs copied into RAM before execution?

A

Because RAM is much faster for the CPU to access than the hard drive.

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

Why is RAM called “random access”?

A

Because the CPU can access any memory location directly and equally quickly.

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

What is the External Data Bus (EDB)?

A

A set of wires that carries actual data (bits) between computer components.

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

How does the EDB represent binary?

A

Voltage on a wire = 1
No voltage = 0

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

What does bus size (8-bit, 16-bit, 32-bit, 64-bit) represent?

A

How many bits can be transmitted at one time.

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

What is the Address Bus?

A

A bus that carries the memory location (address) of data, not the data itself.

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

What is the Memory Controller Chip (MCC)?

A

A component that acts as a bridge between the CPU and RAM.

It retrieves requested data from RAM and sends it to the CPU.

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

What are CPU registers?

A

Small storage locations inside the CPU that temporarily hold data being processed.

They allow the CPU to quickly store and manipulate data during calculations.

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

Where are calculation inputs and outputs stored inside the CPU?

A

In registers (e.g., Register A, Register B, Register C).

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

What is cache?

A

Very small, very fast memory inside the CPU used to store frequently accessed data.

Cache is smaller and faster than RAM.

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

What are the three levels of cache?

A

L1, L2, and L3.

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

Which cache level is the smallest and fastest?

17
Q

What is a good analogy for cache vs RAM?

A

RAM = refrigerator (easy access but not instant)
Cache = items in your pocket (fastest access)

18
Q

What keeps CPU operations synchronized?

A

The internal clock.

19
Q

What is a clock cycle?

A

One tick of the CPU clock during which the CPU performs an operation.

20
Q

What does a 3.4 GHz CPU mean?

A

It can perform up to 3.4 billion clock cycles per second.

21
Q

Does a CPU always run at its maximum clock speed?

A

No. It can run below its maximum but cannot exceed it under normal conditions.

22
Q

What is overclocking?

A

Increasing the CPU’s clock speed beyond its rated maximum to improve performance.

23
Q

Why do people overclock CPUs?

A

To increase performance (e.g., gaming, demanding tasks).

24
Q

What is a major risk of overclocking?

A

Overheating and potential hardware damage.

25
How does the CPU get instructions from RAM?
CPU sends address over the Address Bus MCC retrieves data from RAM Data travels over the External Data Bus CPU processes it using registers and cache