Data Representation Flashcards
(areas covered: characters, bitmap images, analogue sound, limits of binary data representation)
What do computers use ASCII and Unicode to do?
Encode characters
What does ‘ASCII’ stand for?
American Standard Code for Information Interchange
(Exam-style question)
Define what is meant by the ‘character set’ of a computer. (2)
The list of binary codes that can be recognised by a computer’s hardware and software
(Exam-style question)
Describe how ASCII is used to represent characters in a computer system. (2)
ASCII is a 7-bit code, therefore making use of 128 code sequences to represent different English characters
How many bits are used to represent characters in the ASCII character set?
7
(Exam-style question)
The 7-bit ASCII code for the letter ‘Q’ is 81.
Give the ASCII code for the letter ‘H’. (1)
72
(Exam-style question)
The ASCII code for the character ‘C’ is 67.
Give the ASCII code for the character ‘M’. (1)
77
(Exam-style question)
Explain why Unicode was developed. (2)
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
(Exam-style question)
State what is meant by the size of an image. (1)
The product of the no. of pixels for the image’s width (W) and the no. of pixels for its height (H)
(Exam-style question)
State what is meant by the resolution of an image. (1)
The number of pixels per unit area of the display
(Exam-style question)
State what is meant by the term ‘pixel’. (1)
The smallest block of colour in an image
What is meant by colour depth?
The number of bits used to encode the colour of each pixel
What is the equation to calculate the file size of an image?
Width × Height × Colour Depth
(file size measured in bits)
(Exam-style question)
Describe the factors that affect the quality of a digital image. (4)
- 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 is file size affected if an image has good quality?
The file size will be large
What are analogue recordings?
Original sound recordings
What are digital recordings?
Recordings that use samples of the sound at regular fixed intervals
(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’)
Sample rate describes the number of sound samples that are taken each second
(Exam-style question)
Describe the effect of increasing the sample rate. (2)
Increasing the sample rate gives a more accurate reproduction of the analogue wave, as more samples are taken with less time between them
(Exam-style question)
Explain what is meant by the bit depth of a recording. (2)
Bit depth describes the number of bits used to encode the data taken in each sample
(Exam-style question)
State the effect of increasing the bit depth of a recording. (1)
Allows more data to be stored, meaning the range of sound can be represented more accurately
(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)
- Length of recording
- Number of channels
(Exam-style question)
An analogue signal is never fully reproducible in a digital format.
Explain one reason why this statement is true. (2)
- A digital recording samples the analogue signal at fixed intervals
- Therefore, the entire analogue signal is not represented in the digital recording
(Exam-style question)
Describe the steps taken to convert the analogue sound to a digital sound file. (3)
- Sample the analogue sound at equal intervals
- Measure the sound amplitude
- Give a binary value for each measurement
- Store data as digital signals