Computer Systems: Chapter 1 (Data Representation) Flashcards
What is floating point notation?
When you store a number as a floating point number with a mantissa and an exponent
What is a mantissa? What happens when you increase the mantissa?
- The mantissa holds the number in decimal form
* When you increase the mantissa, you increase the precision of the numbers being stored
What is an exponent? What happens when you increase the exponent?
- The exponent holds the power of the number
* When you increase the exponent, you increase the range of numbers being stored
What is American Standard Code for Information Interchange (ASCII)?
ASCII is a 7 bit code that stores text as integer values in it
What is UNICODE?
UNICODE is a 16 bit code that stores all ASCII values in its first 256 characters
What is an advantage of UNICODE over ASCII?
It contains every character based alphabet in the world including graphical languages like Chinese
What is a bit-mapped graphic?
It is a graphic that is made up of a grid of pixels, and a unique binary number represent each colour in the graphic
What is a vector graphic?
It is a graphic that is made up of layers of shapes with attributes describing them
What are the advantages of bit-mapped graphics? (2)
- They allow you to edit at pixel level
* Storing a bit-mapped graphic will be the same size no matter how complex the graphic
What are the disadvantages of bit-mapped graphics? (2)
- They require a lot of storage space
* When you re size the graphic it becomes pixilated and blocky
What are the advantages of vector graphics? (2)
- You can edit individual objects
* When you resize a vector graphic, the edges stay smooth and do not become pixilated
What are the disadvantages of vector graphics? (2)
- You can’t edit at pixel level
* Storing complex vector graphics requires a lot of storage space
What is bit depth?
Bit depth is the number of bits used to represent a pixel in bit-mapped graphics
What is true colour?
True colour is represented on a computer system using 24 bits per pixel, giving 2^24 possible colours
What is compression?
Compression means reducing the file size of a graphic in order to save backing storage space