Reasons to Binary With Mrs
Reasons to Binary Unsigned Binary Integers Conversion from Denary (base 10) to Binary (Base 2) is reasonably simple:
Reasons to Binary Hexadecimal Conversion from Denary (base 10) to Hexadecimal (Base 16) can use binary as a conversion tool: A 11B 12C 13D 14E 15F Half a Byte is called a Nibble
Reasons to Binary Two’s Complement Is used to represent both positive & negative numbers Positive representation of 42 (glass half full) Negative representation of 42 (glass half empty)
Reasons to Binary Binary Addition It is important to remember that computers perform complex calculations that are based on simple addition (42 ) Rules (79 ) (121)
Reasons to Binary Binary Subtraction It is important to remember that computers perform complex calculations that are based on simple addition (79 ) Rules (42 ) (121) (-42)
Reasons to Binary Error Checking - Parity When data is transmitted, it is important to ensure that it arrived intact! Which binary number has been corrupted? P The parity bit is added to the number to ensure that the 1s are either all odd or all even. It is not included in the value.
Reasons to Binary Error Checking – Gray Code When data is transmitted, it is important to ensure that it arrived intact! Gray code is a more effective version of error checking Each value is added to the next most significant digit (to the left) to calculate the ‘gray code’
Reasons to Binary Error Checking – Hashing When data is transmitted, it is important to ensure that it arrived intact! Rather than just using 1 parity bit, hashing makes use of a number of parity bits to identify where the error has occurred.