Introduction to Computer Lesson 6.0

Post on 14-Aug-2015

59 views 6 download

Transcript of Introduction to Computer Lesson 6.0

Introduction to Computer Lesson VIBy: Vhonz Sugatan

POWER School

Previously…

Number System

Number System

Unitary System

Number System

Unitary SystemDecimal System

Number System

Unitary SystemDecimal SystemBinary System

Number System

Board Work

Number System

Board Work1.) 1552.) 1653.) 185

10

10

10

2

2

2

Number System

Board Work1.) 11001012.) 101111013.) 1111011

2

2

2

10

10

10

Number SystemDecimal to Binary Conversion

Number SystemDecimal to Binary Conversionof Fraction

Number SystemDecimal to Binary Conversionof Fraction Example:

Number SystemDecimal to Binary Conversionof Fraction

Convert 0.375 (base 10) to its binary equivalent

Example:

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2 0.75

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2 0.75 0

Number System

0.375x 2

Number System

0.375x 2

Number System

0.375x 2

0

Number System

0.375x 2

1

0

Number System

0.375x 2

1

0

Number System

0.375x 2

1

0

Number System

0.375x 2

1

05

Number System

0.375x 2

11

05

Number System

0.375x 2

11

05

Number System

0.375x 2

11

05

Number System

0.375x 2

11

057

Number System

0.375x 2

11

057

Number System

0.375x 2

11

0570

Number System

0.375x 2

0570.

Number System

0.375x 2

0570.

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2 0.75 00.75 x 2

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2 0.75 00.75 x 2 1.5

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2 0.75 00.75 x 2 1.5 1

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2 0.75 00.75 x 2 1.5 10.5 x 2

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2 0.75 00.75 x 2 1.5 10.5 x 2 1.0

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2 0.75 00.75 x 2 1.5 10.5 x 2 1.0 1

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.375 x 2 0.75 00.75 x 2 1.5 10.5 x 2 1.0 1

Number SystemDecimal to Binary Conversionof Fraction

0.375 (base 10) is equal to 0.011 (base2)

Number SystemDecimal to Binary Conversionof Fraction

Convert 0.625 (base 10) to its binary equivalent

Example:

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2 1.25

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2 1.25 1

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 0

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 00.5 x 2

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 00.5 x 2 1.0

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 00.5 x 2 1.0 1

Number SystemDecimal to Binary Conversionof Fraction

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 00.5 x 2 1.0 1

Number SystemDecimal to Binary Conversionof Fraction

0.625 (base 10) is equal to 0.101 (base2)

Number SystemDecimal to Binary Conversionof Fraction

21010.

Number SystemDecimal to Binary Conversionof Fraction

1012

Number SystemDecimal to Binary Conversionof Fraction

Convert 0.8 (base 10) to its binary equivalent

Example:

Number SystemDecimal to Binary Conversion

Number SystemDecimal to Binary Conversionof Real Values

Number SystemDecimal to Binary Conversionof Real ValuesExample:

Convert 6.625 (base 10) to its binary equivalent

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2 3

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2 3 0

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2 3 03/2

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2 3 03/2 1.5

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2 3 03/2 1 1

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2 3 03/2 1 11/2

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2 3 03/2 1 11/2 0.5

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2 3 03/2 1 11/2 0 1

Number SystemDecimal to Binary Conversionof Real ValuesDivision Quotients Remainders

6/2 3 03/2 1 11/2 0 1

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2 1.25

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2 1.25 1

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 0

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 00.5 x 2

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 00.5 x 2 1.0

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 00.5 x 2 1.0 1

Number SystemDecimal to Binary Conversionof Real Values

Multiplication

Product Integral Parts

0.625 x 2 1.25 10.25 x 2 0.5 00.5 x 2 1.0 1

Number SystemDecimal to Binary Conversionof Real Values

6 (base10)=110 (base2)

Number SystemDecimal to Binary Conversionof Real Values

0.625(base10)=0.101(Base2)

Number SystemDecimal to Binary Conversionof Real Values

110 (base2)

Number SystemDecimal to Binary Conversionof Real Values

0.101 (base2)

Number SystemDecimal to Binary Conversionof Real Values

110.101 (base2)

Number SystemDecimal to Binary Conversionof Real Values

Number SystemBinary to Decimal Conversionof Real Values

Number SystemBinary to Decimal Conversionof Real ValuesExample:

Convert 0.101 (base 2) to its decimal equivalent

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1x2 x2 x2

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1x2 x2 x2+ +

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1x2 x2 x2+ +1 2 3- - -

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1x2 x2 x2+ +1 2 3- - -

1/2 + 0 + 1/8

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1x2 x2 x2+ +1 2 3- - -

1/2 + 0 + 1/80.5

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1x2 x2 x2+ +1 2 3- - -

1/2 + 0 + 1/80.5 0

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1x2 x2 x2+ +1 2 3- - -

1/2 + 0 + 1/80.5 0 0.125

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1x2 x2 x2+ +1 2 3- - -

1/2 + 0 + 1/80.5 0 0.125+ +

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

1 0 1x2 x2 x2+ +1 2 3- - -

1/2 + 0 + 1/80.5 0 0.125+ +

Number System

18

Number System

18 .

Number System

18 .0

Number System

18 ..0

Number System

18 ..01

Number System

18 ..01

8

Number System

18 ..01

82

Number System

18 ..01

820

Number System

18 ..01

820

2

Number System

18 ..01

820

2

16

Number System

18 ..01

820

2

16

Number System

18 ..01

820

2

16

10

Number System

18 ..01

820

2

16

10

4

Number System

18 ..01

820

2

16

10

4

1

Number System

18 ..01

820

2

16

10

4

1

0

Number System

18 ..01

820

2

16

10

4

1

0 0

Number System

18 ..01

820

2

16

10

4

1

0 0

5

Number System

18 ..01

820

2

16

10

4

1

0 0

5

40

Number System

18 ..01

820

2

16

10

4

1

0 0

5

40

Number System

18 ..01

820

2

16

10

4

1

0 0

5

40

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

0.500.125+

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

0.500.125+0.625

Number SystemBinary to Decimal Conversionof Real ValuesExample:0.101 (base 2)

0.500.125+0.625

Number SystemBinary Addition

Number SystemBinary Addition

0 + 0 = 0

Number SystemBinary Addition

0 + 0 = 0 0 + 1 = 1

Number SystemBinary Addition

0 + 0 = 0 0 + 1 = 1 1 + 0 = 1

Number SystemBinary Addition

0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 =

Number SystemBinary Addition

0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 0

Number SystemBinary Addition

0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 0Plus a carry over of

1

Number SystemExample:

101101+

Number SystemExample:

101101+

55+=

Number SystemExample:

101101+

55+

10

Number SystemExample:

101101+

Number SystemExample:

101101+

Number SystemExample:

101101+

0

Number SystemExample:

101101+

0

1

Number SystemExample:

101101+

0

1

Number SystemExample:

101101+

0

1

Number SystemExample:

101101+

0

1

Number SystemExample:

101101+

0

1

1

Number SystemExample:

101101+

0

1

1

Number SystemExample:

101101+

0

1

1

Number SystemExample:

101101+

0

1

10

Number SystemExample:

101101+

0

1

10

1

Number SystemExample:

101101+

0

1

10

1

1

Number SystemExample:

101101+

0

1

10

1

1

Number SystemExample:

+

101110011001

Number SystemExample:

+

101110011001

Number SystemExample:

+

101110011001

Number SystemExample:

+

101110011001

0

Number SystemExample:

+

101110011001

0

1

Number SystemExample:

+

101110011001

0

1

Number SystemExample:

+

101110011001

0

1

1

Number SystemExample:

+

101110011001

0

1

1

Number SystemExample:

+

101110011001

0

1

1

Number SystemExample:

+

101110011001

0

1

1

0

Number SystemExample:

+

101110011001

0

1

1

0

1

Number SystemExample:

+

101110011001

0

1

1

0

1

Number SystemExample:

+

101110011001

0

1

1

0

1

Number SystemExample:

+

101110011001

0

1

1

0

1

0

Number SystemExample:

+

101110011001

0

1

1

0

1

0

Number SystemExample:

+

101110011001

0

1

1

0

1

0

Number SystemExample:

+

101110011001

0

1

1

0

1

0

1

Number SystemExample:

+

101110011001

0

1

1

0

1

0

1

Number SystemExample:

+

101110011001

0

1

1

0

1

0

1

Number SystemExample:

+

101110011001

0

1

1

0

1

0

1

1

Number SystemExample:

+

101110011001

0

1

1

0

1

0

1

1

Number SystemExample:

+

101110011001

0

1

1

0

1

0

1

1

Number SystemExample:

+

101110011001

0

1

1

0

1

0

1

1

0

Number SystemExample:

+

101110011001

0

1

1

0

1

0

1

1

0

1

Number SystemExample:

+

101110011001

0

1

1

0

1

0

1

1

0

1

Number SystemExample:

+

101110011001

0

1

0

1

1

0

1

1011

Number SystemExample:

+

101110011001

0

1

0

1

1

0

1

10111

Number SystemExample:

+

101110011001

0

1

0

1

1

0

1

10111

Number SystemQuiz

1.) 1011.10112.) 1110.0113.) 67.06254.) 0.6875

5.)100111+101016.)10111+101101+111011+100017.)10111+111011+11101011+1101