3.2 Data Representation Flashcards

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

What are the possible textual representations?

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

What is ASCII?

A

ASCII contains characters encoded with character sets → codes assigned to a character.

Originally only 7 bits long, but extended to 8 to contain 256 characters.

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

What is Unicode?

A

Unicode was created due to ASCII’s inability to represent all possible characters.

ASCII is a subset of Unicode, Unicode uses 16 bits, having codes for 120 000 characters.

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

What are encoding tables?

A

Character codes are sequential, so it is in ascending order. To find the code for another character, simply add to where a previous one is.

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

What is a pixel?

A

The smallest distinguishable feature.

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

How are images represented in binary?

A

Bitmaps, images are stored as an array of individual pixels.

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

How do you calculate an image’s size?

A

Pixel Width x Height

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

What is the resolution of an image?

A

It is the detail that an image holds, aka pixels per inch.

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

How is an image converted from analogue to digital?

A
  1. A grid is placed over the image
  2. An average colour is found for each pixel and assigned a binary value
  3. Each pixel is represented by multiple bits, one combination a shade
  4. The number of bits in a pixel is called the colour/bit depth.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What affects an image’s size?

A

Increasing Resolution; Increasing Colour Depth

Size = Pixel Size x Colour Depth (in bits)

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

What is Metadata?

A

It is data about data, for example it allows the image to be displayed properly as well as other unneeded data:

  1. File name; format; colour depth; resolution; camera details
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between analogue and digital data?

A

Analogue signals are continuous, represented by waves.

Digital data is discrete, falling between defined ranges and taking only certain values.

Computers require digital data, as it cannot read analogue signals.

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

What is a sampling frequency?

A

It is the number of samples obtained over second, measured in hertz. The greater the sampling frequency, the better quality but the larger file.

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

How is sound digitized?

A
  1. Several samples should be taken at regular intervals, with a binary value given to each reading
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a sample size?

A

It is the bit depth

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

What is the bit rate?

A

It is the number of bits used per second

Bit rate = Sampling Frequency x Sample Size

17
Q

How is a sound file size calculated?

A

It is the Sampling Frequency x Sample Size x Time

18
Q

What is Compression and the Two Types of it?

A

Compression is the reduction of file size without losing important information.

  1. Lossy
  2. Lossless
19
Q

What is Lossy Compression?

A

Lossy compression is a means of compression in which data is removed and lost forever. Some quality can be lost.

E.g JPEG, MP3, MP4

20
Q

What is Lossless Compression?

A

No data is removed here - it is maintained, but it is rearranged, for example using Run Length Encoding.

  1. Repeated data is replaced with frequency
  2. The more data the more the file can be compressed
  3. Can be restored fully
21
Q

What is Encryption?

A

It is the process of making data secret so only authorised viewers can decrypt and read the data.

It doesn’t prevent interception, it simply stops it from being understood.

22
Q

What is the simplest process of Encryption?

A

Plaintext → Ciphertext → Message Sent → Message Received → Message Decrypted

23
Q

Why is Encription Required?

A
  1. It is needed to protect data, especially important ones
    1. Bank information, government details, identity information