SlideShare a Scribd company logo
1 of 19
Logic Building Techniques
and Practices
Number System
Hello!
Convert the binary number 1011012 to a decimal number
Binary to Decimal Conversion Using Positional Notation Method 1:
the rightmost digit is called the 'Least Significant Bit' (LSB)
the left-most digit is called the 'Most Significant Bit' (MSB)
For a binary number with 'n' digits, the least significant bit has a weight of 20 and the most
significant bit has a weight of 2n-1.
express the binary number as a
decimal number: 1011012 = (45)10
Binary to Decimal Conversion Using Doubling Method 2
The process of doubling or multiplying by 2.
Step1: in 1011012, the left-most digit is '1'. The double of the previous number is 0. Therefore,
we get ((0 Γ— 2) + 1) which is 1.
Step 2: Continue the same process for the next digit also. The second digit from the left is 0.
Now, double the previous digit and add it with the current digit. Therefore, we get, [(1 Γ— 2) + 0],
which is 2
the binary number 1011012 to a decimal using
the doubling method is 4510
Practice
110010112 = 20310
101011012= 17310
10112 = 1110
101012 = 2110
1110012 = 5710
11001011012
= 81310
10110101112 = 72710
10000000011002
= 410810
10010100012 = 59310
Consectetur nec labore Adipiscingelit sed Sed eiusmod
How to Convert Decimal to Binary?
● Step 1: Divide the given decimal number by 2 and note down the remainder.
● Step 2: Now, divide the obtained quotient by 2, and note the remainder again.
● Step 3: Repeat the above steps until you get 0 as the quotient.
● Step 4: Now, write the remainders in such a way that the last remainder is written
first, followed by the rest in the reverse order.
● Step 5: This can also be understood in another way which states that the Least
Significant Bit (LSB) of the binary number is at the top and the Most Significant Bit
(MSB) is at the bottom. This number is the binary value of the given decimal
number.
Convert the decimal number 1310 to binary
16010 = 101000002
1710 = 100012
34 10 = 1000102
244₁₀ =11110100β‚‚
145₁₀ = 10010001β‚‚
112₁₀ = 1110000β‚‚
(8023)10 = (1111101010111) 2
28510 =(100011101)2
Convert Hexadecimal to Decimal
The hexadecimal system (shortly hex), uses the number 16 as its base
(radix).
● Obtain the decimal equivalent of hexadecimal from the conversion table.
(table mentioned above)
● Multiply each digit with the power of 16 starting at 0 from the right.
● Add all the numbers together.
Convert 7CF (hex) to decimal.
In hexadecimal system,
7 = 7
C = 12
F = 15
7CF = (7 Γ— 162) + (12 Γ— 161) + (15 Γ— 160)
= (7 Γ— 256) + (12 Γ— 16) + (15 Γ— 1)
= 1792 + 192 + 15
= 1999
(1DA6)16 = (7590)10
(E8B)16 = (3723)10
(7CA)16 = (1994)10
(80E1)16
=3299310
14516 = (325)10
(10CE)16 = (4302)10
(5BC)16 = (1468)10
(1D9)16 = (473)10
Hexadecimal to Octal Conversion
● Conversion of hexadecimal to octal cannot be done directly.
● Firstly we need to convert hexadecimal into its equivalent decimal number then
decimal to octal.
Find the equivalent octal form of C116.
C116 = (C Γ— 161) + (1 Γ— 160)
= C Γ— 16 + 1 Γ— 1
=12 Γ— 16 + 1
= 192 + 1
C116 =193 (Decimal form) Hence, C116 = 3018
Method 2
● For each given hexadecimal number digit, write the equivalent binary
number. If any of the binary equivalents are less than 4 digits, add 0’s
to the left side.
● Combine and make the groups of binary digits from right to left, each
containing 3 digits. Add 0’s to the left if there are less than 3 digits in
the last group.
● Find the octal equivalent of each binary group.
Convert 1BC16 into an octal number.
1 β†’ 0001, B β†’ 1011, C β†’1100
Now group them from right to left, each having 3 digits.
000, 110, 111, 100
000β†’0, 110 β†’6, 111β†’7, 100β†’4
1BC16 = 6748
(F)16 = (17)8
(105)16 = (405)8
(7CA)16 = (1994)8
(6C)16
=1548
3EC16 = (1354)8
(2CD)16 = (13158)10
(5BC)16 = (1468)8
(1D9)16 = (473)8
(1056)16 to ( ? )8 10126
(2020)10 β†’ (?)16 (7E4)16
(172)10 β†’ ( ? )16
(AC)16
(1032)10 β†’ (?)8
(2010)8
Thank you.

More Related Content

What's hot

Computer registers
Computer registersComputer registers
Computer registersDeepikaT13
Β 
Computer organization
Computer organizationComputer organization
Computer organizationishapadhy
Β 
BASIC COMPUTER ORGANIZATION AND DESIGN
BASIC  COMPUTER  ORGANIZATION  AND  DESIGNBASIC  COMPUTER  ORGANIZATION  AND  DESIGN
BASIC COMPUTER ORGANIZATION AND DESIGNDr. Ajay Kumar Singh
Β 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer ArchitectureSyed Zaid Irshad
Β 
Typical configuration of computer chapter 1
Typical configuration of computer chapter 1 Typical configuration of computer chapter 1
Typical configuration of computer chapter 1 Gopi Nath
Β 
Hardware assignment
Hardware assignmentHardware assignment
Hardware assignmentabuloth
Β 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann ArchitectureJawad Farooqi
Β 
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code? Mukesh Tekwani
Β 
Memory Mapping Cache
Memory Mapping CacheMemory Mapping Cache
Memory Mapping CacheSajith Harshana
Β 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture Suvendu Kumar Dash
Β 
Computer system
Computer systemComputer system
Computer systemfardinahmed8
Β 
Computer instruction
Computer instructionComputer instruction
Computer instructionSanjeev Patel
Β 
Instruction set and instruction execution cycle
Instruction set and instruction execution cycleInstruction set and instruction execution cycle
Instruction set and instruction execution cycleMkaur01
Β 
Basic computer organization
Basic computer organizationBasic computer organization
Basic computer organizationNitesh Singh
Β 
Instruction Execution Cycle
Instruction Execution CycleInstruction Execution Cycle
Instruction Execution Cycleutsav_shah
Β 

What's hot (20)

Computer registers
Computer registersComputer registers
Computer registers
Β 
Computer organization
Computer organizationComputer organization
Computer organization
Β 
BASIC COMPUTER ORGANIZATION AND DESIGN
BASIC  COMPUTER  ORGANIZATION  AND  DESIGNBASIC  COMPUTER  ORGANIZATION  AND  DESIGN
BASIC COMPUTER ORGANIZATION AND DESIGN
Β 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
Β 
Addressing modes
Addressing modesAddressing modes
Addressing modes
Β 
Typical configuration of computer chapter 1
Typical configuration of computer chapter 1 Typical configuration of computer chapter 1
Typical configuration of computer chapter 1
Β 
Hardware assignment
Hardware assignmentHardware assignment
Hardware assignment
Β 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
Β 
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code?
Β 
Memory Mapping Cache
Memory Mapping CacheMemory Mapping Cache
Memory Mapping Cache
Β 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
Β 
Computer system
Computer systemComputer system
Computer system
Β 
Computer instruction
Computer instructionComputer instruction
Computer instruction
Β 
Instruction set and instruction execution cycle
Instruction set and instruction execution cycleInstruction set and instruction execution cycle
Instruction set and instruction execution cycle
Β 
Computer architecture
Computer architecture Computer architecture
Computer architecture
Β 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
Β 
Memory units
Memory unitsMemory units
Memory units
Β 
Basic computer organization
Basic computer organizationBasic computer organization
Basic computer organization
Β 
Subroutine
SubroutineSubroutine
Subroutine
Β 
Instruction Execution Cycle
Instruction Execution CycleInstruction Execution Cycle
Instruction Execution Cycle
Β 

Similar to Number System.pptx

Data representation in computers
Data representation in computersData representation in computers
Data representation in computersProf. Dr. K. Adisesha
Β 
Data Representation
Data RepresentationData Representation
Data RepresentationEducation Front
Β 
Data Representation
Data RepresentationData Representation
Data RepresentationEducation Front
Β 
Number System and Conversions.pptx
Number System and Conversions.pptxNumber System and Conversions.pptx
Number System and Conversions.pptxkhalidkk6
Β 
B sc3 unit 2 number system
B sc3  unit 2 number systemB sc3  unit 2 number system
B sc3 unit 2 number systemMahiboobAliMulla
Β 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxMamataAnilgod
Β 
Number system
Number systemNumber system
Number systemMantra VLSI
Β 
Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Jumaed
Β 
Introduction to number system
Introduction to number systemIntroduction to number system
Introduction to number systemAswiniT3
Β 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental Aman anand kumar
Β 
B sc ii sem unit 2(a) ns
B sc ii sem  unit 2(a) nsB sc ii sem  unit 2(a) ns
B sc ii sem unit 2(a) nsMahiboobAliMulla
Β 
Chapter two FHI.pptx
Chapter two FHI.pptxChapter two FHI.pptx
Chapter two FHI.pptxODAATUBE1
Β 
B sc cs i bo-de u-i number system
B sc cs i bo-de u-i number systemB sc cs i bo-de u-i number system
B sc cs i bo-de u-i number systemRai University
Β 
micro tut1.pptx
micro tut1.pptxmicro tut1.pptx
micro tut1.pptxsdwqt4tg
Β 
Binary octal
Binary octalBinary octal
Binary octaldrdipo4
Β 
Number system
Number systemNumber system
Number systemBikash Kumar
Β 

Similar to Number System.pptx (20)

Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
Β 
Data Representation
Data RepresentationData Representation
Data Representation
Β 
Number system
Number systemNumber system
Number system
Β 
Data Representation
Data RepresentationData Representation
Data Representation
Β 
Number Systems
Number SystemsNumber Systems
Number Systems
Β 
Number System and Conversions.pptx
Number System and Conversions.pptxNumber System and Conversions.pptx
Number System and Conversions.pptx
Β 
B sc3 unit 2 number system
B sc3  unit 2 number systemB sc3  unit 2 number system
B sc3 unit 2 number system
Β 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
Β 
Number system
Number systemNumber system
Number system
Β 
Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]
Β 
Introduction to number system
Introduction to number systemIntroduction to number system
Introduction to number system
Β 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
Β 
B sc ii sem unit 2(a) ns
B sc ii sem  unit 2(a) nsB sc ii sem  unit 2(a) ns
B sc ii sem unit 2(a) ns
Β 
Chapter two FHI.pptx
Chapter two FHI.pptxChapter two FHI.pptx
Chapter two FHI.pptx
Β 
B sc cs i bo-de u-i number system
B sc cs i bo-de u-i number systemB sc cs i bo-de u-i number system
B sc cs i bo-de u-i number system
Β 
micro tut1.pptx
micro tut1.pptxmicro tut1.pptx
micro tut1.pptx
Β 
Number system
Number systemNumber system
Number system
Β 
Binary octal
Binary octalBinary octal
Binary octal
Β 
Number system
Number systemNumber system
Number system
Β 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
Β 

More from Shehrevar Davierwala

Build Virtual Assistant Using AI
Build Virtual Assistant Using AI Build Virtual Assistant Using AI
Build Virtual Assistant Using AI Shehrevar Davierwala
Β 
Build brand reputation using facebook
Build brand reputation using facebookBuild brand reputation using facebook
Build brand reputation using facebookShehrevar Davierwala
Β 
Learn Digital Marketing : 0 to Hero Day 1
Learn Digital Marketing :  0 to Hero Day 1 Learn Digital Marketing :  0 to Hero Day 1
Learn Digital Marketing : 0 to Hero Day 1 Shehrevar Davierwala
Β 
Digital Marketing for Sustainable Business - Afghan Perspective
Digital Marketing for Sustainable Business - Afghan Perspective  Digital Marketing for Sustainable Business - Afghan Perspective
Digital Marketing for Sustainable Business - Afghan Perspective Shehrevar Davierwala
Β 
Developing stunning website in clicks - 2
Developing stunning website in clicks - 2Developing stunning website in clicks - 2
Developing stunning website in clicks - 2Shehrevar Davierwala
Β 
Developing stunning website in clicks
Developing stunning website in clicksDeveloping stunning website in clicks
Developing stunning website in clicksShehrevar Davierwala
Β 
Google forms for data analysis
Google forms for data analysisGoogle forms for data analysis
Google forms for data analysisShehrevar Davierwala
Β 

More from Shehrevar Davierwala (20)

Introduction_Swift
Introduction_SwiftIntroduction_Swift
Introduction_Swift
Β 
Java Script (Module 1).pptx
Java Script (Module 1).pptxJava Script (Module 1).pptx
Java Script (Module 1).pptx
Β 
Website in Clicks Day 2
Website in Clicks Day 2Website in Clicks Day 2
Website in Clicks Day 2
Β 
Develop Website in Clicks
Develop Website in ClicksDevelop Website in Clicks
Develop Website in Clicks
Β 
Build Virtual Assistant Using AI
Build Virtual Assistant Using AI Build Virtual Assistant Using AI
Build Virtual Assistant Using AI
Β 
Build brand reputation using facebook
Build brand reputation using facebookBuild brand reputation using facebook
Build brand reputation using facebook
Β 
Digital Marketing Session 2
Digital Marketing Session 2Digital Marketing Session 2
Digital Marketing Session 2
Β 
Learn Digital Marketing : 0 to Hero Day 1
Learn Digital Marketing :  0 to Hero Day 1 Learn Digital Marketing :  0 to Hero Day 1
Learn Digital Marketing : 0 to Hero Day 1
Β 
Standard template
Standard templateStandard template
Standard template
Β 
Digital Marketing for Sustainable Business - Afghan Perspective
Digital Marketing for Sustainable Business - Afghan Perspective  Digital Marketing for Sustainable Business - Afghan Perspective
Digital Marketing for Sustainable Business - Afghan Perspective
Β 
Developing stunning website in clicks - 2
Developing stunning website in clicks - 2Developing stunning website in clicks - 2
Developing stunning website in clicks - 2
Β 
Developing stunning website in clicks
Developing stunning website in clicksDeveloping stunning website in clicks
Developing stunning website in clicks
Β 
Google forms for data analysis
Google forms for data analysisGoogle forms for data analysis
Google forms for data analysis
Β 
Webdesign session1
Webdesign session1Webdesign session1
Webdesign session1
Β 
Tech talk webtech
Tech talk webtechTech talk webtech
Tech talk webtech
Β 
Tech talk php_cms
Tech talk php_cmsTech talk php_cms
Tech talk php_cms
Β 
Ph pbasics
Ph pbasicsPh pbasics
Ph pbasics
Β 
Php mysql
Php mysqlPhp mysql
Php mysql
Β 
Java operators
Java operatorsJava operators
Java operators
Β 
Basic
BasicBasic
Basic
Β 

Recently uploaded

ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
Β 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
Β 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
Β 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
Β 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
Β 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
Β 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
Β 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
Β 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
Β 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
Β 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
Β 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
Β 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
Β 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
Β 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
Β 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
Β 

Recently uploaded (20)

ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
Β 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
Β 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
Β 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
Β 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
Β 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
Β 
Model Call Girl in Bikash Puri Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Bikash Puri  Delhi reach out to us at πŸ”9953056974πŸ”Model Call Girl in Bikash Puri  Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Bikash Puri Delhi reach out to us at πŸ”9953056974πŸ”
Β 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Β 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
Β 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
Β 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
Β 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
Β 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
Β 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
Β 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
Β 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
Β 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
Β 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
Β 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
Β 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
Β 

Number System.pptx

  • 1. Logic Building Techniques and Practices Number System
  • 3. Convert the binary number 1011012 to a decimal number Binary to Decimal Conversion Using Positional Notation Method 1: the rightmost digit is called the 'Least Significant Bit' (LSB) the left-most digit is called the 'Most Significant Bit' (MSB) For a binary number with 'n' digits, the least significant bit has a weight of 20 and the most significant bit has a weight of 2n-1.
  • 4. express the binary number as a decimal number: 1011012 = (45)10
  • 5. Binary to Decimal Conversion Using Doubling Method 2 The process of doubling or multiplying by 2. Step1: in 1011012, the left-most digit is '1'. The double of the previous number is 0. Therefore, we get ((0 Γ— 2) + 1) which is 1. Step 2: Continue the same process for the next digit also. The second digit from the left is 0. Now, double the previous digit and add it with the current digit. Therefore, we get, [(1 Γ— 2) + 0], which is 2
  • 6. the binary number 1011012 to a decimal using the doubling method is 4510
  • 7. Practice 110010112 = 20310 101011012= 17310 10112 = 1110 101012 = 2110 1110012 = 5710 11001011012 = 81310 10110101112 = 72710 10000000011002 = 410810 10010100012 = 59310
  • 8. Consectetur nec labore Adipiscingelit sed Sed eiusmod How to Convert Decimal to Binary? ● Step 1: Divide the given decimal number by 2 and note down the remainder. ● Step 2: Now, divide the obtained quotient by 2, and note the remainder again. ● Step 3: Repeat the above steps until you get 0 as the quotient. ● Step 4: Now, write the remainders in such a way that the last remainder is written first, followed by the rest in the reverse order. ● Step 5: This can also be understood in another way which states that the Least Significant Bit (LSB) of the binary number is at the top and the Most Significant Bit (MSB) is at the bottom. This number is the binary value of the given decimal number.
  • 9. Convert the decimal number 1310 to binary
  • 10. 16010 = 101000002 1710 = 100012 34 10 = 1000102 244₁₀ =11110100β‚‚ 145₁₀ = 10010001β‚‚ 112₁₀ = 1110000β‚‚ (8023)10 = (1111101010111) 2 28510 =(100011101)2
  • 11. Convert Hexadecimal to Decimal The hexadecimal system (shortly hex), uses the number 16 as its base (radix). ● Obtain the decimal equivalent of hexadecimal from the conversion table. (table mentioned above) ● Multiply each digit with the power of 16 starting at 0 from the right. ● Add all the numbers together.
  • 12. Convert 7CF (hex) to decimal. In hexadecimal system, 7 = 7 C = 12 F = 15 7CF = (7 Γ— 162) + (12 Γ— 161) + (15 Γ— 160) = (7 Γ— 256) + (12 Γ— 16) + (15 Γ— 1) = 1792 + 192 + 15 = 1999
  • 13. (1DA6)16 = (7590)10 (E8B)16 = (3723)10 (7CA)16 = (1994)10 (80E1)16 =3299310 14516 = (325)10 (10CE)16 = (4302)10 (5BC)16 = (1468)10 (1D9)16 = (473)10
  • 14. Hexadecimal to Octal Conversion ● Conversion of hexadecimal to octal cannot be done directly. ● Firstly we need to convert hexadecimal into its equivalent decimal number then decimal to octal. Find the equivalent octal form of C116. C116 = (C Γ— 161) + (1 Γ— 160) = C Γ— 16 + 1 Γ— 1 =12 Γ— 16 + 1 = 192 + 1 C116 =193 (Decimal form) Hence, C116 = 3018
  • 15. Method 2 ● For each given hexadecimal number digit, write the equivalent binary number. If any of the binary equivalents are less than 4 digits, add 0’s to the left side. ● Combine and make the groups of binary digits from right to left, each containing 3 digits. Add 0’s to the left if there are less than 3 digits in the last group. ● Find the octal equivalent of each binary group.
  • 16. Convert 1BC16 into an octal number. 1 β†’ 0001, B β†’ 1011, C β†’1100 Now group them from right to left, each having 3 digits. 000, 110, 111, 100 000β†’0, 110 β†’6, 111β†’7, 100β†’4 1BC16 = 6748
  • 17. (F)16 = (17)8 (105)16 = (405)8 (7CA)16 = (1994)8 (6C)16 =1548 3EC16 = (1354)8 (2CD)16 = (13158)10 (5BC)16 = (1468)8 (1D9)16 = (473)8
  • 18. (1056)16 to ( ? )8 10126 (2020)10 β†’ (?)16 (7E4)16 (172)10 β†’ ( ? )16 (AC)16 (1032)10 β†’ (?)8 (2010)8