Introduction to Computer Lesson 5.0

Preview:

Citation preview

Introduction to ComputerLesson V

By: Vhonz SugatanPOWER School

Number System

Number SystemUnitary System

Number SystemUnitary System

BLUE TEAM GREEN TEAM

Number SystemDecimal System

Number SystemDecimal System

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

Number SystemInherent Value

Number SystemInherent Value

6

Number SystemInherent Value

6SIX

Number SystemPositional Value

Number SystemPositional Value

423

Number SystemPositional Value

423

Number SystemPositional Value

423

Number SystemPositional Value

423

Number SystemBinary Number System

Number SystemBinary Number System

0’s & 1’s

Number SystemDecimal to Binary Conversion

Number System

Step 1

Decimal to Binary Conversion

Number System

Divide the decimal number by 2 and record the remainder.

Step 1

Decimal to Binary Conversion

Number System

Step 2

Decimal to Binary Conversion

Number System

Continue to divide by 2 as long as the resulting quotient is not equal to zero.

Step 2

Decimal to Binary Conversion

Number System

Step 3

Decimal to Binary Conversion

Number System

The binary equivalent of the number consists of the remainders listed from right to left.

Step 3

Decimal to Binary Conversion

Number System

Example:

Convert 20 (base 10) to its binary equivalent.

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 0

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 0

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2 2.5

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2 2 1

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2 2 12/2

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2 2 12/2 1

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2 2 12/2 1 0

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2 2 12/2 1 01/2

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2 2 12/2 1 01/2 0.5

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2 2 12/2 1 01/2 0 1

Decimal to Binary Conversion

Number System

Division Quotients Remainders20/2 10 010/2 5 05/2 2 12/2 1 01/2 0 1

Decimal to Binary Conversion

Number System

Example:

20 (base 10) to its binary equivalent is 10100 (base 2)

Decimal to Binary Conversion

Number System

Example:

Convert 15 (base 10) to its binary equivalent.

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7.5

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 1

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2 3.5

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2 3 1

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2 3 13/2

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2 3 13/2 1.5

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2 3 13/2 1 1

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2 3 13/2 1 11/2

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2 3 13/2 1 11/2 0.5

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2 3 13/2 1 11/2 0.5 1

Decimal to Binary Conversion

Number System

Division Quotients Remainders15/2 7 17/2 3 13/2 1 11/2 0.5 1

Decimal to Binary Conversion

Number System

Example:

15 (base 10) to its binary equivalent is 1111 (base 2)

Decimal to Binary Conversion

Number SystemBinary to Decimal Conversion

Number SystemBinary to Decimal ConversionExample:

Convert 10100 (base 2) to its decimal equivalent.

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0X2+ X2+ X2+ X2+ X2

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0X2+ X2+ X2+ X2+ X201234

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0X2+ X2+ X2+ X2+ X201234

0

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0X2+ X2+ X2+ X2+ X201234

00

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0X2+ X2+ X2+ X2+ X201234

004

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0X2+ X2+ X2+ X2+ X201234

0040

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0X2+ X2+ X2+ X2+ X201234

004016

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0X2+ X2+ X2+ X2+ X201234

++++ 004016

Number SystemBinary to Decimal ConversionExample:10100 (base 2)

1 0 1 0 0X2+ X2+ X2+ X2+ X201234

++++ 004016

20

Number System

10100 (base 2) to its decimal equivalent is 20 (base 10)

Binary to Decimal Conversion

Number SystemBinary to Decimal ConversionExample:

Convert 1111 (base 2) to its decimal equivalent.

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

1 1 1 1

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

1 1 1 1X2+ X2+ X2+ X2

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

1 1 1 1X2+ X2+ X2+ X20123

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

1 1 1 1X2+ X2+ X2+ X20123

1

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

1 1 1 1X2+ X2+ X2+ X20123

12

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

1 1 1 1X2+ X2+ X2+ X20123

124

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

1 1 1 1X2+ X2+ X2+ X20123

1248

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

1 1 1 1X2+ X2+ X2+ X20123

1248 +++

Number SystemBinary to Decimal ConversionExample:1111 (base 2)

1 1 1 1X2+ X2+ X2+ X20123

1248 +++

15

Number SystemSeat Work

Number SystemSeat Work

1.215 base10 to base22.336 base10 to base23.457 base10 to base24.383 base10 to base25.120 base10 to base2