Memory and Storage (2)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/90

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:39 PM on 4/16/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

91 Terms

1
New cards

What is primary storage and why is it needed?

Primary storage connects directly with the CPU.

It is needed because the CPU cannot interact with secondary storage.

2
New cards

Is primary storage faster or slower than secondary?

Faster

3
New cards

Give 2 examples of primary storage.

RAM, ROM, Cache, Registers

4
New cards

What does volatile mean?

Loses data when power is lost

5
New cards

What does RAM stand for and what does it do?

Stands for Random Access Memory.

It stores currently running programs and is volatile.

It is slower than cache.

6
New cards

What does ROM stand for and what does it do?

Stands for Read Only Memory.

It stores the BIOS and is non-volatile.

It cannot be written to and stores data which shouldn't be changed.

7
New cards

What is virtual memory and when is it used?

Virtual memory is a part of the secondary storage that is used as temporary primary memory.

It is used when the RAM is full.

8
New cards

Give the process of virtual memory.

When the RAM is full, data is moved the virtual memory.

New programs can now be loaded into RAM.

When the data is needed again, it is moved back to the RAM.

9
New cards

Give one advantage of using virtual memory.

Improves performance, cheap

10
New cards

Give one disadvantage of using virtual memory.

Causes disk thrashing, slower than RAM

11
New cards

What is secondary storage and why is it needed?

Stores data permanently as it is non-volatile.

It stores software, files, programs etc.

It can be used to transfer files between devices.

12
New cards

What are the Qualities to assess secondary storage on?

Capacity

Speed
Portability

Durability

Reliability

Cost

13
New cards

What are the three types of secondary storage?

magnetic, optical, solid state

14
New cards

Give an example of optical storage.

CD, DVD, Blu-ray

15
New cards

Give 2 advantages of optical storage.

Very cheap, portable, durable/robust

16
New cards

Give a disadvantage of optical storage.

Very slow, small capacity

17
New cards

Give an example of magnetic storage

Hard drive, magnetic tape, floppy disk

18
New cards

Give 2 advantages of magnetic storage.

Large capacity, quite cheap

19
New cards

Give a disadvantage of magnetic storage.

Not durable (has moving parts), not portable (heavy)

20
New cards

Give an example of solid state storage.

USB flash drive, SD card, SSD

21
New cards

Give 2 advantages of solid state storage.

Very fast access speed, very portable, durable, doesn't get hot

22
New cards

Give a disadvantage of solid state storage.

Very expensive

23
New cards

Give the 6 properties of secondary storage.

Capacity; Speed; Cost; Portability; Durability; Reliability

24
New cards

What base do computers use?

Base 2 (binary)

25
New cards

Why do computers use binary?

Switches can only be on or off (1 or 0)

26
New cards

What base do people use?

Base 10 (decimal)

27
New cards

Why do people use decimal?

We have 10 fingers

28
New cards

What are the first 8 powers of 2?

1,2,4,8,16,32,64,128,256

29
New cards

What is a bit and values can it store?

Smallest unit of storage. Either 1 or 0 (on or off)

30
New cards

What is a byte and how many values can it store?

8 bits - can store 0 to 255

31
New cards

What is a nibble and how many values can it store?

4 bits (half a byte) - can store 0 to 16

32
New cards

What are the higher derivatives of byte?

Kilobyte, Megabyte, Gigabyte, Terabyte

33
New cards

How many bytes are in a kilobyte?

1024 (1000 in calculations)

34
New cards

Order from smallest to largest: GB, bit, PB, byte, nibble, MB

bit, nibble, byte, MB, GB, PB

35
New cards

Add 00100111 to 01001010

01110001

36
New cards

Add 01101111 to 10011010

10011010

37
New cards

Add 10001010 to 11000111

01010001 (Overflow error)

38
New cards

How do you find the file size of a sound file?

Sample rate (Hz) x duration (s) x bit depth (bit/sample)

39
New cards

What is the file size of a 10 sec sound file with sample rate of 100 Hz and bit depth of 4?

100 x 10 x 4 = 4000 bits = 500 bytes

40
New cards

How do you find the file size of an image file?

Image height (px) x image width (px) x colour depth (bit/px)

41
New cards

What is the file size of a 10 by 20 image with 8 bit colour depth?

10 x 20 x 8 = 1600 bits = 200 bytes

42
New cards

How do you find the file size of a text file?

Bits per character x number of characters

43
New cards

What is the file size of a 30 character text file with 8 bits per character?

30 x 8 = 240 bits = 30 bytes

44
New cards

Convert 1100 to decimal.

8 + 4 = 12

45
New cards

Convert 10011011 to decimal.

128 + 16 + 8 + 2 + 1 = 155

46
New cards

Convert 9 to 4-bit binary.

1001

47
New cards

Convert 100 to 8-bit binary.

00110100

48
New cards

Give the 4 golden rules of binary addition.

0 + 0 = 0; 1 + 0 = 1; 1 + 1 = 10; 1 + 1 + 1 = 11

49
New cards

What is hexidecimal?

Base 16

50
New cards

What digits does hex use?

0-9, A-F

51
New cards

Convert 01111001 to hex.

79

52
New cards

Convert 11010011 to hex.

D3

53
New cards

Convert A2 to binary.

10100010

54
New cards

Convert 39 (hex) to binary.

00111001

55
New cards

Convert 29 (decimal) to hex.

1D

56
New cards

Convert 127 (decimal) to hex.

7F

57
New cards

Convert A3 to decimal.

10*16 + 3 = 163

58
New cards

Convert 1C to decimal.

1*16 + 12 = 28

59
New cards

What does a binary shift do?

Multiply/divide the number by a power of 2.

60
New cards

What does a left binary shift of 2 do?

Multiplies number by 4

61
New cards

What does a right binary shift of 3 do?

Divides number by 8.

62
New cards

Perform a left shift of 3 on 00010110

10110000

63
New cards

Perform a right shift of 1 on 10100011

01010001

64
New cards

Define the most significant bit.

The largest non-zero bit in a binary number.

65
New cards

What is a character set?

A collection of all characters that a computer can use. Each character is represented by a unique binary number.

66
New cards

What does ASCII stand for?

American Standard Code for Information Interchange

67
New cards

What can ASCII represent, and how many bits does it use per character?

Can only represent English. It has 7 bits for 255 characters in total.

68
New cards

Give an advantage of ASCII.

Smaller than Unicode

69
New cards

Give a disadvantage of ASCII.

Can only represent English characters.

70
New cards

What is extended ASCII?

A character set which uses 8 bits and can represent common European symbols.

71
New cards

If 'R' in ASCII is 1010010, what is 'r'?

1110010

72
New cards

If 'b' in ASCII is 98, what is 'e'?

103

73
New cards

What is Unicode?

A character set which uses 32 bits and can represent characters in all languages, including emojis.

74
New cards

Give an advantage of Unicode.

Can represent all languages

75
New cards

Give a disadvantage of Unicode.

A lot more bits per character

76
New cards

How are images represented?

A bitmap made of pixels (picture elements). Each pixel has a binary number which represents its colour.

77
New cards

How are colours represented?

Each colour has a unique binary code, usually expressed with hex values (e.g. FF7F00 is orange)

78
New cards

What is metadata?

Data about data - gives information about the properties of a file.

79
New cards

Give 3 examples of metadata.

Resolution (height/width); Colour depth; Geolocation; Date/time created/edited; File type; Authorship

80
New cards

What is colour depth?

The number of bits used for each pixel. A higher colour depth means better quality but larger file size.

81
New cards

What is resolution?

The number of pixels in an image. A higher resolution means better quality but larger file size.

82
New cards

How is sound represented?

Amplitude of the sound wave is sampled at regular intervals. This amplitude is converted into a binary number.

83
New cards

What is sample rate?

The number of samples taken each second. Measured in Hertz, usually Kilohertz. A higher sample rate means better quality but larger file size.

84
New cards

What is duration?

The length of a sound file. Measured in seconds. A longer duration means larger file size.

85
New cards

What is bit depth?

The number of bits per sample. A larger bit depth means better quality but larger file size.

86
New cards

What is compression and why do we need it?

Compression reduces file sizes. This speeds up upload/download times and means the file takes up less space on secondary storage/server.

87
New cards

What is lossy compression?

Data is permanently lost to reduce file size. An algorithm is used to remove unneeded data.

88
New cards

What is lossless compression?

Data is temporarily lost to reduce file size. The data comes back when the file is decompressed.

89
New cards

How is an image file compressed?

Reduce resolution or colour depth (lossy)

90
New cards

How is a sound file compressed?

Reduce sample rate or bit depth (lossy)

91
New cards

How is a text file or code compressed and why?

Lossless - if any code is lost it will not run.