Wednesday 20 November 2013

Number Operation

Number Operation

Binary Number Operation Rules (Addition)

Binary Rules

Sum

Carry

0 + 0 = 0

0

0

0 + 1 = 1

1

0

1 + 0 = 1

1

0

1 + 1 = 1

0

1

Binary Number Operation Rules (Subtraction)

Binary Rules

Different

Borrow

0 – 0 = 0

0

0

0 – 1 = 1

1

10

1 – 0 = 1

1

0

1 – 1 = 1

0

1

Binary Number Operation Rules (Multiplication)

Binary Rules

Multiply

0 x 0 = 0

0

0 x 1 = 0

0

1 x 0 = 0

0

1 x 1 = 1

1


Example:

  1. 3 + 2
3+2 = 01012 = 5

   2.   20 – 15
20 – 15 = 01012 = 5

   3.   11102 ÷ 102

11102 ÷ 102 = 1112

Hexadecimal Number Operation
  1. 5916 + 3216


   2.   1B16 + 2C16


   3.   3016 - 2216





No comments:

Post a Comment