Page 15 - TP_Pluse_V2.2_Class_7
P. 15

The rules for binary subtraction:
                            X              Y                     X – Y                               Factopedia
                            0              0                   0 – 0 = 0
                                                                0 – 1 = 1
                            0               1
                                                      (borrow 1, so that 10 – 1 = 1)
                             1             0                    1 – 0 = 1
                             1              1                   1 – 1 = 0
                 For example, let us subtract the binary number (111)  from (1000) .
                                                                    2
                                                                                  2
                                          1     1                                              Google's first post on
                                     0  (10)  (10)  (10)  _____  Borrow
                                                                                               X (formerly Twitter)
                                     1    0    0     0                                          was ‘I’m 01100110

                                  –       1     1    1                                          01100101 01100101
                                                                                                01101100 01101001
                                     0    0    0     1
                                                                                                 01101110 01100111
                                                                                               00100000 01101100
                         Let’s CatCh uP                                                         01110101 01100011
                                                                                                 01101011 01111001
                   Subtract the binary number 1001 from 10001.
                                                                                                00001010’, which
                                                                                                 translates to I'm
                                                                                                  feeling lucky.'








                                           Tech Fact

                     Modern day binary number system was invented by
                                   Gottfried Lebiniz in 1679.




                           Let’s BaCk-uP


                        A number system is a method of counting and representing                 If you multiply a
                      numbers.                                                                   number by 9 and
                        The total number of digits used in a number system is called its       add the digits of the
                      base or radix.                                                           resulting number till

                        Computers use the binary number system with a base of 2.               the result is 1 digit, it
                        The decimal number system consists of ten digits from 0 to 9.            will always be 9.
                       The binary number system consists of two digits 0s and 1s.                  For example,
                        The octal number system is used as a shorthand representation              45 x 9 = 405
                      of long binary numbers.                                                      4 + 0 + 5 = 9
                        The hexadecimal number system consists of 16 symbols from 0
                      to 9 and A to F.


                                                                                                  Number System    13
   10   11   12   13   14   15   16   17   18   19   20