Data Representation Flashcards
integers are
whole numbers
computers can only work with
binary values (1s and 0s)
real numbers are numbers with
a decimal point
How does a computer store a real number
mantissa and exponent
what is ASCII
the internationally agreed code used to represent characters
Extended ASCII uses
8 bits
Extended ASCII can
represent 256 characters
how are vector graphics represented
shapes and attributes
common vector shapes
rectangle
ellipse
line
polygon
common vector attributes
co-ordinates
fill colour
line colour
A bit mapped graphic is stored as
an array of pixels Each pixel’s colour is stored as a binary value
The resolution of a bitmapped graphic is
its total number of pixels
The bit depth of the image is
the number of bits used to store each colour