Data representation Flashcards
what does the mantissa store
The precision of the number
how are bit mapped photos stored
in binary each pixel in a 2d grid the Number of bits per pixel depends on the number of colours in the image
what is 11101011
232
what is 127 in binary code
01111111
what does the exponent store
the range of the number
if you had the number 6.0968796876897 x 10 to the power of 17 what would the exponent be
17
if you had the 6.0968796876897 x 10 to the power of 17 what would the mantissa be
6.0968796876897
Describe how extended ASCII code (8-bit) is used to represent characters.
Each character is given an 8-bit ASCII Code.
how do vector graphic photos store pictures
Vector graphics store a picture by storing each objects attribute
how is a rectangle stored using vector graphics
height, width, x, y, fill colour, line colour
how is an ellipse stored using vector graphics
cx, cy, rx, ry, fill colour, line colour
how is a line stored using vector graphics
x1, y1, x2, y2, line colour
how is a polygon stored using vector graphics
x1, y1, x2, y2, x3, y3, fill colour, line colour
how are bit mapped photos stored
in binary each pixel in a 2d grid the Number of bits per pixel depends on the number of colours in the image