03a number systems

34
Second Semester 2014-2015

Upload: janessa-johnjane-bongkahig

Post on 19-Dec-2015

236 views

Category:

Documents


1 download

DESCRIPTION

Number systems

TRANSCRIPT

Page 1: 03a Number Systems

Second Semester 2014-2015

Page 2: 03a Number Systems

Number Systems

Page 3: 03a Number Systems

Decimal Number System

Base 1010 possible

values

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Page 4: 03a Number Systems

Binary Number System

Base 22 possible

values

0 and 1

Page 5: 03a Number Systems

Octal Number System

Base 88 possible

values

0, 1, 2, 3, 4, 5, 6, 7

Page 6: 03a Number Systems

Hexadecimal Number System

Base 1616 possible

values

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

Page 7: 03a Number Systems

Number System Conversion

Page 8: 03a Number Systems

Decimal to other number systems (whole number)

Write the remainders in reverse order

Do this until the quotient becomes 0

Obtain the remainder

Divide the decimal number by the base

Page 9: 03a Number Systems

Decimal to other number systems (whole number)

• Convert 2410 to binary, octal and hexadecimal

24/2 = 12 r. 0

Page 10: 03a Number Systems

Decimal to other number systems (whole number)

• Convert 2410 to binary, octal and hexadecimal

24/2 = 12 r. 0

12/2 = 6 r. 0

Page 11: 03a Number Systems

Decimal to other number systems (whole number)

• Convert 2410 to binary, octal and hexadecimal

24/2 = 12 r. 0

12/2 = 6 r. 0

6/2 = 3 r. 0

Page 12: 03a Number Systems

Decimal to other number systems (whole number)

• Convert 2410 to binary, octal and hexadecimal

24/2 = 12 r. 0

12/2 = 6 r. 0

6/2 = 3 r. 0

3/2 = 1 r. 1

Page 13: 03a Number Systems

Decimal to other number systems (whole number)

• Convert 2410 to binary, octal and hexadecimal

24/2 = 12 r. 0

12/2 = 6 r. 0

6/2 = 3 r. 0

3/2 = 1 r. 1

1/2 = 0 r. 1

Page 14: 03a Number Systems

Decimal to other number systems (whole number)

• Convert 2410 to binary, octal and hexadecimal

24/2 = 12 r. 0 2410 = 110002

12/2 = 6 r. 0

6/2 = 3 r. 0

3/2 = 1 r. 1

1/2 = 0 r. 1

Page 15: 03a Number Systems

Decimal to other number systems (fraction part)

Write the obtained whole number

Do this until the product becomes a whole number

Take note of the whole number

Multiply the fractional part by the base

Page 16: 03a Number Systems

Decimal to other number systems (fraction part)

• Convert 24.75 to binary, octal, and hexadecimal

0.75 x 2 = 1.50

Page 17: 03a Number Systems

Decimal to other number systems (fraction part)

• Convert 24.75 to binary, octal, and hexadecimal

0.75 x 2 = 1.50

0.50 x 2 = 1.0

Page 18: 03a Number Systems

Decimal to other number systems (fraction part)

• Convert 24.75 to binary, octal, and hexadecimal

0.75 x 2 = 1.50 24.7510 = 11000.112

0.50 x 2 = 1.0

Page 19: 03a Number Systems

Binary, Octal, Hexadecimal to Decimal

Convert the number in positional form and evaluate to

obtain its decimal equivalent.

Page 20: 03a Number Systems

Binary, Octal, Hexadecimal to Decimal

• Convert 11000.112 to decimal.

1 1 0 0 00 x 20 = 0

Page 21: 03a Number Systems

Binary, Octal, Hexadecimal to Decimal

• Convert 11000.112 to decimal.

1 1 0 0 00 x 20 = 00 x 21 = 0

Page 22: 03a Number Systems

Binary, Octal, Hexadecimal to Decimal

• Convert 11000.112 to decimal.

1 1 0 0 00 x 20 = 00 x 21 = 00 x 22 = 0

Page 23: 03a Number Systems

Binary, Octal, Hexadecimal to Decimal

• Convert 11000.112 to decimal.

1 1 0 0 00 x 20 = 00 x 21 = 00 x 22 = 01 x 23 = 8

Page 24: 03a Number Systems

Binary, Octal, Hexadecimal to Decimal

• Convert 11000.112 to decimal.

1 1 0 0 00 x 20 = 00 x 21 = 00 x 22 = 01 x 23 = 81 x 24 = 16

24

Page 25: 03a Number Systems

Binary, Octal, Hexadecimal to Decimal

• Convert 11000.112 to decimal.

. 1 1

1 x 2-1 = 0.51 x 2-2 = 0.25

0.75

11000.112 = 25.7510

Page 26: 03a Number Systems

Binary to Octal

Convert each 3 digit binary number into its Decimal equivalent.

Pad in 0’s to fill the 3 slots in a group.

Moving from the radix point outward, group the binary digits in 3’s.

Page 27: 03a Number Systems

Binary to Octal

• Convert 1001011.11 to binary

1001011.110

6 in decimal

Page 28: 03a Number Systems

Binary to Octal

• Convert 1001011.11 to binary

1001011.110

3 in decimal

Page 29: 03a Number Systems

Binary to Octal

• Convert 1001011.11 to binary

1001011.110

1 in decimal

Page 30: 03a Number Systems

Binary to Octal

• Convert 1001011.11 to binary

001001011.110

1 in decimal

Page 31: 03a Number Systems

Binary to Octal

• Convert 1001011.11 to binary

001001011.110

1001011.112 = 113.68

Page 32: 03a Number Systems

Binary to Hexadecimal

Convert each 3 digit binary number into its Decimal equivalent.

Pad in 0’s to fill the 4 slots in a group.

Moving from the radix point outward, group the binary digits in 4’s.

Page 33: 03a Number Systems

Octal to Binary

Convert each octal digit to it’s 3-digit binary equivalent

Page 34: 03a Number Systems

Hexadecimal to Binary

Convert each octal digit to it’s 4-digit binary equivalent