MEMORY AND STORAGE

0.0(0)
studied byStudied by 2 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/77

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

78 Terms

1
New cards

What are the two main types of primary storage?

  • RAM (Random Access Memory)

  • ROM (Read-Only Memory).

2
New cards

What happens to the data in RAM when the power is turned off?

it is lost (RAM is volatile).

3
New cards

Can data be written to ROM during normal operation?

No, ROM is read-only

4
New cards

What type of data does RAM typically hold?

The operating system, running applications, and associated data while the computer is in use.

5
New cards

Why is ROM important during the boot process?

It stores the bootstrap loader/BIOS to start the computer.

6
New cards

Is RAM considered permanent or temporary storage?

Temporary, as it only works while the computer is powered on.

7
New cards

What is a key difference between RAM and ROM in terms of volatility?

RAM is volatile (loses data when powered off), while ROM is non-volatile (retains data even when powered off)

8
New cards

What happens if there is insufficient RAM to run multiple applications?

The computer uses virtual memory by temporarily moving data to/from secondary storage.

9
New cards

What is virtual memory?

a portion of secondary storage used as an extension of RAM to handle more data than available physical RAM.

10
New cards

How is ROM data retained when the computer is turned off?

ROM is non-volatile, so it retains data permanently.

11
New cards

Why is secondary storage needed in a computer?

To store files and programs permanently; it is non-volatile, reliable, low cost, and high capacity.

12
New cards

What type of storage does magnetic storage typically use?

Hard Disk Drives (HDDs).

13
New cards

How do magnetic storage devices read and write data?

a moving read/write head moves across rotating magnetic platters.

14
New cards

What are the advantages of magnetic storage? (3)

  • Reliable

  • cost-effective

  • provides high-capacity storage.

15
New cards

What is a disadvantage of magnetic storage?

Not very portable due to moving parts.

16
New cards

What type of memory do solid-state drives (SSDs) use?

Flash memory.

17
New cards

Why is data access faster in SSDs compared to HDDs?

SSDs have no moving parts.

18
New cards

What are some advantages of SSDs over HDDs?

  • Low power requirements

  • no noise or heat

  • lightweight

  • compact

  • robust

19
New cards

What is a disadvantage of SSDs compared to HDDs?

Smaller capacity and higher cost per unit of storage.

20
New cards

In what types of devices are SSDs commonly used?

Tablet computers and mobile phones.

21
New cards

What is the principle behind optical storage devices?

They use the properties of light to store data.

22
New cards

What are examples of optical storage media?

CDs, DVDs, and Blu-ray disks.

23
New cards

How does an optical storage device read data?

By reflecting laser light on the disk’s surface and interpreting reflections as 1s or 0s

24
New cards

What is a major disadvantage of optical storage?

It is easily damaged by mishandling and scratches.

25
New cards

How many bits make up a nibble?

4 bits.

26
New cards

How many bits make up a byte?

8 bits.

27
New cards

What is the equivalent of 1000 bytes?

1 kilobyte (KB).

28
New cards

How many kilobytes (KB) are in a megabyte (MB)?

1000 KB.

29
New cards

How many megabytes (MB) are in a gigabyte (GB)?

1000 MB.

30
New cards

How many gigabytes (GB) are in a terabyte (TB)?

1000 GB.

31
New cards

How many terabytes (TB) are in a petabyte (PB)?

1000 TB.

32
New cards

What formula is used to calculate the file size of a sound file?

Sample rate (Hz) × Duration (s) × Bit depth.

33
New cards

How is the file size of an image calculated?

Colour depth × Image height (pixels) × Image width (pixels).

34
New cards

What formula is used to calculate the file size of a text file?

Bits per character × Number of characters

35
New cards

What is the range of denary numbers

0-255

36
New cards

What is the range of hexadecimal numbers?

00-FF

37
New cards

What is the range of binary numbers in 8 bits?

00000000 - 11111111.

38
New cards

What does a left shift operation in binary represent

Multiplying by 2.

39
New cards

What does a right shift operation in binary represent?

Dividing by 2.

40
New cards

What is an overflow error in binary addition?

It occurs when there is a carry bit or leftover bit that exceeds the storage capacity.

41
New cards

What is the most significant bit (MSB) in an 8-bit number?

The leftmost digit, which represents 128 in decimal.

10000000

42
New cards

What is the least significant bit (LSB) in an 8-bit number?

The rightmost digit, which represents 1 in decimal.

00000001

43
New cards

How is each character represented in a computer

By a numeric binary code

44
New cards

What is the character set of a computer?

A list of all the characters available to the computer

45
New cards

What is ASCII, and how many characters can it represent?

ASCII is a 7-bit code that represents 128 characters

46
New cards

What is extended ASCII, and how many characters can it represent?

Extended ASCII uses an 8th bit, allowing it to represent 256 characters, including extra symbols and non-English characters.

47
New cards

What is Unicode, and how many characters can it represent in its original form?

Unicode originally used a 16-bit code to represent 65,536 characters

48
New cards

How does Unicode differ from ASCII?

Unicode has been extended to use more bits to represent billions of characters, while original ASCII and extended ASCII codes are subsets of Unicode.

49
New cards

What is the purpose of Unicode?

To represent a wide range of characters and symbols from various languages and systems

50
New cards

How are images represented on a computer screen?

As a series of pixels stored as binary codes.

51
New cards

What determines how many colors a pixel can represent

The number of bits used for each pixel.

52
New cards

How many colors can be represented with 1 bit per pixel?

2 colors (0 or 1).

53
New cards

How many colors can be represented with 2 bits per pixel?

4 colors (2²).

54
New cards

How many colors can be represented with 8 bits per pixel?

256 colors (2⁸).

55
New cards

What is color depth in an image?

The number of bits used per pixel.

56
New cards

What does resolution refer to in an image?

The number of dots (pixels) per unit of distance, e.g., DPI (dots per inch).

57
New cards

What is the impact of higher color depth on an image?

It allows more colors to be represented, improving quality, but increases file size

58
New cards

What is the effect of higher resolution on an image?

It improves quality and allows enlargement without losing detail but increases file size.

59
New cards

What kind of information is stored in image metadata?

  • Color depth

  • resolution

  • geographical data

  • date created/modified

  • file size.

60
New cards

What type of data are sounds initially, and why?

Analogue, because they are a series of continuously varying vibrations

61
New cards

How is analogue sound converted for storage on a computer?

It is sampled at regular intervals and converted into binary.

62
New cards

What is sample rate?

The number of samples taken per second, measured in Hz.

63
New cards

What does 1 Hz represent in sound sampling?

One sample per second.

64
New cards

What is bit depth in sound storage?

The number of bits used to store each sample.

65
New cards

What factors determine the size of a sound file?

  • Sample rate

  • duration

  • bit depth.

66
New cards

What is lossy compression?

A method that removes data to reduce file size. The original file cannot be fully restored.

67
New cards

What is lossless compression?

A form of compression that encodes digital files without losing detail.

68
New cards

Why is lossy compression used for images/videos?

Reduces size without noticeable quality loss.

69
New cards

Can you restore a lossy compressed file?

No, some data is lost permanently.

70
New cards

How does lossless compression work?

Finds patterns and stores data efficiently, preserving the original.

71
New cards

Which files need lossless compression?

Text and audio, where exact data is needed.

72
New cards

Main difference between lossy and lossless?

Lossy removes data, lossless keeps all data intact.

73
New cards

Why is compression needed?

To reduce file sizes for faster transfers, saving space on devices with limited storage, and making data more efficient to handle

74
New cards

What are the trade-offs in compression?

Compression reduces file sizes but may affect quality, bandwidth usage, and processing power.

75
New cards

What are the key points of lossy compression?

Removes data, saves space, irreversible, used for sound, images, and video.

76
New cards

Why is lossless compression needed for some files?

Losing data can make files unreadable, like text documents or programs

77
New cards

What is lossless compression?

Reduces file size without losing data, allowing the original file to be exactly restored.

78
New cards

What are examples of lossless compression methods?

Dictionary coding and Run Length Encoding (RLE).