Data Representation

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

1/29

flashcard set

Earn XP

Description and Tags

Computer Science

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

30 Terms

1
New cards

Define Analogue Data

Data that can be measured to any amount of accuracy (e.g. length)

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 integer 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

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

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 Interface creates 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

Non- essential data is removed so some data is lost

23
New cards

Define lossless compression

Paterns in data are spotted and stored by summarising these patterns - No data is lost

24
New cards

What are 2 lossless file types?

  • RAW

  • PNG

  • ZIP

  • WAV

25
New cards

Describe the process of RLE

Summarises consecutive patterns of 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 key used?

An XOR is used on the key and plaintext