Download presentation

Presentation is loading. Please wait.

1
Information Representation All information in the computer must be in the form of 1’s and 0’s. An example of a binary digit:

2
Question? How can numbers, letters, graphics, sounds, etc. be represented by a binary digit???

3
Facts About Base 10 The number 456 means –We have 4 units of hundred –We have 5 units of ten –We have 6 units of one Values in Base 10 depend on the digit (4, 5, or 6) and the position (one, ten, hundred).

4
Base 10 table 1000’s100’s10’s1’s = 456 = 7367 LABELS What if the labels were not multiples of 10? What if they were multiples of 2? Note that in each position we can only use the numbers 1 to 9.

5
Base 2 table 8’s4’s2’s1’s ==== LABELS What numbers can we use in the positions? Only a 1 or a 0.

6
Base 2 table 8’s4’s2’s1’s = 2 in base 10 = 4 in base 10 LABELS 10 is pronounced one zero – not ten 10= 1 units of 2 and none of is pronounced one zero zero 100(one zero zero) = 1 unit of 4 and none of 2 or 1

7
Other information representation. Letters are given a number representation defined by the ASCII code. Colors are also given a numeric code. Graphics are coded in pixels. A group of pixels defines a picture and is either on or off.

8
A pixel representation of an unfilled square and a triangle.

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google