Topic-Number System

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

CFA Presentation on

Topic-Number System
HEXADECIMAL AND OCTAL NUMBER SYSTEM
Topic to be studied

 What are number system?


 Types of number system
 Decimal number system
 Hexadecimal number system
 Conversion of hexadecimal number into decimal number
 Octal number system
 Conversion of octal number into decimal number
What are Number Systems?

 Number systems are the technique to


represent numbers in computer system
architecture,every value that you are
saving into or getting from computer
member has a defined number system.
 There are four type of number system
Types of Number System
Decimal Number System

 Thenumber system
that we use in our
day-to-day life is the
decimal number
system. Decimal
number system has
base 10 as it uses
10 digits from 0 to
9.
Hexadecimal Number System

Characteristics of hexadecimal number system are as follows −


 Uses 10 digits and 6 letters, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
 Letters represent the numbers starting from 10. A = 10. B = 11, C = 12,
D = 13, E = 14, F = 15
 Also called as base 16 number system
 Each position in a hexadecimal number represents a 0 power of the
base (16). Example, 160
 Last position in a hexadecimal number represents a x power of the
base (16). Example 16x where x represents the last position - 1
Hexadecimal Number into Decimal
Number

 Hexadecimal Number:19FDE16
Calculating Decimal Equivalent −

Step Hexadecimal Number Decimal Number


Step1 19FDE16 ((1 x 164) + (9 x 163) + (F x 162) + (D x 161) + (E x
160))10
Step2 19FDE16 ((1 x 164) + (9 x 163) + (15 x 162) + (13 x 161) + (14 x
160))10
Step3 19FDE16 (65536+ 36864 + 3840 + 208 + 14)10
Step4 19FDE16 10646210
Octal Number System

Characteristics of the octal number system are as follows −


 Uses eight digits, 0,1,2,3,4,5,6,7
 Also called as base 8 number system
 Each position in an octal number represents a 0 power of the base (8).
Example 80
 Last position in an octal number represents a x power of the base (8).
Example 8x where x represents the last position - 1
Octal number into decimal number

 Octal Number: 125708


Calculating Decimal Equivalent −

Step Octal Number Decimal Number


Step1 125708 ((1 x 84) + (2 x 83) + (5 x 82) + (7 x 81) + (0 x 80))10
Step 2 125708 (4096 + 1024 + 320 + 56 + 0)10
Step3 125708 549610
Submitted by:
561 Mehak Goyal

You
a n k
Th

You might also like