Fundamentals of Data Representation Flashcards
Why is a relative error more important than an absolute error?
The effect of an error depends on its size relative to the number that is represented
What is a character code?
A character code uses a unique number to represent each character
Advantages of using MIDI (3 marks)
- no loss of data about musical notes
- easy to modify
- more compact representation
Why do vector graphics use less memory than bitmap graphics (3 marks)
- vector graphics don’t store the colour of each pixel
- vector graphics store properties of the objects that an image is composed of
- only takes a small amount of memory to store properties of an object
Steps of an ADC: 3 marks
analogue signal is sampled at regular intervals
amplitude of each wave/sample is measured
each sample measurement is coded in binary
Advantages and disadvantages of vector graphics compared to bitmap graphics: (6 marks)
- image can be scaled without a loss in quality
- vector graphics typically use less storage
- best to use vector graphics when representing logos
- vector graphics can’t represent images not composed of regular/geometric shapes
- can’t easily represent images with areas of changing colours
-best to use bitmap graphics when representing photographs
how is a digital image captured by a camera and compressed using RLE? 6 marks
-light enters through lens
-each sensor produces an electrical current
- signal represents a pixel
-ADC converts measurements of light intensity into binary
-image is analysed to identify runs
-count and a colour of pixels is stored