Images, Sound & Compression

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/30

flashcard set

Earn XP

Description and Tags

Computer Science

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

31 Terms

1
New cards

Define Analogue Data

Data that can be measured to any amount of accuracy

2
New cards

What is a bitmapped graphic

An image created using a grid of pixels

3
New cards

Name a common bitmap file type

  • PNG

  • JPG

  • GIF

4
New cards

What is resolution in the context of bitmap images

The amount of pixels used in an image

5
New cards

How many pixels is one megapixel?

1000000

6
New cards

What is colour depth?

The amount of colours used in an image

7
New cards

Image file size =

Number of pixels x Colour depth

8
New cards

Define Metadata and give one example.

Data about data

The date the photo was taken

9
New cards

What is a vector image?

An image made up of shapes which are created by giving instructions to the computer to ‘ draw ‘ them.

10
New cards

Give two advantages of using a vector image over bitmap

  • Generally smaller file size

  • Image will not be pixelated as you zoom in

11
New cards

What is one advantage of bitmaps over vector graphics

Bitmaps can store photorealistic images

12
New cards

Describe the process of converting from analoge to digital and vice versa

  • The waves amplitude is measured at set intervals to create samples

  • Each sample is quantised to measure its wave height and transfer into an discrete value

  • The integer value is then converted and stored

13
New cards

Define Sample resolution

Number of bits per sample

14
New cards

Define sampling rate and give a unit

The number of samples taken per second (Hertz)

15
New cards

Give a pro and con of a higher sample resolution for sound

More bits used per sample means the wave is measured more accurately, but the file size increases

16
New cards

How do you calculate audio file size?

File size = sample rate x resolution x length(s)

17
New cards

Define the Nyquist Theorem

The sample rate must be at least twice the highest frequency

18
New cards

What is the human range of human hearing?

20Hz - 20KHz

19
New cards

What is MIDI

Musical Instrument Digital Interfaces create sounds as requested by an instrument

20
New cards

Give 4 examples of MIDI Event Messages

  • sync tempo

  • Control pitch

  • Change volume

  • Silence instruments

21
New cards

Why is compression used?

- Decrease Download Times

- Use less storage space

22
New cards

Define lossy compression

The original data cannot be recreated from the compressed data as data is lost during compression

23
New cards

Define lossless compression

The original data can be recreated from the compressed data

24
New cards

What is a lossless file type?

  • RAW

  • PNG

  • ZIP

  • WAV

25
New cards

Describe the process of RLE

Consecutive patterns of data are summaries with the amount of times it is repeated and then the data

26
New cards

How does dictionary compression work?

Frequently repeating phrases are stored in a dictionary and given an index to be used again

27
New cards

What is plaintext?

The actual text that needs to be received with no cipher on it

28
New cards

How does a Caesar cipher work?

Letters are shifted by a consistent amount

29
New cards

How does a Vernam cipher work?

A key (also known as a one time pad) is generated form a random event (such and nuclear decay) this is used on the text and then destroyed after use

30
New cards

How is a Vernam One Time Pad used?

An XOR is used on the key and plaintext

31
New cards

What does it mean for a cipher to be computationally secure?

It cannot be cracked in a reasonable amount of time