Memory Flashcards

1
Q

What is Memory?

A

Memory is the part of a computer that holds data and instructions for processing. It is separate from the CPU.

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

What is RAM?

A

RAM stands for Random Access Memory.

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

What is Static Memory Allocation?

A

A process in which memory for variables and data structures is reserved at compile time before the program runs.

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

What is Dynamic Memory Allocation?

A

Where memory space is assigned during program execution or run time.

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

Why does the memory only store instructions/data for so long as a program is using it?

A

Data is destroyed when the computer is turned off. If more than one program is running, a single program cannot lay claim to memory. There may not be room in memory to hold the processed data.

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

What is Volatile Memory?

A

Volatile memory is memory that only retains information while the machine is powered on. If power is interrupted or turned off, data is lost. RAM is one type of volatile memory.

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

What is RAM?

A

RAM stands for Random-Access Memory, which temporarily stores data while the CPU is executing other tasks. The more RAM on the computer, the less the CPU has to read data from external/secondary memory, increasing speed. RAM is fast but volatile.

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

What is ROM?

A

ROM stands for Read-Only Memory. It is non-volatile, so data is retained even without power. It is mainly used to start the computer.

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

What is DRAM?

A

DRAM is a type of RAM.

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

Describe the L1 cache

A

The L1 cache is extremely fast transfer rate but is usually small in size. The processor uses L1 cache to store its most frequently used data and instructions

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

Describe L2 cache

A

L2 is bigger than L1 but slower in speed. Holds data and instructions that are used less frequently

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

Describe L3 cache

A

L3 is specialised to improve performance of L1 and L2. L1 and L2 can share L3 cache.

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

What is the MMU?

A

Memory Management Unit. It handles all memory and caching operations related to the processor.

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

What is a DMA request?

A

Direct Memory Access request

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

What is an IRQ request?

A

Interrupt request

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

What does the Memory Management Unit (MMU) do?

A

The MMU handles memory addressing and provides security features so that applications are restricted to their own memory space. MMU blocks applications that try access the incorrect space.

17
Q

What is a Direct Memory Access (DMA) operation?

A

When memory is access directly bypassing the CPU.

18
Q

Why are DMA performed?

A

It allows the CPU to work through more important tasks, avoids wasted cycles on transfers that it doesn’t need to be involved with. It locks the buses.

19
Q

What is Pipelining?

A

Pipelining is when different stages of multiple instructions are executed simultaneously, improving efficiency.