Data representation - Text, sound, images and compression (paper 1) Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

include character sets

how and why does a computer represents text, using Unicode

A
  • allows for a greater range of characters and symbols than ASCII, including different languages (Russian, Chinese, Arabic) and emojis
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is the disadvantage of Unicode

A
  • Unicode requires more bits per character than
    ASCII
  • requires 16 bits per character
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how many bits does ASCII use to represent a character

A

7 - allows up to 128 characters

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

how many bits does Extended ASCII use to represent a character

A

8 - allows up to 256 characters

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

why was extended ASCII introduced

A
  • additional characters in the set including symbols, common foreign languages + mathematical symbols introduced
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is character set

A
  • each character of the keyboard has a binary code
  • All of the characters, letters, numbers that is recognised by a computer system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Two standard character sets in common use are:

A
  • American Standard Code for Information Interchange (ASCII)
  • Unicode
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

does a ‘space’ count as a character

A

YES - it counts as one Byte

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

5 key stages

how are analogue sounds recorded

A
  • analogue sound must be digitally recorded and converted into binary
  • amplitude emitted is measures and recorded / sampled at regular intervals
  • how often it is recorded is the sample rate
  • accuracy to which the height is recorded = sample resolution
  • duration of the recording will affect file size
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what does the sample resolution have an affect on

A

the quality of the recorded sound when played back
- file size of the recording

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

what also increases when the sample rate and sample resolution increase

A

accuracy and file size increase

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

what does the sample resolution measure

A

number of bits per sample - accuracy to which the height is recorded

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

what does the sample rate measure

A

the number of samples taken
in a second

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

what is sample rate measured in

A

Hertz

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

Sound file size = ?

A

(Number of samples per second ) x (sample rate) x (Length of sample in seconds)
- always divide by the number of the bit sample

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

what is a image made up of

A

a series ofpixels that are converted to binary, which is processed by a computer

17
Q

image resolution = ?

A

number of pixels (px) in the image

18
Q

colour depth = ?

A

number of bits used to
represent each colour

19
Q

if the file size and image quality increases what is the cause

A

resolution and colour depth increase

20
Q

Image file size = ?

A

(width in pixels x height in pixels x colour depth) / 8 gives size in bytes

21
Q

what is the purpose of data compression

A
  • reduces file size by removing repeated / unnecessary data
22
Q

what is the impact of having smaller data file size

A
  • less bandwidth required
  • less storage space required
  • shorter transmission time
23
Q

what is lossless compression and how does it compress data

A

reduces the file size
without permanent loss of data –> e.g. run length
encoding (RLE)

24
Q

what is lossy compression and how does it compress data

A

reduces the file size by
permanently removing data –> reducing
resolution or colour depth, reducing sample rate
or resolution

25
Q

3

what are the advantages of lossy compression

A
  • smallest file size
  • least transmission time
  • reduces Internet traffic + collision
26
Q

advantages of lossless compressions

A
  • original quality preserved / no info or data is lost
27
Q

disadvantages of lossy compression

A
  • detail permanently lost by reducing colour depth, resolution or sample rate
28
Q

disadvantages of lossless compression

A

less significant reduction in file size

29
Q

examples of lossy compression

A
  • music streaming
  • online images / video
  • image libraries on devices or in the Cloud
30
Q

examples of lossless compression

A
  • text documents
  • electronic books
  • hgh resolution print documents
31
Q

what is the RLE algorithm

A

It groups repeating pieces of data and stores them using significantly less data

32
Q

using the RLE algorithm rewrite: 00000111000001111100

A

50 31 30 51 20