• No results found

Number System

N/A
N/A
Protected

Academic year: 2022

Share "Number System"

Copied!
27
0
0

Loading.... (view fulltext now)

Full text

(1)

Number System

(2)

Personal Computer (PC)

Designed for one user at a time.

general-purpose.

Cost-effective.

For naïve user than a computer expert.

(3)

Components of PC

Computer case

Processor

Motherboard

Main memory

Storage drive

Visual display unit

Video card

Keyboard

(4)

Number System

A number system is a mathematical notation for representing numbers of a given set, using digits or other symbols in a consistent manner.

The number system can be seen as the context that allows the symbols "11"

to be interpreted as the binary symbol for three, the decimal symbol for eleven,....

The number system consists of

Base

Set of digits (From 0 to Base-1)

Representation for a set of numbers (e.g. all integers)

Unique representation to every number in the set

(5)

Types of Number System

Non-Positional number system

Positional number system

(6)

Non-Positional Number System

Symbol represents the value regardless of its position.

Difficult to perform arithmetic operation.

For example:-

I, II, III, IV, V, VI, VII, VIII, IX, X

XI,XII, XIII, XIV, XV, XVI, XVII, XVIII, XIX, XX

(7)

Positional Number System

Symbols (Digits) represent different values depending upon the position.

The values of each digit is determined by:-

Digit itself

Position of the digit

Base of the number system

(8)

Continuing with our example…

642 in base 10 positional notation is:

6 x 10

2

= 6 x 100 = 600 + 4 x 10

1

= 4 x 10 = 40

+ 2 x 10º = 2 x 1 = 2 = 642 in base 10

This number is in base 10

The power indicates the position of

the number

Positional Number System

(9)

Decimal Number System

 The base is equal to 10

 Uses 10 different symbols.

For example:

(2*1000) + (5*100) + (8*10) + (6*1)

=2000 + 500 + 80 + 6

=2586

(10)

Binary Number System

Binary digit 0 or 1

The base is 2.

Each position represents a power of the base 2.

Example:-Conversion from 00111101 to decimal is-

(11)

Conversion of decimal representation to binary

Divide decimal number to base 2 and Take remainders in reverse order. Example : Convert 3610 to binary number

2 36 2 18 2 9 2 4 2 2 2 1 0

Remainder 0

0 1 0 0

Least Significant Bit (LSB)

(12)

Conversion of binary representation to decimal

Covert (11010)2 to decimal

(13)

24 23 22 21 20

16 8 4 2 1

1 1 0 1 0

1*16

+1*8

+0*4

+1*2

+0*1 Conversion of binary representation to decimal

Covert (11010)2 to decimal

(14)

Octal Number System

 The base is 8

 The digits are 0-7

 Each position represents a power of the base 8.

 For example:- decimal

equivalent to the octal

number 421 is 273

(15)

Converting Decimal to Octal

(1988)

10

= (?)

8

8 1988 Rem

8 248 4

8 31 0

8 3 7

0 3

(16)

(642)

8

= (?)

10

Converting Octal to Decimal

(17)

(642)

8

= (?)

10

6 x 8

2

= 6 x 64 = 384 + 4 x 8

1

= 4 x 8 = 32 + 2 x 8º = 2 x 1 = 2

Converting Octal to Decimal

(18)

Hexadecimal Number System

 The base is 16

 digit symbols in base 16 are 0,1,2,3,4,5,6,7,8,9, A,B,C,D,E,F

 Each position represents

a power of the base 2.

(19)

222 13 0 16 3567 16 222 16 13

32 16 0

36 62 13

32 48

47 14 32

15

Converting Decimal to Hexadecimal

(20)

(DEF)

16

= (?)

10

D x 16

2

= 13 x 256 = 3328 + E x 16

1

= 14 x 16 = 224 + F x 16º = 15 x 1 = 15

Sum = (3567)

10

Converting Hexadecimal to Decimal

(21)

Shortcut Method for Converting a Binary Number to its Equivalent

Octal Number

(22)

Shortcut Method for Converting an Octal Number to Its Equivalent

Binary Number

(23)

Shortcut Method for Converting a Binary Number to its Equivalent

Hexadecimal Number

(24)

Shortcut Method for Converting a Hexadecimal Number to its

Equivalent Binary Number

(25)

Q.1- (EF)

16

+ (27)

8

= (?)

7

Q.2- (C2D51)

16

+ (27655)

8

= (?)

6

Some Problems

(26)

Q.1- (EF)

16

+ (27)

8

= (?)

7

(EF)

16

= E x 16

1

+ F x 16º

= 14 x 16 + 15 x 1

= 224 + 15 = (239)

10

(27)

8

= 2 x 8

1

+ 7x8º = 16 + 7 = 23 (EF)

16

+ (27)

8

= (239)

10

+ (23)

10

= (262)

10

= (523)

7

Q.2- (C2D51) + (27655) = (?)

Some Problems

(27)

Thank You

References

Related documents

Digital Systems: Principles and Applications, 10e Copyright ©2007 by Pearson Education, Inc.. Columbus, OH 43235 All

1# A database is to be designed for sales information system. A product can be described with a unique product number, product name, selling price, manufacturer name. The

These gains in crop production are unprecedented which is why 5 million small farmers in India in 2008 elected to plant 7.6 million hectares of Bt cotton which

 Convert each octal digit to a 3-bit equivalent binary representation. Number

6~ A computerized system is vital for yet another set of reasons. The data re- quired for a successful management of the sector are collected by many different orga- nizations.

A number which can neither be expressed as a terminating decimal nor as a repeating decimal is called an irrational number, For

If every stage of grouping gives an array of significant groups, a facet of isolate numbers with a number of digits in the isolate numbers can not be distinguished whether it is

Keywords: Fuzzy set, fuzzy number, fuzzy centre, fuzzy radius,   cut, double parametric form of fuzzy numbers, fuzzy and fully fuzzy system of linear