C2 Memory and Storage Flashcards

(62 cards)

1
Q

Why do computers need primary storage?

A

To store data and programs that are actively being used so the CPU can access them quickly.

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

What are the two main types of primary storage?

A

RAM (Random Access Memory) and ROM (Read-Only Memory).

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

What is the purpose of RAM in a computer system?

A

RAM temporarily stores data and programs that are currently in use. It is volatile, meaning data is lost when power is off.

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

What is the purpose of ROM in a computer system?

A

ROM permanently stores important instructions like the bootstrap loader. It is non-volatile.

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

What are key characteristics of RAM?

A

Volatile, fast, temporary, read/write access.

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

What are key characteristics of ROM?

A

Non-volatile, permanent, read-only, contains essential startup instructions.

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

Why might virtual memory be needed?

A

When RAM is full, virtual memory allows the system to use part of the secondary storage to simulate extra RAM.

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

How does virtual memory work?

A

Data not actively being used is moved from RAM to a section of the hard drive (virtual memory), freeing up RAM for active processes.

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

What happens when RAM is full?

A

The system transfers data between RAM and secondary storage (virtual memory), which can slow performance.

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

What is cache memory?

A

A small, very fast type of memory closer to the CPU that stores frequently used instructions and data.

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

What’s the difference between RAM and ROM?

A

RAM is temporary and volatile, used for current tasks. ROM is permanent and non-volatile, used for essential startup instructions.

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

Why do computers need secondary storage?

A

To store data and programs permanently for long-term access.

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

What are the three main types of secondary storage?

A

Optical (e.g., CD), Magnetic (e.g., HDD), Solid State (e.g., SSD, USB).

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

What are the characteristics used to compare storage types?

A

Capacity, speed, portability, durability, reliability, cost.

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

Give an advantage of optical storage.

A

Cheap, portable, good for media distribution.

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

Give a disadvantage of optical storage.

A

Easily damaged, slow access speed, low capacity.

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

Give an advantage of magnetic storage.

A

High capacity, cost-effective.

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

Give a disadvantage of magnetic storage.

A

Not very portable, mechanical parts = risk of damage.

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

Give an advantage of solid-state storage.

A

Fast access speed, durable (no moving parts), portable.

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

Give a disadvantage of solid-state storage.

A

More expensive per GB than magnetic storage.

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

Which storage type is most suitable for a portable media player?

A

Solid-state — it’s small, fast, and durable.

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

How do you compare devices in context?

A

Use CAPACITY, SPEED, DURABILITY, RELIABILITY, COST, and match to scenario needs.

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

What are the units of data storage from smallest to largest?

A

Bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte, petabyte.

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

Why must data be stored in binary format?

A

Because computers use transistors that can be on/off, representing 1s and 0s.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
How do you convert between data units?
Multiply or divide by 1024 (e.g., 1024 bytes = 1 KB).
26
What is data capacity?
The amount of data a device or medium can hold.
27
What affects the required storage capacity?
File size, number of files, file types (e.g., image vs. text), resolution, bit depth.
28
How do you calculate the file size of text?
Number of characters × bits per character.
29
How do you calculate the file size of an image?
Resolution (width × height) × color depth + metadata.
30
How do you calculate the file size of sound?
Sample rate × duration × bit depth.
31
What is the binary range for 8 bits?
0 to 255.
32
What is the hexadecimal range for 8 bits?
00 to FF.
33
What is a binary shift?
Moving bits left (×2) or right (÷2), affecting the value.
34
How do you convert denary to binary?
Divide by 2, write down remainders, reverse them.
35
How do you convert binary to hex?
Split binary into 4-bit chunks, convert each to hex.
36
What is the most significant bit (MSB)?
The leftmost bit — has the highest value.
37
What is the least significant bit (LSB)?
The rightmost bit — has the lowest value.
38
What does a left binary shift do?
Multiplies the value by 2 for each shift.
39
What does a right binary shift do?
Divides the value by 2 for each shift.
40
What is a character set?
A collection of characters that a computer can recognise and use.
41
What is ASCII?
A character set that uses 7 or 8 bits to represent English characters.
42
What is Unicode?
A character set that uses up to 32 bits to represent many languages and symbols.
43
Why does more bits per character = more characters?
Because each extra bit doubles the number of possible values.
44
How are characters stored in binary?
Each character is assigned a unique binary code from the character set.
45
How are character sets logically ordered?
Characters have ascending binary values in alphabetical/numerical order.
46
What is a pixel?
The smallest unit of a digital image, each with a specific colour.
47
How is an image stored in binary?
Each pixel’s colour is represented with binary values; metadata is added.
48
What is color depth?
The number of bits used to represent each pixel’s colour.
49
What is resolution?
The number of pixels in an image (height × width).
50
What does increasing resolution or colour depth do?
Increases image quality AND file size.
51
What is metadata in an image file?
Extra info like dimensions, colour depth, file format.
52
How is sound stored in binary?
By sampling the amplitude of the sound wave at intervals and storing each sample as binary.
53
What is sample rate?
The number of sound samples per second, measured in Hertz (Hz).
54
What is bit depth?
The number of bits used to store each sound sample.
55
How do sample rate, duration, and bit depth affect file size?
Higher values = better quality and larger file size.
56
Why is compression needed?
To reduce file size for storage or faster transmission.
57
What is lossy compression?
Permanently removes some data, reducing quality but also file size.
58
What is lossless compression?
Compresses data without any loss in quality; can be restored to original.
59
When would you use lossy compression?
For images, audio, or video where perfect quality isn’t essential (e.g., streaming).
60
When would you use lossless compression?
For text or data files where all information must be preserved (e.g., software files).
61
What are the pros and cons of lossy?
Smaller files, faster transfer, lower quality.
62
What are the pros and cons of lossless?
No quality loss, but less file size reduction.