Memory Flashcards

1
Q

what is primary memory

A

primary memory is memory that is accessed by the CPU

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

examples of primary memory

A

RAM, ROM, Virtual Memory and cache

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

what is the RAM

A

RAM is known as the main memory and is used for programs that are currently being used.

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

how does the RAM store data

A

it stores data as small charges of electricity in tiny transistors.

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

what is volatile and non-volatile memory

A

volatile - It loses data when there is no power

non-volatile - keeps data when there is no power

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

why is data loaded on the RAM

A

when you open the programs it is loaded of the hard disk to the RAM. it does this because the CPU can access it at an acceptable rate. the hard disk is too slow for the CPU.

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

how do capacitors and transistors work (bucket analogy)

A

think capacitors like a bucket that can hold an electrical charge. transistors are like plugs at the bottom of the bucket, like switches that allow electricity to flow out.

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

how are capacitors represented (bucket analogy)

A

if the bucket has a current (electrical flow) then the capacitors are holding a current and are represented at a 1. If the bucket has no current flow, then the current escapes and the capacitors empty and are represented as 0

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

what types of RAM are there (dynamic and static)

A

dynamic RAM - has one transistor and one capacitor for each bit. needs to be refreshed every few milliseconds. power always needed.
static RAM - 4-5 transistors wired together for each bit but does not lose their charge so don’t need to refresh every few seconds. needs a constant power supply. faster and more expensive.

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

What is ROM

A

holds the OS bootup scripts. when pc is switched on the CPU accesses the ROM and loads the operating system. but the data on ROM can not be easily over-written.

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

What is virtual memory

A

when you run out of space in the RAM, you then use secondary memory like HDD. however, the HDD is very slow.

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

how does the amount of RAM affect the performance

A

smaller amount of RAM - limited multitasking and greater need for virtual memory
Larger amount of RAM - greater storage for programs so effective multitasking

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

what is cache memory (well written and poorly written programs)

A

it is only a few Mb and is located in the CPU. well written programs make sure that regularly used instructions are copied to the cache. poorly written programs will tend to fetch the instructions that take time.

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