Data Representation Flashcards

(areas covered: characters, bitmap images, analogue sound, limits of binary data representation)

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

What do computers use ASCII and Unicode to do?

A

Encode characters

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

What does ‘ASCII’ stand for?

A

American Standard Code for Information Interchange

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

(Exam-style question)

Define what is meant by the ‘character set’ of a computer. (2)

A

The list of binary codes that can be recognised by a computer’s hardware and software

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

(Exam-style question)

Describe how ASCII is used to represent characters in a computer system. (2)

A

ASCII is a 7-bit code, therefore making use of 128 code sequences to represent different English characters

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

How many bits are used to represent characters in the ASCII character set?

A

7

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

(Exam-style question)

The 7-bit ASCII code for the letter ‘Q’ is 81.

Give the ASCII code for the letter ‘H’. (1)

A

72

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

(Exam-style question)

The ASCII code for the character ‘C’ is 67.

Give the ASCII code for the character ‘M’. (1)

A

77

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

(Exam-style question)

Explain why Unicode was developed. (2)

A

Any from:

  • Uses a minimum of 16 bits, so it can represent at least 2¹⁶ characters
  • Before it existed, there were many different encoding systems but none could contain enough characters to represent all major languages
  • Standard ASCII only provides 128 different patterns, it can’t represent all major languages/symbols/characters
  • Unicode can represent all languages, ASCII was developed for English
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

(Exam-style question)

State what is meant by the size of an image. (1)

A

The product of the no. of pixels for the image’s width (W) and the no. of pixels for its height (H)

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

(Exam-style question)

State what is meant by the resolution of an image. (1)

A

The number of pixels per unit area of the display

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

(Exam-style question)

State what is meant by the term ‘pixel’. (1)

A

The smallest block of colour in an image

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

What is meant by colour depth?

A

The number of bits used to encode the colour of each pixel

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

What is the equation to calculate the file size of an image?

A

Width × Height × Colour Depth

(file size measured in bits)

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

(Exam-style question)

Describe the factors that affect the quality of a digital image. (4)

A
  • The quality of the image is affected by the number of pixels that make it up, therefore, the more pixels the better the image resolution
  • The quality of the image is affected by the number of bits used to encode the colour depth, therefore, if more bits are used, more colours can be displayed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How is file size affected if an image has good quality?

A

The file size will be large

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

What are analogue recordings?

A

Original sound recordings

17
Q

What are digital recordings?

A

Recordings that use samples of the sound at regular fixed intervals

18
Q

(Exam-style question)

Sound can be represented digitally by taking samples of the original sound.

State what is meant by sample rate. (1)

(also known as ‘sampling frequency’)

A

Sample rate describes the number of sound samples that are taken each second

19
Q

(Exam-style question)

Describe the effect of increasing the sample rate. (2)

A

Increasing the sample rate gives a more accurate reproduction of the analogue wave, as more samples are taken with less time between them

20
Q

(Exam-style question)

Explain what is meant by the bit depth of a recording. (2)

A

Bit depth describes the number of bits used to encode the data taken in each sample

21
Q

(Exam-style question)

State the effect of increasing the bit depth of a recording. (1)

A

Allows more data to be stored, meaning the range of sound can be represented more accurately

22
Q

(Exam-style question)

The sample rate and bit depth affect the size of the file produced.

Name two other factors which will affect the size of the file. (2)

A
  • Length of recording
  • Number of channels
23
Q

(Exam-style question)

An analogue signal is never fully reproducible in a digital format.

Explain one reason why this statement is true. (2)

A
  • A digital recording samples the analogue signal at fixed intervals
  • Therefore, the entire analogue signal is not represented in the digital recording
24
Q

(Exam-style question)

Describe the steps taken to convert the analogue sound to a digital sound file. (3)

A
  • Sample the analogue sound at equal intervals
  • Measure the sound amplitude
  • Give a binary value for each measurement
  • Store data as digital signals
25
Q

What is the equation to calculate the file size of an audio file?

A

Sample rate (Hz) × Bit depth × Recording length (seconds)

(file size measured in bits)

26
Q

What is 1 hertz (Hz) equal to, in terms of samples?

A

1 sample per second

27
Q

Why is the total file size for CDs doubled?

A

They are recorded in stereo and so have two channels

28
Q
A

The digital signal

29
Q
A

The analogue signal

30
Q
A

2Hz

31
Q
A

101

32
Q

(Exam-style question)

State the formula used to determine the number of distinct binary patterns for a known number of bits, ‘n’. (1)

A

2ⁿ

33
Q

(Exam-style question)

Describe the reason 4 bits may be the preferred way to store colour depth in an image rather than 8 bits. (2)

A

Any one from:

  • The increase in colours that cause a slight improvement in quality might not matter to the person viewing the image
  • The image may be on a web page that is transferred over the internet, which needs to load very quickly
  • The higher colour depth file would mean the image takes longer to transfer and loads more slowly
34
Q

(Exam-style question)

Explain one reason for reducing the bit depth of an audio recording. (2)

A

Any one from:

  • Reducing the bit depth reduces the file size, so the audio file will transmit faster
  • Reducing the bit depth reduces the number of distinct values and these may not be noticed by the human ear
35
Q

(Exam-style question)

Explain one reason that a 5-bit colour depth is needed to store 24 colours in an image. (2)

A

Five bits are needed to store 24 colours because 2⁴ = 16, which is less than 24, and 2⁵ = 32, which is the next largest power of 2 greater than 24