1.3 Data Storage Flashcards

1
Q

Lossless vs Lossy

A
Lossless compression
1. No loss of data quality
2. Lesser reduction in size of data file
Lossy compression
1. Data quality is reduced
2. Bigger reduction in size of data file
- image might become more blurred
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Bitmap images

A

Bitmap images are made of millions of pixels and the colour of each pixel is stored using a number code
*bitmap files store the position and colour of every pixel of the image

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

Why is a bitmap file good for storing photographs and other realistic images?

A

Bitmap files can store all the details and varied colours of an image
*bitmap files can be very large

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

What are ‘high resolution’ and ‘low resolution’ images?

A

High resolution: Images made of lots of tiny pixels, sharp and detailed
Low resolution: Images made of fewer, larger pixels, take up less space

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

Vector images

A

Vector images are made of shapes constructed from lines. The computer stores mathematical formulas that tell it how to draw the shapes and lines

  • Vector files are smaller than bitmap files
  • Vector graphics are good for images made of simple lines and shapes (eg. cartoons, diagrams) but not good for storing photographs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why does pixelation not affect vector images?

A

Vector images are drawn to the correct size using the stored mathematical formulas

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

Colour depth

A

The number of colours that can be used in an image

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

Types of colour format

A

Monochrome: each pixel uses 1 bit (either B/W)
16-colour: each pixel uses 4 bits
256-colour: each pixel uses 8 bits / 1 byte

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

Audio formats - WAV

A
  1. Stores music very accurately and with high quality (lossless)
  2. However, WAV files are very large, so they take up a lot of space, and take a long time to copy
  3. Used by radio broadcasters; unsuitable for use on websites or personal music players
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Audio formats - MP3

A
  1. Compressed file format (lossy)
  2. Digital recording of sound
  3. Has worse sound quality than WAV
  4. But uses less storage space
  5. Widely used for websites; suitable for Internet download, and storage on portable devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Audio formats - MIDI (Musical Instrument Digital Interface)

A
  1. Non-audio recording
  2. Stores instructions to send to an audio synthesiser, to generate the notes from the different digital musical instruments required (works like a piece of sheet music)
  3. Uses very little storage
    eg. used to store ringtones on mobile phones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Video formats - MP4 / MPEG-4

A

MP4 is a ‘container’ format, which means that an MP4 file can hold other digital formats (video, audio, image, text).

  1. Can be used by a wide range of devices
  2. But MP4 files can only contain pre-recorded content, cannot be used to live-stream broadcasts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Bit rate

A

The number of bits used to store one second of sound / video

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

What does bit rate depend on?

A
  1. Sample rate (number of times the sound changes per second)
    eg. 44100 samples per second
  2. Number of channels (mono, stereo, quad etc.)
    eg. 2 (2-track stereo)
  3. Bit depth (range of sound frequencies used)
    eg. 16 bits per sample
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Ways to compress an image file

A
  1. Use fewer, larger pixels to make the image (reduce image resolution)
  2. Use fewer bytes to store the colour code (reduce colour depth)
  3. Store colour only once, with a number stating how often that colour is repeated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

5 methods of error detection and correction

A
  1. Parity checks
  2. Check digits
  3. Checksums
  4. Automatic Repeat reQuests (ARQ)
  5. Echo check
17
Q

Explain how MP3 files retain most of the original music quality.

A
  • removes sounds human ears cannot hear very well
  • if two sounds played at same time, softer sound is removed
  • uses perceptual music shaping (=the process of removing inaudible sounds in order to make a file size smaller)
18
Q

Describe how the size of the text file can be reduced.

A
  • the file can be compressed
  • the compression that is used is lossless (not lossy)
  • use of a compression ALGORITHM
  • REPEATED words are identified and are indexed/put into a table
  • repeated words are replaced with their index and their positions are stored in the table
  • the number of times the repeated word appears is stored
  • save file as a pdf/convert to pdf