DATA REP

All data is stored using binary (1s and 0s) no matter if it is a number photograph or paragraph


20 in binary:


128 64 32 16 8 4 2 1

0 0 0 1 0 1 0 0


FLOATING POINT REP


Very big numbers and real numbers


It is like standard scientific notation


93,000,000 in standard form = 9.31079.3\cdot10^7

In floating point rep = .93.93 88


The 93 is the mantissa

The 8 is the exponent


So in decimal

mantissa x 10exponent10^{\exp onent}


However in binary it would be

mantissa x 2exponent2^{\exp onent}


TEXT


ASCII(American standard code for information interchange)


ASCII originally uses 7 bits per character which gives it a possible 128 different characters


There were 96 displayable characters and 32 special characters known as control characters


A single code is used to represent each character which is stored in binary when data is displayed or printed the code is converted into an appropriate shape




Extended ASCII uses 8 bits per character, allowing it to have 256 different characters


The first 32 ASCII characters are non-printing control characters such as ‘return’ and ‘escape’



1 bit

1 byte = 8 bits

1 kilobyte = 1024 bytes

1 megabyte = 1024 kilobytes

1 gigabyte = 1024 megabytes

1 terabyte = 1024 gigabytes

1 petabyte= 1024 terabytes


Bit-Mapped


Can be edited at the pixel level, thus a designer may apply particular colour values to a selected pixel area to produce shading or texture affects


It is possible to create a wider range of irregular shapes and patterns by simply deleting or editing pixels anywhere on the image


Requires a large amount of storage space


Image becomes jagged when enlarged



Vector graphics


Requires little storage space


Do not lose image quality when scaled


Individual pixels can’t be edited