0% found this document useful (0 votes)
115 views23 pages

Number System

The document discusses different number systems used in computers, including binary, octal, decimal, and hexadecimal. It provides details on what each system consists of (e.g. binary uses only 0 and 1) and provides examples. Conversion between number systems is also covered, with steps provided to convert a number from decimal to another base or vice versa. Conversions include decimal to binary, octal, and hexadecimal as well as binary, octal, and hexadecimal to decimal.

Uploaded by

Deepa Pachhai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
115 views23 pages

Number System

The document discusses different number systems used in computers, including binary, octal, decimal, and hexadecimal. It provides details on what each system consists of (e.g. binary uses only 0 and 1) and provides examples. Conversion between number systems is also covered, with steps provided to convert a number from decimal to another base or vice versa. Conversions include decimal to binary, octal, and hexadecimal as well as binary, octal, and hexadecimal to decimal.

Uploaded by

Deepa Pachhai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 23

Number System

&
Their Conversion
What are the number systems 
in Computer?

• Number systems is the set of symbols used to express quantities as the basis for counting
,determining order, comparing amounts, performing calculations and representation of values.
• Computer number systems are the technique to represent numbers in the computer system
architecture, every value that you are saving or getting into/from computer memory has a
defined number system.
Computer architecture supports following number systems.
• Binary number system
• Octal number system
• Decimal number system
• Hexadecimal (hex) number system
1) Binary Number System

• Has only two digits that are 0 and 1


• Every number (value) represents with 0 and 1
• The base of binary number system is 2
• Examples :
(101011)2
(111)2
2) Octal Number System

• Has only eight (8) digits from 0 to 7


• Every number (value) represents with 0,1,2,3,4,5,6
and 7
• The base of octal number system is 8
• Examples:
(56)8
(777)8
3) Decimal Number System

• Has only ten (10) digits from 0 to 9


• Every number (value) represents with 0,1,2,3,4,5,6,
7,8 and 9
• The base of decimal number system is 10
• Examples:
(980)10
(110)10
4) Hexadecimal Number
System

• Has sixteen (16) alphanumeric values from 0 to 9 and A to F


• Every number (value) represents with 0,1,2,3,4,5,6,
7,8,9,A,B,C,D,E and F
• The base of hexadecimal number system is 16
• Here A is 10, B is 11, C is 12, D is 13, E is 14 and F is 15.
• Examples:
(CAD)16
(45)
REVIEW
Number System
Conversions

There are three types of conversion:


•Decimal Number System to Other Base
for example: ( )10 ( )?
•Other Base to Decimal Number System
for example: ( )?  ( )10
•Other Base to Other Base
for example: ( )?( )?
Decimal Number System
To Other Base

• To convert Number system from Decimal Number System to Any


Other Base ( )10 ( )?
• Follow just two steps:
A) Divide the Number (Decimal Number) by the base of target base
system (in which you want to convert the number: Binary (2), octal (8)
and Hexadecimal (16)).
B) Write the remainder from down to top .
Decimal Number System
To Binary
Question:
(21)10 ( )2
Decimal Number System
To Octal
Question:
(452)10 ( )8
Decimal Number System
To Hexadecimal
Question:
(952)10 ( )16
Other Base System to
Decimal Number Base

• To convert Number System from Any Other Base System to Decimal


Number System ( )?  ( )10
• Follow just three steps:
A) Determine the base value of source Number System (that you want
to convert), and also determine the position of digits from LSB (first
digit’s position – 0, second digit’s position – 1 and so on).
B) Multiply each digit with its corresponding multiplication of position
value and Base of Source Number System’s Base.
C) Add the resulted value in step-B.
Binary to Decimal Number Base
Explanation regarding examples:
Below given examples contains the following rows:
A) Row 1 contains the DIGITs of number (that is going to be converted).
B) Row 2 contains the POSITION of each digit in the number system.
C) Row 3 contains the multiplication: DIGIT* BASE^POSITION.
D) Row 4 contains the calculated result of step C.
E) And then add each value of step D, resulted value is the Decimal
Number.
Question:
(1010)2 ( )10
Octal to Decimal Number Base
Question:
(625)8 ( )10
Hexadecimal to Decimal
Number Base
Question:
(B3E)16 ( )10

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy