SlideShare una empresa de Scribd logo
1 de 44
TOPICS
•
•
•
•
•

Decimal Number Systems
Binary number Systems
Octal
Hexadecimal
Number conversion
Decimal Number System
• The word decimal is a derivative of decem,
which is the Latin word for ten.
• Numbers today are almost universally written
in a form of notation known as positional
number representation.
• A number is represented as a string of digits.
Decimal Number Systems
• In a decimal number there are ten such digits
that may be used, ranging in value from zero to
nine
• Decimal numbers are positional numbers that
have a base or radix of ten.
• Why ten ?
Decimal Number Systems
• Exactly ten distinct numerals in order to
represent all possible values for each position in
the number, and hence to enable us to represent
all possible integer numbers in decimal notation.
• 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 values
• For example, a number like "0123456789" has
ten positions and each position can contain the
digits 0-9.
Decimal Number Systems
•

Each digit position has a weight associated
with it.
• Each digit corresponds to a power of 10 based
on its position in the number
• Number’s value = a weighted sum of the digits
Decimal Number Systems
• Number’s value = a weighted sum of the digits
• Number’ value = digit * 10x + digit * 10x where
x = (position number - 1).
It sounds complicated ?
Decimal Number Systems
• The powers of 10 increment from 0, 1, 2,
etc. as you move right to left
Hundreds

Tens

Units
Decimal Number Systems
• The BASE is 10 or Dec or simply D
• BASE = 10
103=1000
102=100
10 =10
1

100=1

10 3

Power or Exponent
Base 10
Decimal Number Systems
• Example
123410 = 1x 103 + 2x 102 + 3x101 +4x100
= 1000 + 200
= 123410

+ 30

+4
Decimal Number Systems
• Example
9876D = 9x 103 + 8x 102 + 7x101 +6x100
= 9000 + 800
= 9876D

+ 70

+6
Decimal Number Systems
• Summary
• In the decimal system, there are 10 digits (0
through 9) which combine to form numbers as
follows:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
19 20 21 22 ...
Binary Number Systems
• The term computer numbering formats refers to
the schemes implemented in digital computer and
calculator hardware and software to represent
numbers
• Digital Computers and Calculator use a binary
systems
• Why binary?
Binary Number Systems
• Easy to represent binary values electrically
• Voltages and currents.
• Can be implemented using circuits
• Create the building blocks of modern computers
Binary Number Systems
• Reliability
• With only 2 values, can be widely
separated, therefore clearly
differentiated
• Binary numbers are made of binary
digits
Binary Number Systems
• Binary DigiTs (BITs) can be represented
electronically:
… 0 (no signal)
… 1 (signal)
Binary Number Systems
Base is 2 or ‘b’ or ‘B’ or ‘Bin’
Two symbols: 0 and 1
Each place is weighted by the power of 2
Binary Number Systems
• All the information in the digital computer is
represented as bit patterns
• What is a bit pattern?
This is one bit

01010101
This is called as the bit pattern
Binary Number Systems
• Look at this bit pattern
0101 0101
• How many bits are present ?
• Count the number of ones and the zeros in the
above pattern
Answer = Total 8 bits
Binary Number Systems
0101 0101
This pattern is represented as follows in the digital
computer
Bit7
0

Bit 6
1

Bit 5
0

Bit 4
1

Bit 3
0

Bit 2
1

Bit 1
0

Bit 0
1
Binary Number Systems
• A single bit can represent two states:0 1
• Therefore, if you take two bits, you can use them
to represent four unique states:
00, 01, 10, & 11
• And, if you have three bits, then you can use them
to represent eight unique states:
000, 001, 010, 011, 100, 101, 110, & 111
Binary Number Systems
•With every bit you add, you double the number of
states you can represent. Therefore, the expression
for the number of states with n bits is 2n. Most
computers operate on information in groups of 8
bits,
Binary Number Systems
Bit7
0

Bit 6
1

Bit 5
0

Bit 4

Bit 3

1

0

Bit 2
1

Bit 1
0

Bit 0
1

• There are 8 bits in the above table
• Group of 4 bits = 1 Nibble
• Group of 8 bits = 1 Byte
• Group of 16 bits = 1 Word

2 Bytes = 1 Word
Binary Number Systems
Bit7
0

Bit 6
1

Bit 5
0

Bit 4
1

Bit 3
0

Bit 2
1

Bit 1

Bit 0

0

• There are 8 bits in the above table
• Bit 0 is called the Least Significant Bit LSB
• Bit 1 is called the Most Significant Bit MSB

1
Binary Number Systems
Bit positions and their values
Bit7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

27

26

25

24

23

22

21

20

128

64

32

16

8

4

2

1
Convert Decimal to Binary
For Each Digit Position
1.Divide decimal number by the base (e.g. 2)
2. The remainder is the lowest-order digit
3. Repeat first two steps until no divisor remains.
Convert Decimal to Binary
Example: Convert Decimal 13 (13 10) to Binary :
Repeated division by 2 (till quotient is zero)
Divide-by -2

Quotient

Remainder

Binary Bits

13/2
6/2
3/2
1/2

6
3
1
0

1
0
1
1

Bit 0 = 1
Bit 1 = 0
Bit 3 = 1
Bit 4 = 1

Answer = 11012
Convert Binary to Decimal
Example: Convert 11012
Multiply each 1 bit by the appropriate power of 2
and add them together.
1

0
Bit 3

1
Bit 2

1
Bit 1

Bit 0
Convert Binary to Decimal
Example: Convert 11012
Bit7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

27

26

25

24

23

22

21

20

128

64

32

16

8

4

2

1

1

1

0

1

Multiply with
these values

8 x 1 + 4 x 1 + 2 x 0 + 1x 1 = 8 + 4 + 0 + 1
= 13
Binary Number Systems
Example:
10112 or 1011 B
= 1 x 23 + 0 x 22 + 1 x 21 + 1 x 20
= 8 + 0 + 2 +1
= 1110
Binary Number Systems
Example:
101102 or 10110 B
1 x 24+0 x 23 + 1 x 22 + 1 x 21 + 0 x 20
= 16 + 0 + 4 +2+0
= 2210
Other Number Systems
• Octal and hex are a convenient way to
represent binary numbers, as used by
computers.
• Computer mechanics often need to write out
binary quantities, but in practice writing out a
binary number such as
Other Number Systems
• 1001001101010001
is tedious, and prone to errors.
• Therefore, binary quantities are written in a
base-8 ("octal") or, much more commonly, a
base-16 ("hexadecimal" or "hex") number
format.
Octal Number Systems
• Base = 8 or ‘o’ or ‘Oct’
• 8 symbols: { 0, 1, 2, 3, 4, 5, 6, 7}
• Example 123, 567, 7654 etc
987 This is incorrect why?
• How to represent a Decimal Number using a
Octal Number System ?
Octal Number Systems
• Repeated Division by 8
• Example
21310 = ( )8 ?
Divide-by -8

Quotient

Remainder

Octal digit

213 / 8
26 / 8
3/8

26
3
0

5
2
3

Lower digit = 5
Second digit =2
Third digit =3

Answer = 3258
Octal Number Systems
• How to convert 3258 back to Decimal ?
• Use this table and multiply the digits with the position
values
Digit
8

Digit
7

Digit
6

Digit
5

Digit
4

Digit
3

Digit
2

Digit
1

87

86

85

84

83

82

81

80

……

……

32768

4096

512

64

8

1
Octal Number Systems
• How to convert 3258 back to Decimal ?
• Consider the above number
Digit 1
3 2 5 (8)
Digit 3

Digit 2

3 x 82 + 2 x 81 + 5 x 80 = 3 x 64 + 2 x 8 + 5 x 1
= 192 +16 + 5
= 213
Octal Number Systems
• Example Convert 6118
• Consider the above number
Digit 1
6 1 1 (8)
Digit 3

Digit 2

6 x 82 + 1 x 81 + 1 x 80 = 6 x 64 + 1 x 8 + 1 x 1
= 384 + 8 + 1
= 393
Octal Number Systems
• Convert 393 to octal
Divide-by -8

Quotient

Remainder

Octal digit

393 / 8
49 / 8
6/8

49
6
0

1
1
6

Lower digit = 1
Second digit =1
Third digit =6

Answer = 6118
Hexadecimal Number
Systems
• Base = 16 or ‘H’ or ‘Hex’
16 symbols: { 0, 1, 2, 3, 4, 5, 6, 7,8,9 }
{ 10=A, 11=B, 12=C, 13=D, 14=E, 15= F}
Hexadecimal Number
Systems
•

{0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F} It uses 6
Letters !
• Example AB12, 876F, FFFF etc
• How to represent a Decimal Number using a
Hexadecimal Number System ?
Hex Number Systems
• Repeated Division by 16
• Example
21310 = ( )16 ?
Divide-by -16

Quotient

Remainder

Hex digit

213 / 16
13 / 16

13
0

5
13

Lower digit = 5
Second digit =D

Answer = D516
Hex Number Systems
• How to convert D516 back to Decimal ?
• Use this table and multiply the digits with the position
values
Digit
8

Digit
7

Digit
6

Digit
5

Digit
4

Digit
3

Digit
2

Digit
1

167

166

165

164

163

162

161

160

……

……

…..

……

4096

256

16

1
Hex Number Systems
• How to convert D516 back to Decimal ?
• Consider the above number
Digit 1
D 5 (16)
Digit 2

D x 161 + 5 x 160 = 13 x 16 + 5 x 1
= 208 + 5
= 213
End

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Conversion binary to decimal
Conversion binary to decimalConversion binary to decimal
Conversion binary to decimal
 
Number System
Number SystemNumber System
Number System
 
Binary codes
Binary codesBinary codes
Binary codes
 
Number System Conversion | BCA
Number System Conversion | BCANumber System Conversion | BCA
Number System Conversion | BCA
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
 
Number system
Number systemNumber system
Number system
 
01.Number Systems
01.Number Systems01.Number Systems
01.Number Systems
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
09 binary number systems
09   binary number systems09   binary number systems
09 binary number systems
 
Number system utm notes
Number system utm notesNumber system utm notes
Number system utm notes
 
Number system
Number systemNumber system
Number system
 
Number systems
Number systemsNumber systems
Number systems
 
Number system and its conversions
Number system and its conversionsNumber system and its conversions
Number system and its conversions
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
NUMBER SYSTEM
NUMBER SYSTEMNUMBER SYSTEM
NUMBER SYSTEM
 
NUMBER BASE SYSTEM.pptx
NUMBER BASE SYSTEM.pptxNUMBER BASE SYSTEM.pptx
NUMBER BASE SYSTEM.pptx
 

Destacado (20)

Digital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsDigital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systems
 
Chapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbersChapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbers
 
Number system
Number systemNumber system
Number system
 
Computer number systems
Computer number systemsComputer number systems
Computer number systems
 
Number System
Number SystemNumber System
Number System
 
1 number systems-binary
1 number systems-binary1 number systems-binary
1 number systems-binary
 
Al2ed chapter7
Al2ed chapter7Al2ed chapter7
Al2ed chapter7
 
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit ModelSingle-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
 
Unicode
UnicodeUnicode
Unicode
 
LTE: HARQ
LTE: HARQLTE: HARQ
LTE: HARQ
 
Advance Repeat reQuest (ARQ)
Advance Repeat reQuest (ARQ)Advance Repeat reQuest (ARQ)
Advance Repeat reQuest (ARQ)
 
Unicode
UnicodeUnicode
Unicode
 
Chapter 7 rohith
Chapter 7 rohithChapter 7 rohith
Chapter 7 rohith
 
fluid statics
fluid staticsfluid statics
fluid statics
 
Okkkkk
OkkkkkOkkkkk
Okkkkk
 
Ch1.number systems
Ch1.number systemsCh1.number systems
Ch1.number systems
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Chap5
Chap5Chap5
Chap5
 
Stop and Wait arq
Stop and Wait arqStop and Wait arq
Stop and Wait arq
 
Heat treatment part 1
Heat treatment part 1Heat treatment part 1
Heat treatment part 1
 

Similar a Number system

Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptxHamnaKhalid25
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxmust322322
 
Numbersystemcont
NumbersystemcontNumbersystemcont
NumbersystemcontSajib
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptxLibanMohamed26
 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effectsPeriyanayagiS
 
Chapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemChapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemISMT College
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsshivas379526
 
number system.pptx
number system.pptxnumber system.pptx
number system.pptxPooja Dixit
 
Binary computing
Binary computingBinary computing
Binary computingsamina khan
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversionRam Pratap Singh
 
data representation
 data representation data representation
data representationHaroon_007
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdfAsthaChaurasia4
 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.pptAshishChandrakar12
 

Similar a Number system (20)

Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptx
 
Numbersystemcont
NumbersystemcontNumbersystemcont
Numbersystemcont
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx
 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effects
 
Acem numbersystem
Acem numbersystemAcem numbersystem
Acem numbersystem
 
Chapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemChapter 2.1 introduction to number system
Chapter 2.1 introduction to number system
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
number system.pptx
number system.pptxnumber system.pptx
number system.pptx
 
Binary computing
Binary computingBinary computing
Binary computing
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
1. basic theories of information
1. basic theories of information1. basic theories of information
1. basic theories of information
 
data representation
 data representation data representation
data representation
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdf
 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 

Más de Sajib

Social science lecture 1(part-2) ppt summer 2011
Social science lecture 1(part-2) ppt summer 2011Social science lecture 1(part-2) ppt summer 2011
Social science lecture 1(part-2) ppt summer 2011Sajib
 
Schaefer6e ppt ch03
Schaefer6e ppt ch03Schaefer6e ppt ch03
Schaefer6e ppt ch03Sajib
 
Copy of schaefer6e ppt ch01
Copy of schaefer6e ppt ch01Copy of schaefer6e ppt ch01
Copy of schaefer6e ppt ch01Sajib
 
Chapter 07
Chapter 07Chapter 07
Chapter 07Sajib
 
Ch 3 org culture and the environment (1)
Ch 3  org culture and the environment (1)Ch 3  org culture and the environment (1)
Ch 3 org culture and the environment (1)Sajib
 
Ch 1 intro to management and org (1)
Ch 1  intro to management and org (1)Ch 1  intro to management and org (1)
Ch 1 intro to management and org (1)Sajib
 
Chapter -13_-_marketing_strategy
Chapter  -13_-_marketing_strategyChapter  -13_-_marketing_strategy
Chapter -13_-_marketing_strategySajib
 
Chapter -10_and_11_-_human_resource_management
Chapter  -10_and_11_-_human_resource_managementChapter  -10_and_11_-_human_resource_management
Chapter -10_and_11_-_human_resource_managementSajib
 
Chapter -8_-_organizing_the_business1.0
Chapter  -8_-_organizing_the_business1.0Chapter  -8_-_organizing_the_business1.0
Chapter -8_-_organizing_the_business1.0Sajib
 
Chapter -7-_fundamentals_of_management_part-ii
Chapter  -7-_fundamentals_of_management_part-iiChapter  -7-_fundamentals_of_management_part-ii
Chapter -7-_fundamentals_of_management_part-iiSajib
 
Chapter -7-_fundamentals_of_management_part-i
Chapter  -7-_fundamentals_of_management_part-iChapter  -7-_fundamentals_of_management_part-i
Chapter -7-_fundamentals_of_management_part-iSajib
 
Chapt 18, part 2
Chapt 18, part 2Chapt 18, part 2
Chapt 18, part 2Sajib
 
Chapt 18, intro to bus part 1
Chapt 18, intro to bus part 1Chapt 18, intro to bus part 1
Chapt 18, intro to bus part 1Sajib
 
Intro business chapter1_part2
Intro business chapter1_part2Intro business chapter1_part2
Intro business chapter1_part2Sajib
 
Intro business _chapter1part1
Intro business _chapter1part1Intro business _chapter1part1
Intro business _chapter1part1Sajib
 
Input output painted
Input output paintedInput output painted
Input output paintedSajib
 
Compsystem2
Compsystem2Compsystem2
Compsystem2Sajib
 
Compgenerations pented
Compgenerations pentedCompgenerations pented
Compgenerations pentedSajib
 
Compgenerations pented
Compgenerations pentedCompgenerations pented
Compgenerations pentedSajib
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowchartsSajib
 

Más de Sajib (20)

Social science lecture 1(part-2) ppt summer 2011
Social science lecture 1(part-2) ppt summer 2011Social science lecture 1(part-2) ppt summer 2011
Social science lecture 1(part-2) ppt summer 2011
 
Schaefer6e ppt ch03
Schaefer6e ppt ch03Schaefer6e ppt ch03
Schaefer6e ppt ch03
 
Copy of schaefer6e ppt ch01
Copy of schaefer6e ppt ch01Copy of schaefer6e ppt ch01
Copy of schaefer6e ppt ch01
 
Chapter 07
Chapter 07Chapter 07
Chapter 07
 
Ch 3 org culture and the environment (1)
Ch 3  org culture and the environment (1)Ch 3  org culture and the environment (1)
Ch 3 org culture and the environment (1)
 
Ch 1 intro to management and org (1)
Ch 1  intro to management and org (1)Ch 1  intro to management and org (1)
Ch 1 intro to management and org (1)
 
Chapter -13_-_marketing_strategy
Chapter  -13_-_marketing_strategyChapter  -13_-_marketing_strategy
Chapter -13_-_marketing_strategy
 
Chapter -10_and_11_-_human_resource_management
Chapter  -10_and_11_-_human_resource_managementChapter  -10_and_11_-_human_resource_management
Chapter -10_and_11_-_human_resource_management
 
Chapter -8_-_organizing_the_business1.0
Chapter  -8_-_organizing_the_business1.0Chapter  -8_-_organizing_the_business1.0
Chapter -8_-_organizing_the_business1.0
 
Chapter -7-_fundamentals_of_management_part-ii
Chapter  -7-_fundamentals_of_management_part-iiChapter  -7-_fundamentals_of_management_part-ii
Chapter -7-_fundamentals_of_management_part-ii
 
Chapter -7-_fundamentals_of_management_part-i
Chapter  -7-_fundamentals_of_management_part-iChapter  -7-_fundamentals_of_management_part-i
Chapter -7-_fundamentals_of_management_part-i
 
Chapt 18, part 2
Chapt 18, part 2Chapt 18, part 2
Chapt 18, part 2
 
Chapt 18, intro to bus part 1
Chapt 18, intro to bus part 1Chapt 18, intro to bus part 1
Chapt 18, intro to bus part 1
 
Intro business chapter1_part2
Intro business chapter1_part2Intro business chapter1_part2
Intro business chapter1_part2
 
Intro business _chapter1part1
Intro business _chapter1part1Intro business _chapter1part1
Intro business _chapter1part1
 
Input output painted
Input output paintedInput output painted
Input output painted
 
Compsystem2
Compsystem2Compsystem2
Compsystem2
 
Compgenerations pented
Compgenerations pentedCompgenerations pented
Compgenerations pented
 
Compgenerations pented
Compgenerations pentedCompgenerations pented
Compgenerations pented
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowcharts
 

Último

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Último (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

Number system

  • 1. TOPICS • • • • • Decimal Number Systems Binary number Systems Octal Hexadecimal Number conversion
  • 2. Decimal Number System • The word decimal is a derivative of decem, which is the Latin word for ten. • Numbers today are almost universally written in a form of notation known as positional number representation. • A number is represented as a string of digits.
  • 3. Decimal Number Systems • In a decimal number there are ten such digits that may be used, ranging in value from zero to nine • Decimal numbers are positional numbers that have a base or radix of ten. • Why ten ?
  • 4. Decimal Number Systems • Exactly ten distinct numerals in order to represent all possible values for each position in the number, and hence to enable us to represent all possible integer numbers in decimal notation. • 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 values • For example, a number like "0123456789" has ten positions and each position can contain the digits 0-9.
  • 5. Decimal Number Systems • Each digit position has a weight associated with it. • Each digit corresponds to a power of 10 based on its position in the number • Number’s value = a weighted sum of the digits
  • 6. Decimal Number Systems • Number’s value = a weighted sum of the digits • Number’ value = digit * 10x + digit * 10x where x = (position number - 1). It sounds complicated ?
  • 7. Decimal Number Systems • The powers of 10 increment from 0, 1, 2, etc. as you move right to left Hundreds Tens Units
  • 8. Decimal Number Systems • The BASE is 10 or Dec or simply D • BASE = 10 103=1000 102=100 10 =10 1 100=1 10 3 Power or Exponent Base 10
  • 9. Decimal Number Systems • Example 123410 = 1x 103 + 2x 102 + 3x101 +4x100 = 1000 + 200 = 123410 + 30 +4
  • 10. Decimal Number Systems • Example 9876D = 9x 103 + 8x 102 + 7x101 +6x100 = 9000 + 800 = 9876D + 70 +6
  • 11. Decimal Number Systems • Summary • In the decimal system, there are 10 digits (0 through 9) which combine to form numbers as follows: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 ...
  • 12. Binary Number Systems • The term computer numbering formats refers to the schemes implemented in digital computer and calculator hardware and software to represent numbers • Digital Computers and Calculator use a binary systems • Why binary?
  • 13. Binary Number Systems • Easy to represent binary values electrically • Voltages and currents. • Can be implemented using circuits • Create the building blocks of modern computers
  • 14. Binary Number Systems • Reliability • With only 2 values, can be widely separated, therefore clearly differentiated • Binary numbers are made of binary digits
  • 15. Binary Number Systems • Binary DigiTs (BITs) can be represented electronically: … 0 (no signal) … 1 (signal)
  • 16. Binary Number Systems Base is 2 or ‘b’ or ‘B’ or ‘Bin’ Two symbols: 0 and 1 Each place is weighted by the power of 2
  • 17. Binary Number Systems • All the information in the digital computer is represented as bit patterns • What is a bit pattern? This is one bit 01010101 This is called as the bit pattern
  • 18. Binary Number Systems • Look at this bit pattern 0101 0101 • How many bits are present ? • Count the number of ones and the zeros in the above pattern Answer = Total 8 bits
  • 19. Binary Number Systems 0101 0101 This pattern is represented as follows in the digital computer Bit7 0 Bit 6 1 Bit 5 0 Bit 4 1 Bit 3 0 Bit 2 1 Bit 1 0 Bit 0 1
  • 20. Binary Number Systems • A single bit can represent two states:0 1 • Therefore, if you take two bits, you can use them to represent four unique states: 00, 01, 10, & 11 • And, if you have three bits, then you can use them to represent eight unique states: 000, 001, 010, 011, 100, 101, 110, & 111
  • 21. Binary Number Systems •With every bit you add, you double the number of states you can represent. Therefore, the expression for the number of states with n bits is 2n. Most computers operate on information in groups of 8 bits,
  • 22. Binary Number Systems Bit7 0 Bit 6 1 Bit 5 0 Bit 4 Bit 3 1 0 Bit 2 1 Bit 1 0 Bit 0 1 • There are 8 bits in the above table • Group of 4 bits = 1 Nibble • Group of 8 bits = 1 Byte • Group of 16 bits = 1 Word 2 Bytes = 1 Word
  • 23. Binary Number Systems Bit7 0 Bit 6 1 Bit 5 0 Bit 4 1 Bit 3 0 Bit 2 1 Bit 1 Bit 0 0 • There are 8 bits in the above table • Bit 0 is called the Least Significant Bit LSB • Bit 1 is called the Most Significant Bit MSB 1
  • 24. Binary Number Systems Bit positions and their values Bit7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1
  • 25. Convert Decimal to Binary For Each Digit Position 1.Divide decimal number by the base (e.g. 2) 2. The remainder is the lowest-order digit 3. Repeat first two steps until no divisor remains.
  • 26. Convert Decimal to Binary Example: Convert Decimal 13 (13 10) to Binary : Repeated division by 2 (till quotient is zero) Divide-by -2 Quotient Remainder Binary Bits 13/2 6/2 3/2 1/2 6 3 1 0 1 0 1 1 Bit 0 = 1 Bit 1 = 0 Bit 3 = 1 Bit 4 = 1 Answer = 11012
  • 27. Convert Binary to Decimal Example: Convert 11012 Multiply each 1 bit by the appropriate power of 2 and add them together. 1 0 Bit 3 1 Bit 2 1 Bit 1 Bit 0
  • 28. Convert Binary to Decimal Example: Convert 11012 Bit7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1 1 1 0 1 Multiply with these values 8 x 1 + 4 x 1 + 2 x 0 + 1x 1 = 8 + 4 + 0 + 1 = 13
  • 29. Binary Number Systems Example: 10112 or 1011 B = 1 x 23 + 0 x 22 + 1 x 21 + 1 x 20 = 8 + 0 + 2 +1 = 1110
  • 30. Binary Number Systems Example: 101102 or 10110 B 1 x 24+0 x 23 + 1 x 22 + 1 x 21 + 0 x 20 = 16 + 0 + 4 +2+0 = 2210
  • 31. Other Number Systems • Octal and hex are a convenient way to represent binary numbers, as used by computers. • Computer mechanics often need to write out binary quantities, but in practice writing out a binary number such as
  • 32. Other Number Systems • 1001001101010001 is tedious, and prone to errors. • Therefore, binary quantities are written in a base-8 ("octal") or, much more commonly, a base-16 ("hexadecimal" or "hex") number format.
  • 33. Octal Number Systems • Base = 8 or ‘o’ or ‘Oct’ • 8 symbols: { 0, 1, 2, 3, 4, 5, 6, 7} • Example 123, 567, 7654 etc 987 This is incorrect why? • How to represent a Decimal Number using a Octal Number System ?
  • 34. Octal Number Systems • Repeated Division by 8 • Example 21310 = ( )8 ? Divide-by -8 Quotient Remainder Octal digit 213 / 8 26 / 8 3/8 26 3 0 5 2 3 Lower digit = 5 Second digit =2 Third digit =3 Answer = 3258
  • 35. Octal Number Systems • How to convert 3258 back to Decimal ? • Use this table and multiply the digits with the position values Digit 8 Digit 7 Digit 6 Digit 5 Digit 4 Digit 3 Digit 2 Digit 1 87 86 85 84 83 82 81 80 …… …… 32768 4096 512 64 8 1
  • 36. Octal Number Systems • How to convert 3258 back to Decimal ? • Consider the above number Digit 1 3 2 5 (8) Digit 3 Digit 2 3 x 82 + 2 x 81 + 5 x 80 = 3 x 64 + 2 x 8 + 5 x 1 = 192 +16 + 5 = 213
  • 37. Octal Number Systems • Example Convert 6118 • Consider the above number Digit 1 6 1 1 (8) Digit 3 Digit 2 6 x 82 + 1 x 81 + 1 x 80 = 6 x 64 + 1 x 8 + 1 x 1 = 384 + 8 + 1 = 393
  • 38. Octal Number Systems • Convert 393 to octal Divide-by -8 Quotient Remainder Octal digit 393 / 8 49 / 8 6/8 49 6 0 1 1 6 Lower digit = 1 Second digit =1 Third digit =6 Answer = 6118
  • 39. Hexadecimal Number Systems • Base = 16 or ‘H’ or ‘Hex’ 16 symbols: { 0, 1, 2, 3, 4, 5, 6, 7,8,9 } { 10=A, 11=B, 12=C, 13=D, 14=E, 15= F}
  • 40. Hexadecimal Number Systems • {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F} It uses 6 Letters ! • Example AB12, 876F, FFFF etc • How to represent a Decimal Number using a Hexadecimal Number System ?
  • 41. Hex Number Systems • Repeated Division by 16 • Example 21310 = ( )16 ? Divide-by -16 Quotient Remainder Hex digit 213 / 16 13 / 16 13 0 5 13 Lower digit = 5 Second digit =D Answer = D516
  • 42. Hex Number Systems • How to convert D516 back to Decimal ? • Use this table and multiply the digits with the position values Digit 8 Digit 7 Digit 6 Digit 5 Digit 4 Digit 3 Digit 2 Digit 1 167 166 165 164 163 162 161 160 …… …… ….. …… 4096 256 16 1
  • 43. Hex Number Systems • How to convert D516 back to Decimal ? • Consider the above number Digit 1 D 5 (16) Digit 2 D x 161 + 5 x 160 = 13 x 16 + 5 x 1 = 208 + 5 = 213
  • 44. End