SlideShare a Scribd company logo
2
Most read
3
Most read
13
Most read
Digital Logic Design
PROF. SHEHZAD ALI
Overview
Number system
Binary Numbers
Boolean Algebra
Switching Algebra
Logic Gates
Boolean Function
Number System
A decimal number such as 7392 represents a quantity equal to 7 thousands plus 3 hundreds,
plus 9 tens, plus 2 units. The thousands, hundreds, etc. are powers of 10 implied
by the position of the coefficients. To be more exact, 7392 should be written as
7 x 103 + 3 x 102 + 9 x 10' + 2 x 10°
In general, a number expressed in base-r system has coefficients multiplied by powers
of r:
Number System
Number System
Digital logic design lecture 2
Binary Systems (Binary Arithmetic)
NUMBER BASE CONVERSIONS
A binary number can be converted to decimal by forming the sum of the powers of 2
of those coefficients whose value is 1. For example
Similarly, a number expressed in base r can be converted to its decimal equivalent by multiplying
each coefficient with the corresponding power of r and adding. The following is an example of
octal-to-decimal conversion:
NUMBER BASE CONVERSIONS
Decimal to other Number System
To convert a decimal number(base 10) into any base r , divide that number with base r and write
the remainder value from bottom to top.
Conversions
Fractional decimal number to binary
4065171011
OCTAL AND HEXADECIMAL NUMBERS
The conversion from and to binary, octal, and hexadecimal plays an important part in digital
computers. Since 2^3 = 8 and 2^4 = 16, each octal digit corresponds to three binary digits and
each hexadecimal digit corresponds to four binary digits. The conversion from binary to octal is
easily accomplished by partitioning the binary number into groups of three digits each, starting
from the binary point and proceeding to the left and to the right. The corresponding octal digit is
then assigned to each group. The following example illustrates the procedure:
OCTAL AND HEXADECIMAL NUMBERS
Conversion from octal or hexadecimal to binary is done by a procedure reverse to the above.
Each octal digit is converted to its three-digit binary equivalent. Similarly, each hexadecimal digit
is converted to its four-digit binary equivalent. This is illustrated in the following examples:
Boolean Algebra OR Switching Algebra
In 1854 George Boole introduced a systematic treatment of logic and developed for this
purpose an algebraic system now called Boolean algebra.
The Boolean algebra we present is an algebra dealing with binary variables and logic
operations.
In 1938 C. E. Shannon introduced a two-valued Boolean algebra called switching algebra, in
which he demonstrated that the properties of bi-stable electrical switching circuits can be
represented by this algebra.
For the formal definition of Boolean algebra, we shall employ the postulates formulated by E. V.
Huntington in 1904.
Boolean Algebra OR Switching Algebra
A Boolean expression is an algebraic expression formed by using binary variables, the constants
0 and 1, the logic operation symbols, and parentheses.
A Boolean function can be described by a Boolean equation consisting of a binary variable
identifying the function followed by an equals sign and a Boolean expression.
Logic Gates
Logic gates are electronic circuits that operate on one or more input signals to produce an
output signal.
The graphics symbols used to designate the three types of gates—AND, OR, and NOT—are
shown in Figure 1(a).
The gates are electronic circuits that produce the equivalents of logic-1 and logic-0 output
signals in accordance with their respective truth tables if the equivalents of logic-1 and logic-0
input signals are applied.
Logic Gates
Logic Gates
Logic Gates
Basic Identities of Boolean Algebra
DeMorgan’s Theorem

More Related Content

PPTX
Digital logic design lecture 3
shahzad ali
 
PPT
Boolean algebra
ARJUN AHIRWAR
 
PPTX
Translation of expression(copmiler construction)
IrtazaAfzal3
 
PPTX
4-bit camparator
Bilal Amjad
 
PDF
Digital 4-bit Comprator
Soudip Sinha Roy
 
PDF
Comparators in DLD.
Zain Jafri
 
DOCX
Rthch2nts 160709112024
marangburu42
 
PPTX
Magnitude comparator
Preet_patel
 
Digital logic design lecture 3
shahzad ali
 
Boolean algebra
ARJUN AHIRWAR
 
Translation of expression(copmiler construction)
IrtazaAfzal3
 
4-bit camparator
Bilal Amjad
 
Digital 4-bit Comprator
Soudip Sinha Roy
 
Comparators in DLD.
Zain Jafri
 
Rthch2nts 160709112024
marangburu42
 
Magnitude comparator
Preet_patel
 

What's hot (19)

PDF
Indescribable numbers
Mikołaj Hajduk
 
PPTX
7.3
leblance
 
PPTX
7.3 daqy 2
leblance
 
PPTX
Ambiguous & Unambiguous Grammar
MdImamHasan1
 
PPTX
Intermediate code generator
sanchi29
 
PPTX
Alg2 lesson 10-4 and 10-5
Carol Defreese
 
PPT
Powers, Pemdas, Properties
kliegey524
 
PPT
The BUT and NBUT Boolean logic
sciomathman
 
DOC
Digital Comprator
suraj829
 
PPTX
64 introduction to logarithm
math126
 
PPT
1.4 notes
nglaze10
 
PDF
Magnitude Comparator and types of MC
Easy n Inspire L
 
PPTX
Unit 4 combinational circuit
Kalai Selvi
 
PPT
Relational+algebra (1)
Mathan Mathan K
 
PDF
Rational numbers converted (1)
somu rajesh
 
PDF
Two very short proofs of combinatorial identity - Integers 5 A18 (2005)
Roberto Anglani
 
PDF
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
Arti Parab Academics
 
Indescribable numbers
Mikołaj Hajduk
 
7.3
leblance
 
7.3 daqy 2
leblance
 
Ambiguous & Unambiguous Grammar
MdImamHasan1
 
Intermediate code generator
sanchi29
 
Alg2 lesson 10-4 and 10-5
Carol Defreese
 
Powers, Pemdas, Properties
kliegey524
 
The BUT and NBUT Boolean logic
sciomathman
 
Digital Comprator
suraj829
 
64 introduction to logarithm
math126
 
1.4 notes
nglaze10
 
Magnitude Comparator and types of MC
Easy n Inspire L
 
Unit 4 combinational circuit
Kalai Selvi
 
Relational+algebra (1)
Mathan Mathan K
 
Rational numbers converted (1)
somu rajesh
 
Two very short proofs of combinatorial identity - Integers 5 A18 (2005)
Roberto Anglani
 
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
Arti Parab Academics
 
Ad

Similar to Digital logic design lecture 2 (20)

PPT
BEEE - Part B - Unit 3 PPT BEEE - Part B - Unit 3 PPT.ppt
Drsivakumar12
 
PPT
Number_Systems_and_Boolean_Algebra.ppt
VEERA BOOPATHY E
 
PPTX
21EC201– Digital Principles and system design.pptx
GobinathAECEJRF1101
 
PDF
Digital electronics & microprocessor Batu- s y computer engineering- arvind p...
ARVIND PANDE
 
PPTX
11 cs unit 1 one shot_240427_202128 (2) (6).pptx
gitashreenayak4
 
PPTX
BooleanAlgebra.pptx
RKJain41
 
PPTX
Chapter 1 digital design.pptx
AliaaTarek5
 
PPT
Number_System and Boolean Algebra in Digital System Design
Deepika rani sona
 
PPTX
module 3,Boolean algebra and logic circuits .pptx
keemjupiter
 
PPTX
Lecture :different _Number System_.pptx
bul88458
 
PPT
45196656565656565656565656565656565656566.ppt
Harshal Vaidya
 
PDF
Number System and Boolean Algebra
AMIE(I) Study Circle
 
PPTX
Unit 1. Boolean Algebra and Logic Gates.pptx
ssuserf49c5a
 
PPTX
Digital Logic Presentation.pptx
Mahendra Mahara
 
PPT
Digital logic design part1
Vaagdevi College of Engineering
 
PDF
DLC Unit 1 (1).pdf nothing to say about you
rshyamprakash2004
 
PPT
Chapter 1 Digital Systems and Binary Numbers.ppt
AparnaDas827261
 
PPT
Digital Logic Design Lecture Notes 1.ppt
RubaiyatJaky
 
PDF
Digital Logic
NabeelaNousheen
 
PPTX
Applications of ICT Lecture 3.pptxjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...
ammarqazi53
 
BEEE - Part B - Unit 3 PPT BEEE - Part B - Unit 3 PPT.ppt
Drsivakumar12
 
Number_Systems_and_Boolean_Algebra.ppt
VEERA BOOPATHY E
 
21EC201– Digital Principles and system design.pptx
GobinathAECEJRF1101
 
Digital electronics & microprocessor Batu- s y computer engineering- arvind p...
ARVIND PANDE
 
11 cs unit 1 one shot_240427_202128 (2) (6).pptx
gitashreenayak4
 
BooleanAlgebra.pptx
RKJain41
 
Chapter 1 digital design.pptx
AliaaTarek5
 
Number_System and Boolean Algebra in Digital System Design
Deepika rani sona
 
module 3,Boolean algebra and logic circuits .pptx
keemjupiter
 
Lecture :different _Number System_.pptx
bul88458
 
45196656565656565656565656565656565656566.ppt
Harshal Vaidya
 
Number System and Boolean Algebra
AMIE(I) Study Circle
 
Unit 1. Boolean Algebra and Logic Gates.pptx
ssuserf49c5a
 
Digital Logic Presentation.pptx
Mahendra Mahara
 
Digital logic design part1
Vaagdevi College of Engineering
 
DLC Unit 1 (1).pdf nothing to say about you
rshyamprakash2004
 
Chapter 1 Digital Systems and Binary Numbers.ppt
AparnaDas827261
 
Digital Logic Design Lecture Notes 1.ppt
RubaiyatJaky
 
Digital Logic
NabeelaNousheen
 
Applications of ICT Lecture 3.pptxjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...
ammarqazi53
 
Ad

Recently uploaded (20)

PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Software Development Methodologies in 2025
KodekX
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 

Digital logic design lecture 2

  • 2. Overview Number system Binary Numbers Boolean Algebra Switching Algebra Logic Gates Boolean Function
  • 3. Number System A decimal number such as 7392 represents a quantity equal to 7 thousands plus 3 hundreds, plus 9 tens, plus 2 units. The thousands, hundreds, etc. are powers of 10 implied by the position of the coefficients. To be more exact, 7392 should be written as 7 x 103 + 3 x 102 + 9 x 10' + 2 x 10° In general, a number expressed in base-r system has coefficients multiplied by powers of r:
  • 8. NUMBER BASE CONVERSIONS A binary number can be converted to decimal by forming the sum of the powers of 2 of those coefficients whose value is 1. For example Similarly, a number expressed in base r can be converted to its decimal equivalent by multiplying each coefficient with the corresponding power of r and adding. The following is an example of octal-to-decimal conversion:
  • 9. NUMBER BASE CONVERSIONS Decimal to other Number System To convert a decimal number(base 10) into any base r , divide that number with base r and write the remainder value from bottom to top.
  • 11. OCTAL AND HEXADECIMAL NUMBERS The conversion from and to binary, octal, and hexadecimal plays an important part in digital computers. Since 2^3 = 8 and 2^4 = 16, each octal digit corresponds to three binary digits and each hexadecimal digit corresponds to four binary digits. The conversion from binary to octal is easily accomplished by partitioning the binary number into groups of three digits each, starting from the binary point and proceeding to the left and to the right. The corresponding octal digit is then assigned to each group. The following example illustrates the procedure:
  • 12. OCTAL AND HEXADECIMAL NUMBERS Conversion from octal or hexadecimal to binary is done by a procedure reverse to the above. Each octal digit is converted to its three-digit binary equivalent. Similarly, each hexadecimal digit is converted to its four-digit binary equivalent. This is illustrated in the following examples:
  • 13. Boolean Algebra OR Switching Algebra In 1854 George Boole introduced a systematic treatment of logic and developed for this purpose an algebraic system now called Boolean algebra. The Boolean algebra we present is an algebra dealing with binary variables and logic operations. In 1938 C. E. Shannon introduced a two-valued Boolean algebra called switching algebra, in which he demonstrated that the properties of bi-stable electrical switching circuits can be represented by this algebra. For the formal definition of Boolean algebra, we shall employ the postulates formulated by E. V. Huntington in 1904.
  • 14. Boolean Algebra OR Switching Algebra A Boolean expression is an algebraic expression formed by using binary variables, the constants 0 and 1, the logic operation symbols, and parentheses. A Boolean function can be described by a Boolean equation consisting of a binary variable identifying the function followed by an equals sign and a Boolean expression.
  • 15. Logic Gates Logic gates are electronic circuits that operate on one or more input signals to produce an output signal. The graphics symbols used to designate the three types of gates—AND, OR, and NOT—are shown in Figure 1(a). The gates are electronic circuits that produce the equivalents of logic-1 and logic-0 output signals in accordance with their respective truth tables if the equivalents of logic-1 and logic-0 input signals are applied.
  • 19. Basic Identities of Boolean Algebra