Presentation is loading. Please wait.

Presentation is loading. Please wait.

Reasons to  Binary With Mrs

Similar presentations


Presentation on theme: "Reasons to  Binary With Mrs"— Presentation transcript:

1 Reasons to  Binary With Mrs Billinghurst @SGS_Computing

2 Reasons to  Binary Unsigned Binary Integers Conversion from Denary (base 10) to Binary (Base 2) is reasonably simple: 1286432168421 00101010

3 Reasons to  Binary Hexadecimal Conversion from Denary (base 10) to Hexadecimal (Base 16) can use binary as a conversion tool: 1286432168421 00101010 10A 11B 12C 13D 14E 15F Half a Byte is called a Nibble

4 Reasons to  Binary Two’s Complement Is used to represent both positive & negative numbers -1286432168421 00101010 Positive representation of 42 (glass half full) -1286432168421 11010110 Negative representation of 42 (glass half empty)

5 Reasons to  Binary Binary Addition It is important to remember that computers perform complex calculations that are based on simple addition. -1286432168421 00101010 01001111 (42 ) Rules 0 + 00 1 + 01 1 + 110 1+1+111 (79 ) 01111001 111 (121)

6 Reasons to  Binary Binary Subtraction It is important to remember that computers perform complex calculations that are based on simple addition. -1286432168421 01001111 00101010 (79 ) Rules 0 + 00 1 + 01 1 + 110 1+1+111 (42 ) 100100101 111111 (121) 11010110 (-42)

7 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? P6432168421 00101010 11011001 10110100 01001001 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.

8 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 1286432168421 00101010 Each value is added to the next most significant digit (to the left) to calculate the ‘gray code’ 0 0+0 0 0+1 1 1+0 1 0+1 1 1+0 1 0+1 1 1+0 1

9 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.


Download ppt "Reasons to  Binary With Mrs"

Similar presentations


Ads by Google