Wednesday 11 December 2013

NUMBER SYSTEM

Assalamualaikum and very good morning..
Today, I will explain about basic calculation of binary and hexadecimal number.Maybe we are still confuse on how to calculate or solve the problems about binary and hexadecimal number.
There are some note and video that will help us more understand about this topics.

BINARY NUMBER OPERATIONS

  1. Binary Addition

  • Align the numbers you wish to add as you would if you were adding decimal numbers.
  • Start with the two numbers in the far right column.
  • Add the numbers following the rules of decimal addition (1+0 = 1, 0+0 = 0) unless both numbers are a 1.
  • Add 1+1 as "10" if present. (it is not "ten" but "one zero"). Write "0" below and carry a "1" to the next column.
  • Start on the next column to the left.
  • Repeat the steps above, but add any carry. Remember that 1+1 = 10 and 1+1+1 = 11. Remember to carry the "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.


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

4. Binary Subtraction
Rules of Binary Subtraction
  •  0 ‐ 0 = 0
  •  0 ‐ 1 = 1, and borrow 1 from the next more significant bit
  •  1 ‐ 0 = 1
  •  1 ‐ 1 = 0
Now let see the video to understand more:)

That all for binary operations and hexadecimal operations will be post later.
Thank you...:)

<Mohamad Hazarul Hazrin>
<B031310478>

No comments:

Post a Comment