Monday, 22 October 2012

Number Operation ; Subtraction by Nurul Faizah

1. How to subtract binary number




  • Align the two numbers as you would in decimal subtraction.
  • Work the columns right to left subtracting in each column. If you must subtract a one from a zero, you need to “borrow” from the left, just as in decimal subtraction.
  • One borrow represent 1, so, if 0 - 1 , = 2-1 = 1
  • Remember, 0 - 1 = 1 , 10 = 2.


2. How to subtract octal number


  • Align the two numbers as you would in decimal subtraction.
  • Work the columns right to left subtracting in each column. If you must subtract a one from a smaller number, you need to “borrow” from the left, just as in decimal subtraction.
  • One borrow represent 8.
  • Add the borrowed value to the smaller value.



3. How to subtract hexadecimal number




  • Align the two numbers as you would in decimal subtraction.
  • Work the columns right to left subtracting in each column. If you must subtract a one from a smaller number, you need to “borrow” from the left, just as in decimal subtraction.
  • One borrow represent 16.
  • Add the borrowed value to the smaller value.
  • Remember,
    • A = 10
    • B = 11
    • C = 12
    • D = 13
    • E = 14
    • F = 15



by : Nurul Faizah binti Sasaruddin - B031210257


No comments:

Post a Comment