Decimal to binary number

Post on 05-Feb-2015

2.275 views 45 download

description

 

Transcript of Decimal to binary number

Decimal to Binary Number Conversion

MS. Douglas, Bsc

Revision

Binary numbers only have 2 digits and are written in base 2

Example; 1102

Decimal numbers have 10 digits and are written in base 10

Example 11010

MSB and LSB

10110 LSBMSB

Decimal to Binary Conversion

Method: Repeated division by 2 to convert numbers from decimal to binary.

Convert decimal number 1310 to a binary number:13/ 2 = 6 Reminder 16/ 2 = 3 Reminder 03/2 = 1 Reminder 11/ 2 = 0 Reminder 1

11012

1310 is equal to 11012

MSB

LSB

Convert decimal number 2010 to a binary number.

Decimal to Binary Conversion

Convert decimal number 2510 to a binary number.

Decimal to Binary Conversion

Binary Arithmetic Operations

Binary numbers can be Added Subtracted Multiplied Divided

To carry out any of the binary arithmetic operations the rules must be followed

The Rules

Addition rules

Subtraction rules

Multiplication rules

Division rules

Home Work

Convert the following decimal numbers to binary numbers.

1. 3510

2. 2910

3. 5010

4. 1010

5. 1610