Presentation is loading. Please wait.

Presentation is loading. Please wait.

How Computer Represent Data

Similar presentations


Presentation on theme: "How Computer Represent Data"— Presentation transcript:

1 How Computer Represent Data
Number system Manner of Counting Several different number systems exist To Computer everything is a number Alphabets, numbers, punctuation marks, sound, pictures, computer instructions For example “Here are some words.”

2 Decimal Numbers Used by humans to count Latin word deci mean 10
Also called Base 10 Have 10 distinct digits 10 is a two-digit number Digits combine to make larger numbers

3 Binary Number System Switch has two states Off represents 0, On is 1
Latin bi means 2 Used by computers to count Two distinct digits, 0 and 1 0 and 1 combine to make numbers represent a quantity >1 it uses two (or more) digits Pattern repeats indefinitely

4 Data Representation A computer circuit represents the 0 or the 1 electronically by the presence or absence of an electrical charge

5 Number Conversion Decimal to Binary and Binary to Decimal
Decimal to Octal and Octal to Decimal Decimal to Hexadecimal and Hexadecimal to Decimal Binary to Hexadecimal Octal to Hexadecimal Hexadecimal to Binary and Octal

6 Decimal To Binary 1

7 Decimal To Binary (151)10 = ( )2 (113)10 =

8 Binary to Decimal

9 Binary to Decimal

10 Binary to Decimal = = 21810

11 Exercise Decimal to Binary

12 Decimal to Octal =

13 Octal to Decimal

14 Octal to Decimal

15 Exercise Decimal to Octal

16 Octal to Decimal/Decimal to Octal
7438 = 48310 = = 34758

17 Binary to Hexadecimal

18 Hexadecimal to Binary

19 Hexadecimal to Decimal

20 Decimal to Hexadecimal

21 Decimal to Hexadecimal

22 Binary to Hexadecimal

23 Hexadecimal to Binary and Octal

24 Octal to Hexadecimal

25 Binary to Hexadecimal ( )2 ( )2

26 Octal to Hexadecimal (344)8 (1422)8

27 Complement of a Number

28 Complement of a Decimal Number

29 Complement of a Octal Number

30 Complement of a Binary Number

31 Logic Gates

32 AND Gate: Block Diagram and Truth Table

33 OR Gate: Block Diagram and Truth Table

34 NOT Gate: Block Diagram and Truth Table

35 NAND Gate: Block Diagram and Truth Table

36 NOR Gate: Block Diagram and Truth Table

37 XOR Gate: Block Diagram and Truth Table

38 Number System - Assignment
Decimal Binary Octal Hexadecimal (786)10 (555)10 (228)10 ( )2 ( )2 ( )2 (10341)8 (3475)8 (22466)8 (2D55)16 (BEEF)16


Download ppt "How Computer Represent Data"

Similar presentations


Ads by Google