1.2.4 Data Storage Flashcards
Denary
Standard number system with 10 different digits
Which digits are in denary
0,1,2,3,4,5,6,7,8,9
What base is denary
Base-10
Which digits are in binary
0,1
Overflow error
When a result requires more bits than the computer expects during binary arithmetic
How do computers show that an overflow error has occurred
Overflow flags
How do computers deal with overflow errors
They store the extra bits somewhere else
What can overflow errors cause
-Loss of data
-Loss of accuracy in calculation
-Crash software
Binary shift
Every bit in a binary number is moved left/right a number of places
What are gaps in a binary shift filled in with
0s
What happens to a binary number in a left shift
It is doubled
What happens to a binary number in a right shift
It is halfed
What may a binary left shift cause
A binary overflow
Which base is hexadecimal
Base-16
Advantages of hexadecimal
-Simpler to remember large numbers
-Hex numbers are shorter so less chance of input errors
-Easier to convert to binary
Which digits are in hexadecimal
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
Hexadecimal A in denary
10
Hexadecimal B in denary
11
Hexadecimal C in denary
12
Hexadecimal E in denary
14
Hexadecimal F in denary
15
What are words and strings made of
Alphanumeric Characters
Examples of alphanumeric characters
Upper and lowercase letters, the digits 0-9 and symbols (?,+,£…)
Why can’t computers directly process alphanumeric characters
They only process binary code