Data Representation Flashcards
What is the only type of data the CPU can store and process?
Binary
Why is it important for us to have a universal text system?
To allow all computers to use the same codes to represent the same characters
Only have to learn one code to work on many computers
Give an example of a ASCII code and what it represents
65 = A
97 = a
etc
Give an advantage of
a) Unicode compared to ASCII
b) ASCII compared to Unicode
a) Larger range of characters can be represented
b) Smaller storage requirements
Describe ASCII
ASCII(American Standard Code for Information Interchange) is a system used to represent characters. It stores each character in 8 bit code.
Why do computers use base 2 instead of base 10?
Base 2 is ideal for storing binary numbers
Base 10 requires a lot of processor space to build in rules for arithmetic such as addition,subtraction
How are integers stored in a computer?
Each integer has an individual binary number.
How many values can be represented by 5 bits?
2^5
What is the range of values that can be stored in 18 bit?
0 to 2^18 - 1
How can negative integers be represented on a computer system?
Two’s complement
How do you represent floating point numbers in a computing system?
Floating Point Form
If you allocate more bits to storing the<em> mantissa <em> of a floating point number, what will happen?</em></em>
The precision of the number will increase
How would you increase the range of a floating point number?
Allocate more bits to the storage of the exponent
Describe a bit-map image
A bit-map image is where the image is stored as a 2D array of pixels where each pixel can be individually edited. The colours in the picture are each a unique binary number.
What is the definition of ‘bit depth’
Bit depth is the number of bits used to store each pixel