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