SlideShare a Scribd company logo
Number Systems in Computer
Science
Binary, Decimal, and Hexadecimal
Systems with Conversions
Introduction to Number Systems
• Number systems are essential in computer
science.
• They are used to represent and process data
in digital form.
• The most commonly used number systems
are:
• - Binary System
• - Decimal System
• - Hexadecimal System
Binary System
• • Uses only two digits: 0 and 1
• • Base-2 number system
• • Native language of computers
• • 1 represents ON state; 0 represents OFF
state
• • Example: 1010 (binary)
Decimal System
• • Uses ten digits: 0 to 9
• • Base-10 number system
• • Most common number system used by
humans
• • Example: 245 (decimal)
Hexadecimal System
• • Uses sixteen digits: 0–9 and A–F
• • Base-16 number system
• • Often used in programming and computer
memory addressing
• • Example: 1A3F (hexadecimal)
Binary to Decimal Conversion
• To convert binary to decimal:
• • Multiply each bit by 2 raised to the power of
its position (right to left, starting from 0)
• • Sum all the results
• Example:
• Binary: 1011
• = 1×2³ + 0×2² + 1×2¹ + 1×2⁰
• = 8 + 0 + 2 + 1 = 11 (decimal)
Decimal to Binary Conversion
• To convert decimal to binary:
• • Divide the number by 2 repeatedly
• • Write down the remainders
• • Read the remainders in reverse order
• Example:
• Decimal: 13
• 13 ÷ 2 = 6 remainder 1
• 6 ÷ 2 = 3 remainder 0
• 3 ÷ 2 = 1 remainder 1

More Related Content

PPTX
Number_System_Presentation_Diagrams.pptx
DrParasKothariPhD
 
PPTX
Digital_Numbers_System_Presentation.pptx
DrParasKothariPhD
 
PPTX
Week 4-Number Systems.pptx
HamnaKhalid25
 
DOCX
HexaDecimal-Number-Syatem-Use.-from-computer-science-subject-code-2210.docx
Orin18
 
PDF
Numbering system data representation
satonaka3
 
PPTX
Decimal, Binary, Octal, And Hexadecimal number systems.
AOUN ABBAS
 
PPTX
Binary computing
samina khan
 
PPTX
Number-Systems presentation of the mathematics
shivas379526
 
Number_System_Presentation_Diagrams.pptx
DrParasKothariPhD
 
Digital_Numbers_System_Presentation.pptx
DrParasKothariPhD
 
Week 4-Number Systems.pptx
HamnaKhalid25
 
HexaDecimal-Number-Syatem-Use.-from-computer-science-subject-code-2210.docx
Orin18
 
Numbering system data representation
satonaka3
 
Decimal, Binary, Octal, And Hexadecimal number systems.
AOUN ABBAS
 
Binary computing
samina khan
 
Number-Systems presentation of the mathematics
shivas379526
 

Similar to Number_Systems_Presentation systems conversions (20)

PPTX
Digital logic -Number System Representation.pptx
ssuserf8309e1
 
PPTX
Number System
Zahid Rajeel
 
PPTX
digital-electronics lecture Ch 1and 2 -1.pptx
abelllll
 
PPT
Number system
Sajib
 
PDF
DLD-unit-1(2022).pdf
Dr ambedkar Institute of Technology
 
PPT
12117188.ppt
Harshal Vaidya
 
PDF
Numbering System Base Conversion
The University of Lahore
 
PPT
12117188.ppt
Harshal Vaidya
 
PPSX
Ic lecture4
AttaullahRahimoon
 
PDF
Lecture-2(2): Number System & Conversion
Mubashir Ali
 
PPTX
Number Systems
Gaditek
 
PPTX
Number System ..........................
anjuj3511
 
PPTX
clas 12th cbse board numbernumber system.pptx
nishisultaniasy
 
PPTX
DIGITAL INFORMATIONS AND NUMBERS SYSTEMS
efreimchristianGenso1
 
PPTX
Number System.pptx
optimuspc05
 
PPTX
Number systems
ponandannel
 
PPTX
ict7week3-240817091910-4b654e21 (1).pptx
JudithAlmendral1
 
PPTX
ICT 7 WEEK 3.pptx matatag curriculum educational technology
NathalieCalanno1
 
PPTX
Ch-06 (Comp) - Number System.pptx important
hamzamalhi747
 
PPTX
Computer number system, conversion and identification
RALPHRUDGENBATOON
 
Digital logic -Number System Representation.pptx
ssuserf8309e1
 
Number System
Zahid Rajeel
 
digital-electronics lecture Ch 1and 2 -1.pptx
abelllll
 
Number system
Sajib
 
12117188.ppt
Harshal Vaidya
 
Numbering System Base Conversion
The University of Lahore
 
12117188.ppt
Harshal Vaidya
 
Ic lecture4
AttaullahRahimoon
 
Lecture-2(2): Number System & Conversion
Mubashir Ali
 
Number Systems
Gaditek
 
Number System ..........................
anjuj3511
 
clas 12th cbse board numbernumber system.pptx
nishisultaniasy
 
DIGITAL INFORMATIONS AND NUMBERS SYSTEMS
efreimchristianGenso1
 
Number System.pptx
optimuspc05
 
Number systems
ponandannel
 
ict7week3-240817091910-4b654e21 (1).pptx
JudithAlmendral1
 
ICT 7 WEEK 3.pptx matatag curriculum educational technology
NathalieCalanno1
 
Ch-06 (Comp) - Number System.pptx important
hamzamalhi747
 
Computer number system, conversion and identification
RALPHRUDGENBATOON
 
Ad

Recently uploaded (20)

PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PDF
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PDF
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PPTX
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
PDF
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
PDF
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
PPTX
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
Protecting the Digital World Cyber Securit
dnthakkar16
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
Activate_Methodology_Summary presentatio
annapureddyn
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
Ad

Number_Systems_Presentation systems conversions

  • 1. Number Systems in Computer Science Binary, Decimal, and Hexadecimal Systems with Conversions
  • 2. Introduction to Number Systems • Number systems are essential in computer science. • They are used to represent and process data in digital form. • The most commonly used number systems are: • - Binary System • - Decimal System • - Hexadecimal System
  • 3. Binary System • • Uses only two digits: 0 and 1 • • Base-2 number system • • Native language of computers • • 1 represents ON state; 0 represents OFF state • • Example: 1010 (binary)
  • 4. Decimal System • • Uses ten digits: 0 to 9 • • Base-10 number system • • Most common number system used by humans • • Example: 245 (decimal)
  • 5. Hexadecimal System • • Uses sixteen digits: 0–9 and A–F • • Base-16 number system • • Often used in programming and computer memory addressing • • Example: 1A3F (hexadecimal)
  • 6. Binary to Decimal Conversion • To convert binary to decimal: • • Multiply each bit by 2 raised to the power of its position (right to left, starting from 0) • • Sum all the results • Example: • Binary: 1011 • = 1×2³ + 0×2² + 1×2¹ + 1×2⁰ • = 8 + 0 + 2 + 1 = 11 (decimal)
  • 7. Decimal to Binary Conversion • To convert decimal to binary: • • Divide the number by 2 repeatedly • • Write down the remainders • • Read the remainders in reverse order • Example: • Decimal: 13 • 13 ÷ 2 = 6 remainder 1 • 6 ÷ 2 = 3 remainder 0 • 3 ÷ 2 = 1 remainder 1