1.2 Part 2 (Characters, Images, Sound, Compression) Flashcards

1
Q

Character set

A

A defined list of characters recognised by a computer hardware/software, with each character being represented by a binary code

they are agreed standards

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

What is each character represented by?

A

A unique binary number

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

What are some well-known character sets?

A

ASCII, Extended ASCII, Unicode

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

What is the formula for the number of unique binary combinations?

A

2 to the power of n, whereas n is the number of bits per character, and 2 are the 0s and 1s in binary

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

How many bits does ASCII have per character?

A

n = 7, 128 characters

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

How many bits does Extended ASCII have per character?

A

n = 8, 256 characters

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

How many bits does Unicode have per character?

A

n = 24, >16 million characters

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

Which number of ASCII started showing the recognisable part of the character set?

A

32

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

What is the need for Unicode?

A

We want a fully international and multilingual character set that includes thousands of characters and special symbols

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

What is the limitation of writing binary in Unicode?

A

Writing in 24 bits is slow, cumbersome and error prone, so hexadecimal is used as an alternative

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

What affects the overall quality of a digitally converted sound wave and its file size?

A

The sample rate and the bit depth

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

What is the sample rate?

A

How often you record the amplitude of a sound wave

How often per second we are sampling the original analogue sound

The more often you record a sample the smoother the playback will sound

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

What is the bit depth?

A

The amount of detail we’re capturing with each sample

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

What is the formula for calculating the file size of a sound file?

A

sample rate (Number of samples per second) x bit depth (Number of bits in sample) x duration (Length of sample in seconds)

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

What is the sound file size represented in?

A

Bits

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

What are the 2 ways of storing images in binary?

A

Bitmaps and Vectors

17
Q

How do bitmaps represent images?

A

Different coloured squares, with each square having a unique binary value

18
Q

How do vectors represent images?

A

The mathematics to store

19
Q

What images are appropriate to be stored as bitmaps/vectors?

A

Bitmaps: images not made of simple shapes
Vectors: Technical drawings, clip art, and logos

20
Q

What is metadata and what are some of its examples?

A

Additional data stored with the image to define information such as:
Height of image
Width of image
Color depth

21
Q

What is color depth?

A

Number of bits needed to store each pixel

22
Q

How many bits per pixel is used in modern color depth?

The modern color depth is at an agreed standard

A

24 bits, so over 16 million colors, as many as the human eye can see

23
Q

What is the limitation of representing colors using binary in the modern color depth?

A

Representing these 24-bit colors can be cumbersome and error prone, so a 6 digit hexadecimal representation is used

24
Q

What is the need for compression?

A

Compression reduces the size of a file so it takes up less space
It maximises the amount you can store on a device
Smaller file sizes are quicker to download and stream over networks

25
Q

What is lossy compression?

A

Storing a lower number of colors or storing bigger areas of pixels as 1 color (JPEG & GIF)

26
Q

What are the effects of lossy compression?

A

Loss of quality is not too noticable
An acceptable compromise of quality vs file size and download time

27
Q

What is lossless compression?

A

Allows the original data to be perfectly reconstructed from the compressed data with no loss of data.

28
Q

What do lossy and lossless compression work well on?

A

Lossy: images, sound and videos
Lossless: documents, code and images with repeating colors