1.2- Memory and Storage Flashcards

1
Q

What is primary storage?

A

“Main Memory”- RAM and ROM
Contain all the data and instructions the computer is currently using
Much faster than secondary storage.

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

What is RAM?

A

Volatile, read-write memory that holds data and instructions the computer is currently using

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

What is ROM?

A

Non-volatile, read only memory that holds boot up and basic instructions (eg BIOS). Can be updated by flashing. Normally fixed to motherboard.

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

How does ROM boot up a computer?

A

Instructions in ROM first check hardware and ensure everything is working (POST). ROM finds operating system on secondary storage, copies to RAM and puts OS in charge.

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

What is virtual memory?

A

When RAM is filled, computer allocates space on secondary storage to act as RAM. Oldest RAM applications are moved to virtual memory and then swapped back when they are used again.

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

Negatives of Virtual Memory

A

Needs to copy back into RAM to be read
If happens regularly can slow system dramatically

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

What is secondary storage?

A

Used as long term storage.
Contains OS, programs, documents and data.
Non volatile, so retains data while computer is off.

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

What are 3 types of secondary storage?

A

Optical: CD (<720MB), DVD (<8.4GB), Blu-Ray (<50GB). Uses lasers to read and write data while disc spins.
Very cheap, quite durable and very portable. Low capacity, easily scratched and low speeds.

Magnetic: HDD, magnetic tape (long term backup), floppy disk. Magnets charge particles to represent bits.
Very high capacity, good value. If bumped could be damaged, noisy and use more energy than SSD.

Solid State: Non-volatile RAM to store data when power is off. Normally much faster. No moving parts, more durable and use less energy. More expensive per GB and have limited number of write attempts.

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

How many bits in a nibble?

A

4 bits

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

How many bits in a byte?

A

8 bits

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

How many bytes in a kilobyte?

A

1000 bytes

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

How many kilobytes in a megabyte?

A

1000 kilobytes (1 million bytes)

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

How many megabytes in a gigabyte?

A

1000 megabytes

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

How many gigabytes in a terabyte?

A

1000 gigabytes

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

How many terabytes in a petabyte

A

1000 terabytes

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

Sound File Size =

A

Sample rate x duration (s) x bit depth

17
Q

Image File Size =

A

Colour depth x image height (px) x image height (px)

18
Q

Text File Size =

A

Bits per character x number of characters

19
Q

What do binary shifts do?

A

Multiplies and divides binary numbers
x2 = shift left once
x4 = shift left twice
etc

20
Q

What is an overflow error?

A

When there isn’t enough room for a result

21
Q

Binary addition rules

A

0+1=1
1+1=0 carry 1
1+1+1=1 carry 1

22
Q

What is a character set?

A

Where each letter/symbol utilised by the set is assigned a binary code so the computer can represent characters.

23
Q

Name 3 character sets

A

ASCII
Extended ASCII
Unicode

24
Q

How does number of bits per character affect total number of characters in a character set?

A

The more bits per character, the more characters can be used in the set as there are more options.
Eg. 7 Bit = 128 possible characters, 8 bit = 256 possible characters

25
Q

How are images represented?

A

A series of pixels that each have a specific colour, which is assigned a specific binary code

26
Q

How does colour depth affect quality and size of image?

A

Greater colour depth= Greater quality as more colours can be represented, greater image size

27
Q

What is resolution

A

Number of pixels image contains. Greater resolution = greater quality, greater file size

28
Q

What is sampling?

A

Taking measurements of the amplitude of the sound wave at regular intervals. This value assigned binary value in order to digitise an analogue sound wave.

29
Q

What is sampling rate?

A

How many samples are taken per second - measured in Hz.

30
Q

How does sampling rate affect sound?

A

Greater sampling rate = closer digital representation to actual sound

31
Q

What is sampling size?

A

Amount of storage space allocated to storing each sample.
Sample size of 8 bits allows 256 different values.

32
Q

What is bit rate?

A

Amount of storage required to store 1 second of sound.
Sampling frequency x Sample size

33
Q

How does sample rate, bit depth and duration affect playback quality and file size?

A

Greater sample rate/ bit depth/ duration = greater file size
Greater sample rate/ bit depth = better playback quality

34
Q

What is metadata?

A

Data about data.
Includes data about the file itself, such as file type, date created, author.
In images, includes resolution, colour depth, height x width of image.

35
Q

What is lossy compression?

A

Lossy compression removes some of the file’s original data in order to reduce file size.
Eg. JPEG, MP3

36
Q

What is lossless compression?

A

Reduces file size without removing any original data from file. Used when it is vital that the file can be restored to its original form.
Eg. ZIP