Resources: Memory Flashcards

1
Q

what is memory made up of

A

addresses and data

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

what is an address space

A

the number of possible locations that could be addressed

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

what is RAM

A

random access memory, main memory, allows any address to be read

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

what is DMA

A

direct memory access

there is a DMA controller than is a simple processor capable of moving data from place to place.

works on physical addresses as outside of MMU

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

what are the OS’s jobs when it comes to memory

A

manage access permissions

deal with heap/stack overflow

keep track of progress of a process

create segments

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

what is memory mapping

A

translate virtual addresses into physical addresses using page table

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

how to two level page tables work

A

subdivide page tables into a tree structure.

Second level page table sdont have to be in RAM, they can be on disk. this allows us to access more addresses.

instead of our address being split into page and offset, it is split into first page, second page and offset.

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

describe memory segments

A

contiguous, variable size chunks of memory. each segment has a number, length and base address

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

what is dynamic memory allocation

A

memory allocated at run time

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

what is stored when we declare an array

A

the size of the array

and a pointer to the first element

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