1.2 Memory and Storage Flashcards

1
Q

Why do computers need primary memory?

A

The read and write speed on a hard disk is very slow compared to Main Memory yet the cost of faster speeds means that primary memory doesn’t have enough storage space

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

Features of RAM

A
  • Random Access Memory
  • Stores part of the OS and software in use
  • Can be read from and written to
  • Volatile
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Features of ROM

A
  • Read Only Memory
  • Stores start-up programs, various firmware for the control of the components, bootstrap which tells the computer where to find the OS on the hard drive and Basic Input/Output System (BIOS) which controls the configuration of components
  • Can only be read from
  • Non-volatile
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When is virtual memory needed?

A

When there isn’t enough physical RAM space to store open programs

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

Where is virtual memory stored?

A

On the hard disk

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

How does virtual memory work?

A
  • Programs are transferred out to virtual memory from the RAM when they aren’t currently being executed
  • Programs are transferred back to RAM when they’re needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Optical storage

A

Lasers read and write data using light

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

Magnetic storage

A

Mechanical parts e.g. a driver head move over the disk to read and write data magnetically

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

Features of optical storage (Capacity, Speed, Portability, Durability, Reliability, Cost)

A
  • Bad compared to others
  • Bad, accessed in a spiral
  • Good
  • Bad, prone to scratches
  • Medium, can become damaged easily
  • Good, cheap to buy in bulk
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Features of magnetic storage (Capacity, Speed, Portability, Durability, Reliability, Cost)

A
  • Good
  • Medium, can only be read sequentially
  • Medium, moving when powered on can damage the device
  • Medium, moving parts eventually fail
  • Medium, can become damaged or moving parts can fail
  • Good, cheaper cost per gigabyte than solid state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the features of virtual memory?

A
  • Cheaper than increased RAM
  • Prevents error message ‘out of memory’ while programs and files remain open
  • Takes more time to access than data stored in RAM due to transfer time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Features of solid state storage (Capacity, Speed, Portability, Durability, Reliability, Cost)

A
  • Medium
  • Good, data doesn’t need to be accessed sequentially
  • Good
  • Bad, limited number of read/write cycles
  • Good, no moving parts
  • Medium, price is decreasing as technology improves
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Nibble

A

4 bits

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

Byte

A

8 bits

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

What is the order of units of data?

A

kB, MB, GB, TB, PB

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

0+0

A

0

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

1+0

A

1

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

1+1

19
Q

1+1+1

20
Q

Shift left

A

Multiply by 2

21
Q

Shift right

A

Divide by 2 (empty positions are filled with 0s resulting in a loss of accuracy)

22
Q

Most significant bit

A

Largest power of 2

23
Q

Least significant bit

A

Smallest power of 2

24
Q

Binary to hex and vice versa

A

Each nibble converted separately e.g. 11011001=D9

25
Denary to hex and vice versa
Divide by 16 for first digit value, remainder is second digit value e.g. 217=D9
26
Character set
A logically ordered set of all characters that can be encoded using a given number of bits
27
American Standard Code for Information Interchange
7 bits (128 characters)
28
Extended ASCII
8 bits (256 characters)
29
Unicode
16 bits (63,536 characters) used for all languages of the world and some emojis
30
What are images made up of?
Pixels
31
The more pixels per inch, the greater the resolution but...
The greater the file size since more data needs to be stored
32
Colour depth
The number of bits per pixel
33
The more colours represented in an image...
The more bits needed per pixel and therefore the greater the file size
34
Metadata
Data about data e.g. file type, time and date of creation, author, file size, image dimensions, image resolution, colour depth
35
What is used to log sound in binary form?
Analogue-to-Digital Converter
36
Sample resolution
The number of bits used to stored each sample
37
The greater the sample resolution...
The greater the accuracy and therefore quality but also file size
38
Sample rate
Frequency in Hz with which sound is recorded
39
The greater the sample rate...
The greater the quality and file size
40
Features of lossy compression
- Removes data that can go unrecognised to the user - Less accuracy - Smaller file size - Used for images (jpg), audio (mp3), video and GIFs
41
Features of lossless compression
- Identifies and encodes repeated sections of data so that they can be represented efficiently - More accuracy - Larger file size - Used for documents and PNGs
42
Why is secondary storage needed?
RAM is volatile and ROM is read-only therefore it is needed to stored programs and data when the computer is powered off
43
Image file size (bits)
Image height x image width x colour depth + metadata
44
Sound file size (bits)
Sample rate x bit depth x duration + metadata