Page 13 - Trackpad_V1_Book 7_Flipbook
P. 13

Step  3       Then write the remainder in the reverse order.

                 Example: (126)
                                10
                                                            2  126
                                                            2   63    –0

                                                            2   31      1
                                                            2   15      1

                                                            2    7      1
                                                            2    3      1
                                                            2    1      1

                                                                  0     1



                 The binary equivalent of (126)  is 1111110 or (126)  = (1111110) 2
                                                10
                                                                   10



                         uiz   Bee        Convert (26)  to a binary number and write answer below.
                                                       10
                                          _________________________________________________________________






                           CONVERSION OF BINARY TO DECIMAL

                 To convert a binary number into a decimal number, follow the given steps:

                 Step  1       Multiply each digit of the binary number by 2 to the power of n, where n is the position
                             of the digit starting from 0 on the right.

                 Step  2       Add the result.

                 Example: Convert (101001)  to decimal number.
                                             2
                                                    1
                              4
                       5
                                             2
                                     3
                 = 1 x 2  + 1 x 2  + 1 x 2  + 1 x 2  + 1 x 2  + 1 x 2 0
                 = 32 + 16 + 8 + 4 + 2 + 1
                 = 63 10
                 Sum of the products = 32 + 0 + 8 + 0 + 0 + 1 = 41
                 Therefore, (101001)  = (41) 10
                                     2


                          OPERATIONS ON BINARY NUMBERS

                 We can perform various operations on binary numbers. Let's discuss binary addition and binary
                 subtraction in detail.






                                                                                                  Number System   11
   8   9   10   11   12   13   14   15   16   17   18