Page 11 - Code & Click - 7
P. 11

Case                              Input                         Multiplication

                             1                               0 × 0                                0

                             2                               1 × 0                                0

                             3                               0 × 1                                0

                             4                               1 × 1                                1

            Example 1                           Example 2                                 Example 3
            Compute (110)  × (11)               Compute (1101)  × (10)                 Compute (1001)  × (101)
                            2      2                             2      2                               2        2
                                                                                                1 0 0 1
                          1 1 0                              1 1 0 1                            × 1 0 1
                          × 1 1                                × 1 0                            1 0 0 1
                          1 1 0                              0 0 0 0                           0 0 0 0 ×
                        1 1 0 ×                            1 1 0 1 ×                         1 0 0 1 × ×

                      1 0 0 1 0                            1 1 0 1 0                         1 0 1 1 0 1


            BINARY DIVISION
            Binary division is similar to decimal division. It starts on the left side of the numbers.

            Example 1                           Example 2                                 Example 3
            Compute (101)  ÷ (10)  2            Compute (1111)  ÷ (11)  2                      Compute (101101)  ÷ (101) 2
                                                                                                           2
                            2
                                                                 2
                 1 0       quotient                1 0 1       quotient                 1 0 0 1          quotient
           1 0 1 0 1       dividend           1 1 1 1 1 1      dividend          1 0 1 1 0 1 1 0 1       dividend
               – 1 0                             – 1 1                                – 1 0 1
                   1 0                                0 1                                  0 1
                 – 0 0                              – 0 0                                – 0 0
                     1     remainder                    1 1                                  1 0
                                                      – 1 1                                – 0 0
                                                          0    remainder                     1 0 1
                                                                                            – 1 0 1

                                                                                                 0       remainder


             Post-Processingost-Processing
             P
                A number system defines a set of values used to represent different quantities.

                The number of digits in a number system is called its Base or Radix.
                The face value of a digit in a number is the digit itself. The place value of a digit in a number
                  depends on its place in the number and the base of the number system.
                The common number systems used are – Decimal, Binary, Octal, and Hexadecimal.
                 Numbers can be converted from one number system to another.
                Just like decimal numbers, binary numbers can be added, subtracted, multiplied, or divided.




                                                                                                                  9
   6   7   8   9   10   11   12   13   14   15   16