Part1 Block3 - Main Memory Flashcards

1
Q

Main memory is where the instructions, and the data they act on, are loaded from when a program is executed.

What happens to its contents when the power is switched off?

What is the name for this type of memory?
v__________ m__________

A

its contents are lost

volatile memory

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

Each byte in main memory is numbered in sequence, so that it has a unique memory address.

Historically, there weren’t address and tape had to be run all the way through to find something.
What Acronym for Main Memory has emerged from this difference and why?

A

RAM - Main Memory often referred to as RAM, or Random Access memory,

as the address means that we can easily access something randomly, instead of having to go through it in sequence.

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

What is an advantage of each byte having its own, unique address?

A

Much faster to access.

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

When measuring the amount of main memory (or cache memory) in bytes, the prefixes kilo, mega, giga, tera, etc. are based on binary powers of _____________

A

2

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

You have learned that main memory is volatile – when the power is turned off, the content of the memory is lost.

If this is the case, how does the computer get the first instructions to execute immediately after the computer is turned on?

A

It uses the ROM Memory

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

There is a separate area of memory called r____-______ memory (ROM).
The contents of ROM are not lost when the power is switched off, so this kind of memory is called p___________ memory.

A

read-only memory

persistent memory

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

An important function of ROM is to store a program, called a b______ program, which is automatically executed when the computer is first switched on, or ‘booted up’.

This small program will typically do some hardware housekeeping, such as r_______ a t________ of m________. It will then load larger programs, such as the o___________ s________, into main memory.

A

a boot program

running a test of memory

operating system

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

Locations in main memory are c___________ (that is, they follow on from each other) and are sequentially numbered, so that each one has a unique memory address.

The first memory location to be allocated is always given an address of _____

A

Contiguous

0

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

Most computers are sold with at least 4 _ _ _ of main memory.

A

GiB

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

Write 4 GiB in binary scientific notation.

A

4 x 2^30

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

Why do humans usually represent memory addresses in hexadecimal?

A

It’s more compact. Smaller to write.

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

Sometimes hex values are prefixed by ____ or appended by ______ to show that they are in the hexadecimal number system.

E.g. 0x4ee2 or B5A2 h.

A

0x
h

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

It is not only memory addresses that are written in hex; many large binary quantities in computing are represented in this way.

For example, o________ s__________ e________ are often designated in hex

A

operating system errors

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