CompAddict

Welcome to our blogger...:-)

Sunday, 21 October 2012

CHAPTER 1 : NUMBER SYSTEM



1.5 Basic binary multiplication and division



By Muhammad Luqman bin Md Yusri
      B031210268

Binary Basic concepts:

  1. Binary is base 2
  2. There are only two digits in counting (1 & 2)


    Binary Multiplication
    Multiplication in the binary system works the same way as in the decimal system:
    • 1*1=1
    • 1*0=0
    • 0*1=0

       101                      
      * 11
      ____
       101
      1010
     _____
      1111
    
    Note that multiplying by two is extremely easy. To multiply by two, just add a 0 on the end.

Binary Division

Follow the same rules as in decimal division. For the sake of simplicity, throw away the remainder.
For Example: 111011/11
      10011 r 10
    _______
  11)111011
    -11
     ______
       101
       -11
     ______
        101
         11
     ______
         10






No comments:

Post a Comment