Data storage Flashcards
How do you convert binary to denary?
Add the columns
How do you add in binary
Put the binary in column addition and carry the extra digit
What is an overflow error?
When there is an attempt to store a 9-bit number as an 8-bit number
When does an overflow error happen?
When binary numbers are added
How to overcome an overflow error
By ignoring the overflow digit. this leads to loss of data and accuracy
What is the purpose of binary shifts?
To multiply or divide by 2
What does a left shift do?
Multiplies
What does a right shift do?
divides
When is a binary shift useful?
For quick multiplication/division of 2. Can create an overflow error
What is hexadecimal?
a way to represent a denary number with letters and numbers
State a benefit of hexadecimal
Short so less chance of an error