Memory Flashcards

1
Q

What’s the primary memory?

A

System: registers, cache, main memory, virtual and directly accessed by CPU

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

What’s the secondary memory?

A

Hard-drives

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

Where must data be transferred to in secondary memory?

A

Main memory when needed

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

What’s off-line memory?

A

They back up process and transport data

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

How many bytes are in a bit?

A

8 bites

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

What’s computer memory?

A

Temporary storage area and it holds data and programs that CPU needs

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

What’s a pigeonhole analogy?

A

Back in WW1, pigeons were used to deliver letters across fronts

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

How much does a storage location hold?

A

One word, like an 8-bit computer, holds 8-bit words

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

Define ‘‘address’’

A

Using bytes to locate to memory and a single address can space between RAM and ROM

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

What’s the RAM?

A

Random Access Memory it’s assessed by CPU, it read and writes and it’s volatile memory where a state is lost as soon as power is cut

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

What’s a Static RAM?

A

It’s a fast, retaining state which has a high cost per bit and is used for registers, caches, buffers in I/O.

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

Where’s the SRAM?

A

RAM in embedded systems

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

What’s a Dynamic RAM?

A

Opposite to SRAM, which is slower, its bits are stored in capacitors as charges, low cost per bit and is used for large memory unit and it also needs refreshing because it discharges after some time

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

There are two types of DRAM, name them

A

SIMM and DIMM

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

What’s a SIMM?

A

A single inline memory module which had 32-bit bus width

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

What’s a DIMM?

A

A dual inline memory module which as 64-bit bus width and can store up to 32 GB.

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

What’s DDR and what does it do?

A

Double Data Rate, it transfers data on both rising and falling edges of the block signal and 2 signal per cycle compared to SDR.

18
Q

Why do we need higher ‘‘confidence’’ in RAM?

A

Due to error-rates like we would need extra chips to handle the traffic on popular servers or government databases

19
Q

What’s an LP-DDR RAM?

A

It’s used in mobile devices, LP stands for low power, its temperature is defined by refresh rate, it’s slower and smaller than regular DDR

20
Q

Why use Virtual Memory?

A

We use it when the computer has little physical memory available, it’s slower than main memory.

21
Q

What’s a ROM?

A

Read-Only Memory, it’s non-volatile and it’s used to start up your computer like BIOS.

22
Q

What’s a cache?

A

A small amount of entire memory space is being accessed at any given time, values are accessed repeatedly

23
Q

Temporal locality?

A

Values tend to be accessed repeated at nearby times

24
Q

Sequential locality?

A

Same sequences tend to be re-accessed in same orders

25
Q

Spatial locality?

A

Values nearby in memory tend to be accessed together

26
Q

Level 1 Cache

A

Data cache to store data only

27
Q

TLB

A

Translation lookaside buffer (TLB) cache for virtual memory

28
Q

What’s a block in cache?

A

Copies of several contiguous words from memory

29
Q

What’s a tag in cache?

A

Address or other ID describing which memory is copied in the block

30
Q

What’s a dirty bit in cache?

A

Logging whether data was changed

31
Q

What’s hit or miss?

A

Requested data is found not found, it consists of rate time and miss penalty

32
Q

What’s a victim in cache?

A

Cached data to be thrown out to make room for new data

33
Q

What’s a hash function?

A

It maps big data to smaller ones, usually not possible to recover original data

34
Q

What’s a disadvantage of directed hash function?

A

That it can’t keep multiple uses of addresses in the cache if they share the same hash

35
Q

What are there other mapping algorithms?

A

Full associative and hybrid

36
Q

What’s a magnetic disk drive?

A

To read and write data to disk surfaces, platter spins at high speeds, 5400 RPM - 15000 RPM

37
Q

What’s the meaning of Access Time?

A

It seeks time it takes for an arm to position itself over desired tracks

38
Q

What impacts the data transfer?

A

The size of the data

39
Q

What’s RAID?

A

Redundant Array of Independent Disks

40
Q

What does RAID do?

A

Makes hard discs more resilient to failure