SlideShare a Scribd company logo
1 of 15
Basic Logic Operations 
• Basic Logic Operations 
– Several propositions combined form 
propositional/logic functions 
– Example: “The light is on” will be true if 
• “The bulb is not burned out” is true and if 
• “The switch is on” is true. 
– Logical statement: The light is on if and only if the 
bulb is not burned out and the switch is on 
– The first statement (the light is on – basic proposition) 
is true only if the last two statements (conditions) are 
true 
IS 151 Digital Circuitry 1
Basic Logic Operations 
• Basic digital logic operations – NOT, AND, 
OR, Exclusive-OR 
IS 151 Digital Circuitry 2
Basic Logic Operations 
IS 151 Digital Circuitry 3 
– Features 
• Inputs – are on the left 
• Output – is on the right 
– A circuit that performs a specific logic 
operation is called a logic gate 
– The true/false conditions are represented by a 
HIGH (true) and a LOW (false) 
• HIGH = TRUE = 1 
• LOW = FALSE = 0
The NOT operation 
• Changes one logic level to the opposite 
logic level 
• When the input is HIGH, the output is 
LOW and vice versa 
• The NOT operation is implemented by a 
logic circuit called an inverter. 
IS 151 Digital Circuitry 4
The AND operation 
• Produces a HIGH output if and only if all 
the inputs are HIGH 
• If one input is HIGH and the other is LOW, 
or all inputs are LOW, the output is LOW 
• The AND operation is implemented by a 
logic circuit called an AND gate. 
IS 151 Digital Circuitry 5
The OR operation 
• Produces a HIGH output when any of the 
inputs is HIGH 
• Otherwise if all inputs are LOW then the 
output is LOW 
• The OR operation is implemented by a 
logic gate called an OR gate. 
IS 151 Digital Circuitry 6
The Exclusive-OR operation 
• Produces a HIGH output when one and 
only one of the two inputs is HIGH 
• The Exclusive-OR operation is 
implemented by a logic gate called an EX-OR 
IS 151 Digital Circuitry 7 
gate.
Logic Operations - Review 
1. When does the NOT operation produce a HIGH/LOW 
IS 151 Digital Circuitry 8 
output? 
2. When does the AND operation produce a HIGH/LOW 
output? 
3. When does the OR operation produce a HIGH/LOW 
output? 
4. When does the EX-OR operation produce a HIGH/LOW 
output? 
5. What is an inverter? 
6. What is a logic gate? 
7. What is the difference between an OR and an 
Exclusive-OR operation?
Basic Logic Functions 
• The basic logic gates can be combined to 
form more complex logic circuits that 
perform many useful operations to build up 
complete digital systems 
• Some common logic functions: 
comparison, arithmetic, code conversion, 
encoding, decoding, data selection, 
storage, and counting 
IS 151 Digital Circuitry 9
The Comparison Function 
• Magnitude comparison is performed by a 
logic circuit called the comparator. 
• A comparator compares two quantities 
and indicates whether or not they are 
equal. 
• Example: given two numbers, determine if 
the numbers are equal, and if not equal, 
which one is greater. 
IS 151 Digital Circuitry 10
Arithmetic Functions 
• Addition – performed by an adder; adds two 
binary numbers (two inputs and a carry in) and 
generates an output and a carry out 
• Subtraction – performed by a subtracter; three 
inputs: two numbers and a borrow input; 
generates the difference and borrow out 
• Multiplication – performed by a multiplier; have 
two inputs, and an output (product) 
• Division – performed by a series of 
subtractions, comparisons and shifts; have two 
inputs and two outputs (quotient and reminder) 
IS 151 Digital Circuitry 11
Code Functions 
• The Code conversion function 
– Changes a form of coded information into 
another coded form 
• The Encoding function 
– Converts information into some coded form 
• The Decoding function 
– Converts coded information into a 
nonencoded form 
IS 151 Digital Circuitry 12
The Data Selection Functions 
• Multiplexer – switches digital data from 
several input lines onto a single output line 
in a specified time sequence 
• Demultiplexer – switches digital data from 
one input line to several output lines in a 
specified time sequence 
IS 151 Digital Circuitry 13
Storage and Counting Functions 
• The Storage function 
– To retain binary data for a period of time; e.g. 
flip-flops, registers 
• The Counting function 
– To count events represented by changing 
levels or pulses or to generate particular code 
sequence. 
IS 151 Digital Circuitry 14
• End of Lecture 
IS 151 Digital Circuitry 15

More Related Content

What's hot (20)

Logic gates
Logic gatesLogic gates
Logic gates
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Exclusive OR GAte
Exclusive OR GAteExclusive OR GAte
Exclusive OR GAte
 
Logic gate
Logic gateLogic gate
Logic gate
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
 
Logic gates (1)
Logic gates (1)Logic gates (1)
Logic gates (1)
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
24.logic gates
24.logic gates 24.logic gates
24.logic gates
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
 
Logic gates And Boolen algebra
Logic gates And  Boolen algebraLogic gates And  Boolen algebra
Logic gates And Boolen algebra
 
Computer logic and gates
Computer logic and gatesComputer logic and gates
Computer logic and gates
 
Digital Logic & Computer Architecture Practical Book by Yasir Ahmed Khan
Digital Logic & Computer Architecture Practical Book by Yasir Ahmed KhanDigital Logic & Computer Architecture Practical Book by Yasir Ahmed Khan
Digital Logic & Computer Architecture Practical Book by Yasir Ahmed Khan
 
Presentation of universal logic gate
Presentation of universal logic gatePresentation of universal logic gate
Presentation of universal logic gate
 
Digital logic, an inverter or NOT gate
Digital logic, an inverter or NOT gateDigital logic, an inverter or NOT gate
Digital logic, an inverter or NOT gate
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 

Viewers also liked

Viewers also liked (20)

Chap 10(structure and unions)
Chap 10(structure and unions)Chap 10(structure and unions)
Chap 10(structure and unions)
 
IS 139 Lecture 7
IS 139 Lecture 7IS 139 Lecture 7
IS 139 Lecture 7
 
IS 151 - Lecture 3
IS 151 - Lecture 3IS 151 - Lecture 3
IS 151 - Lecture 3
 
Truth table analysis
Truth table analysisTruth table analysis
Truth table analysis
 
Chapter one
Chapter oneChapter one
Chapter one
 
IS 151 Lecture 2
IS 151 Lecture 2IS 151 Lecture 2
IS 151 Lecture 2
 
Cd unit i
Cd unit iCd unit i
Cd unit i
 
pointer, structure ,union and intro to file handling
pointer, structure ,union and intro to file handlingpointer, structure ,union and intro to file handling
pointer, structure ,union and intro to file handling
 
aaالمملكة العربية السعودية
aaالمملكة العربية السعوديةaaالمملكة العربية السعودية
aaالمملكة العربية السعودية
 
Logical and Conditional Operator In C language
Logical and Conditional Operator In C languageLogical and Conditional Operator In C language
Logical and Conditional Operator In C language
 
C Structures and Unions
C Structures and UnionsC Structures and Unions
C Structures and Unions
 
Hierarchical Memory System
Hierarchical Memory SystemHierarchical Memory System
Hierarchical Memory System
 
C Structures & Unions
C Structures & UnionsC Structures & Unions
C Structures & Unions
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Truth tables
Truth tablesTruth tables
Truth tables
 
C pointer
C pointerC pointer
C pointer
 
Introduction to compilers
Introduction to compilersIntroduction to compilers
Introduction to compilers
 
C Structures And Unions
C  Structures And  UnionsC  Structures And  Unions
C Structures And Unions
 
Static and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesStatic and Dynamic Read/Write memories
Static and Dynamic Read/Write memories
 
Loaders
LoadersLoaders
Loaders
 

Similar to IS 151 Lecture 3

MECHATRONICS-UNIT 4-PROGRAMMABLE LOGIC CONTROLLER .ppt
MECHATRONICS-UNIT 4-PROGRAMMABLE LOGIC CONTROLLER .pptMECHATRONICS-UNIT 4-PROGRAMMABLE LOGIC CONTROLLER .ppt
MECHATRONICS-UNIT 4-PROGRAMMABLE LOGIC CONTROLLER .pptCHANDRA KUMAR S
 
20ME702– MECHATRONICS -UNIT-4.ppt
20ME702– MECHATRONICS -UNIT-4.ppt20ME702– MECHATRONICS -UNIT-4.ppt
20ME702– MECHATRONICS -UNIT-4.pptMohanumar S
 
Programmable logic Controlller ppt
Programmable logic Controlller pptProgrammable logic Controlller ppt
Programmable logic Controlller pptkarthik R
 
Unit 4-PROGRAMMABLE LOGIC INTERFACE-ME6702– MECHATRONICS
Unit 4-PROGRAMMABLE LOGIC INTERFACE-ME6702– MECHATRONICS Unit 4-PROGRAMMABLE LOGIC INTERFACE-ME6702– MECHATRONICS
Unit 4-PROGRAMMABLE LOGIC INTERFACE-ME6702– MECHATRONICS Mohanumar S
 
Digital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptxDigital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptxMalikQadeer8
 
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.pptProgrammable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.pptMUSTAFAHAIDER53
 
Digital electronics
Digital electronicsDigital electronics
Digital electronicscallr
 
EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1Dilawar Khan
 
digital elctronics
digital elctronicsdigital elctronics
digital elctronicsAsif Iqbal
 
11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptxElisée Ndjabu
 
Registers-shift register
Registers-shift registerRegisters-shift register
Registers-shift registerBilawal Fiaz
 
Circuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITTCircuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITTSrivignessh Pss
 
Dpsd course introduction
Dpsd  course introductionDpsd  course introduction
Dpsd course introductionPragadeswaranS
 
introductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdfintroductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdfHebaEng
 
20ME702– MECHATRONICS -UNIT-3.ppt
20ME702– MECHATRONICS -UNIT-3.ppt20ME702– MECHATRONICS -UNIT-3.ppt
20ME702– MECHATRONICS -UNIT-3.pptMohanumar S
 
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS Mohanumar S
 

Similar to IS 151 Lecture 3 (20)

shift_register.pptx
shift_register.pptxshift_register.pptx
shift_register.pptx
 
COA (Unit_2.pptx)
COA (Unit_2.pptx)COA (Unit_2.pptx)
COA (Unit_2.pptx)
 
MECHATRONICS-UNIT 4-PROGRAMMABLE LOGIC CONTROLLER .ppt
MECHATRONICS-UNIT 4-PROGRAMMABLE LOGIC CONTROLLER .pptMECHATRONICS-UNIT 4-PROGRAMMABLE LOGIC CONTROLLER .ppt
MECHATRONICS-UNIT 4-PROGRAMMABLE LOGIC CONTROLLER .ppt
 
20ME702– MECHATRONICS -UNIT-4.ppt
20ME702– MECHATRONICS -UNIT-4.ppt20ME702– MECHATRONICS -UNIT-4.ppt
20ME702– MECHATRONICS -UNIT-4.ppt
 
Programmable logic Controlller ppt
Programmable logic Controlller pptProgrammable logic Controlller ppt
Programmable logic Controlller ppt
 
Unit 4-PROGRAMMABLE LOGIC INTERFACE-ME6702– MECHATRONICS
Unit 4-PROGRAMMABLE LOGIC INTERFACE-ME6702– MECHATRONICS Unit 4-PROGRAMMABLE LOGIC INTERFACE-ME6702– MECHATRONICS
Unit 4-PROGRAMMABLE LOGIC INTERFACE-ME6702– MECHATRONICS
 
Digital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptxDigital Logic Design Lecturegyqwdgj-1.pptx
Digital Logic Design Lecturegyqwdgj-1.pptx
 
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.pptProgrammable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
Programmable_Logic_Controllers_Introduction_to_PLCs__(Chapter_1)_Lec1.ppt
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1
 
digital elctronics
digital elctronicsdigital elctronics
digital elctronics
 
PLC
PLCPLC
PLC
 
11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx
 
MPMC
MPMC MPMC
MPMC
 
Registers-shift register
Registers-shift registerRegisters-shift register
Registers-shift register
 
Circuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITTCircuitrix@Pragyan 2015 NITT
Circuitrix@Pragyan 2015 NITT
 
Dpsd course introduction
Dpsd  course introductionDpsd  course introduction
Dpsd course introduction
 
introductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdfintroductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdf
 
20ME702– MECHATRONICS -UNIT-3.ppt
20ME702– MECHATRONICS -UNIT-3.ppt20ME702– MECHATRONICS -UNIT-3.ppt
20ME702– MECHATRONICS -UNIT-3.ppt
 
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
 

More from wajanga

IS 151 Outline 2014
IS 151 Outline 2014IS 151 Outline 2014
IS 151 Outline 2014wajanga
 
IS 139 Assignment 3
IS 139 Assignment 3IS 139 Assignment 3
IS 139 Assignment 3wajanga
 
IS 139 Lecture 6
IS 139 Lecture 6IS 139 Lecture 6
IS 139 Lecture 6wajanga
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2wajanga
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5wajanga
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4wajanga
 
IS 139 Assignment 1
IS 139 Assignment 1IS 139 Assignment 1
IS 139 Assignment 1wajanga
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3wajanga
 
IS 139 Lecture 1
IS 139 Lecture 1IS 139 Lecture 1
IS 139 Lecture 1wajanga
 
IS 139 Lecture 2
IS 139 Lecture 2IS 139 Lecture 2
IS 139 Lecture 2wajanga
 
IS 151 Lecture 11
IS 151 Lecture 11IS 151 Lecture 11
IS 151 Lecture 11wajanga
 
IS 151 Lecture 10
IS 151 Lecture 10IS 151 Lecture 10
IS 151 Lecture 10wajanga
 
IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9wajanga
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8wajanga
 
IS 151 Lecture 7
IS 151 Lecture 7IS 151 Lecture 7
IS 151 Lecture 7wajanga
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6wajanga
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6wajanga
 
IS 151 Lecture 5
IS 151 Lecture 5IS 151 Lecture 5
IS 151 Lecture 5wajanga
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4wajanga
 
IS 151 lecture 2
IS 151   lecture 2IS 151   lecture 2
IS 151 lecture 2wajanga
 

More from wajanga (20)

IS 151 Outline 2014
IS 151 Outline 2014IS 151 Outline 2014
IS 151 Outline 2014
 
IS 139 Assignment 3
IS 139 Assignment 3IS 139 Assignment 3
IS 139 Assignment 3
 
IS 139 Lecture 6
IS 139 Lecture 6IS 139 Lecture 6
IS 139 Lecture 6
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4
 
IS 139 Assignment 1
IS 139 Assignment 1IS 139 Assignment 1
IS 139 Assignment 1
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
 
IS 139 Lecture 1
IS 139 Lecture 1IS 139 Lecture 1
IS 139 Lecture 1
 
IS 139 Lecture 2
IS 139 Lecture 2IS 139 Lecture 2
IS 139 Lecture 2
 
IS 151 Lecture 11
IS 151 Lecture 11IS 151 Lecture 11
IS 151 Lecture 11
 
IS 151 Lecture 10
IS 151 Lecture 10IS 151 Lecture 10
IS 151 Lecture 10
 
IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8
 
IS 151 Lecture 7
IS 151 Lecture 7IS 151 Lecture 7
IS 151 Lecture 7
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 
IS 151 Lecture 5
IS 151 Lecture 5IS 151 Lecture 5
IS 151 Lecture 5
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4
 
IS 151 lecture 2
IS 151   lecture 2IS 151   lecture 2
IS 151 lecture 2
 

Recently uploaded

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Recently uploaded (20)

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

IS 151 Lecture 3

  • 1. Basic Logic Operations • Basic Logic Operations – Several propositions combined form propositional/logic functions – Example: “The light is on” will be true if • “The bulb is not burned out” is true and if • “The switch is on” is true. – Logical statement: The light is on if and only if the bulb is not burned out and the switch is on – The first statement (the light is on – basic proposition) is true only if the last two statements (conditions) are true IS 151 Digital Circuitry 1
  • 2. Basic Logic Operations • Basic digital logic operations – NOT, AND, OR, Exclusive-OR IS 151 Digital Circuitry 2
  • 3. Basic Logic Operations IS 151 Digital Circuitry 3 – Features • Inputs – are on the left • Output – is on the right – A circuit that performs a specific logic operation is called a logic gate – The true/false conditions are represented by a HIGH (true) and a LOW (false) • HIGH = TRUE = 1 • LOW = FALSE = 0
  • 4. The NOT operation • Changes one logic level to the opposite logic level • When the input is HIGH, the output is LOW and vice versa • The NOT operation is implemented by a logic circuit called an inverter. IS 151 Digital Circuitry 4
  • 5. The AND operation • Produces a HIGH output if and only if all the inputs are HIGH • If one input is HIGH and the other is LOW, or all inputs are LOW, the output is LOW • The AND operation is implemented by a logic circuit called an AND gate. IS 151 Digital Circuitry 5
  • 6. The OR operation • Produces a HIGH output when any of the inputs is HIGH • Otherwise if all inputs are LOW then the output is LOW • The OR operation is implemented by a logic gate called an OR gate. IS 151 Digital Circuitry 6
  • 7. The Exclusive-OR operation • Produces a HIGH output when one and only one of the two inputs is HIGH • The Exclusive-OR operation is implemented by a logic gate called an EX-OR IS 151 Digital Circuitry 7 gate.
  • 8. Logic Operations - Review 1. When does the NOT operation produce a HIGH/LOW IS 151 Digital Circuitry 8 output? 2. When does the AND operation produce a HIGH/LOW output? 3. When does the OR operation produce a HIGH/LOW output? 4. When does the EX-OR operation produce a HIGH/LOW output? 5. What is an inverter? 6. What is a logic gate? 7. What is the difference between an OR and an Exclusive-OR operation?
  • 9. Basic Logic Functions • The basic logic gates can be combined to form more complex logic circuits that perform many useful operations to build up complete digital systems • Some common logic functions: comparison, arithmetic, code conversion, encoding, decoding, data selection, storage, and counting IS 151 Digital Circuitry 9
  • 10. The Comparison Function • Magnitude comparison is performed by a logic circuit called the comparator. • A comparator compares two quantities and indicates whether or not they are equal. • Example: given two numbers, determine if the numbers are equal, and if not equal, which one is greater. IS 151 Digital Circuitry 10
  • 11. Arithmetic Functions • Addition – performed by an adder; adds two binary numbers (two inputs and a carry in) and generates an output and a carry out • Subtraction – performed by a subtracter; three inputs: two numbers and a borrow input; generates the difference and borrow out • Multiplication – performed by a multiplier; have two inputs, and an output (product) • Division – performed by a series of subtractions, comparisons and shifts; have two inputs and two outputs (quotient and reminder) IS 151 Digital Circuitry 11
  • 12. Code Functions • The Code conversion function – Changes a form of coded information into another coded form • The Encoding function – Converts information into some coded form • The Decoding function – Converts coded information into a nonencoded form IS 151 Digital Circuitry 12
  • 13. The Data Selection Functions • Multiplexer – switches digital data from several input lines onto a single output line in a specified time sequence • Demultiplexer – switches digital data from one input line to several output lines in a specified time sequence IS 151 Digital Circuitry 13
  • 14. Storage and Counting Functions • The Storage function – To retain binary data for a period of time; e.g. flip-flops, registers • The Counting function – To count events represented by changing levels or pulses or to generate particular code sequence. IS 151 Digital Circuitry 14
  • 15. • End of Lecture IS 151 Digital Circuitry 15