BOOLEAN ALGEBRA BIRLA VISHVAKARMA MAHAVDYALAYA V. V. NAGAR Guided By: Prof. P. B. Swadas Prepared By: 130070107011 130070107012 130070107013 130070107014.

Slides:



Advertisements
Similar presentations
Programmable Logic Controllers.
Advertisements

Computer Systems 1 Fundamentals of Computing
IEEE’s Hands on Practical Electronics (HOPE) Lesson 9: CMOS, Digital Logic.
BOOlean Logic The basis for digital electronics..
Cosc 2150: Computer Organization Chapter 3: Boolean Algebra and Digital Logic.
Boolean Algebra and Logic Gate
3. DIGITAL ELECTRONICS..
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
Boolean math is the cornerstone of digital communications, whether you are talking computers, PLC, or Cisco Routers on the Internet. ©Emil Decker, 2009.
Intro to Digital Electronics. Classifications of Electronic Circuits Switching Circuits – by turning electricity on and off. – Figure 1 – Known as the.
Computer Science 101 The Boolean System. George Boole British mathematician ( ) Boolean algebra –Logic –Set theory –Circuits –Conditions in if.
LOGIC GATES Logic generally has only 2 states, ON or OFF, represented by 1 or 0. Logic gates react to inputs in certain ways. Symbol for AND gate INPUT.
How many computers do you have?. All digital electronics use computers. Computer CD & DVD players IPod Cell phone HDTV Digital cameras.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Binary Logic.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
CSC 107 – Programming For Science. Follow-Up From Last Lecture.
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
Digital Logic Design Week 3
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
Discrete Mathematics and Its Applications.  The English mathematician George Boole ( ) sought to give symbolic form to Aristotle's system of.
Homework - Write Truth Tables for toy car. You will design a simple digital circuit to make a toy car follow a flashlight. The car has three light sensors.
LOGIC GATES.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
A-Level Computing#BristolMet Session Objectives#6 MUST understand and produce simple logic diagrams using the operations NOT, AND and OR SHOULD explain.
CSC 107 – Programming For Science. George Boole  Mathematician from English middle-class  Lived from 1815 – 1864  Started work at age 16 as a teaching.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
Digital Electronics Dr. Imtiaz Hussain Assistant Professor Mehran University of Engineering & Technology Jamshoro
ECE 171 Digital Circuits Chapter 4 Boolean Algebra Herbert G. Mayer, PSU Status 2/1/2016 Copied with Permission from prof. Mark PSU ECE.
Appendix B: Digital Logic
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Advanced FPGA Based System Design Lecture-1 Introduction to the Subject By: Dr Imtiaz Hussain
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
CS 111 – Aug. 27 Section 1.1 –Binary data and operations –Logic gates –Flip-flop –A binary shorthand: hexadecimal Commitment for next day: –Please read.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Logic gates.
The basis for digital electronics.
Basics of Logic gates - Part 1
Morgan Kaufmann Publishers
Logic Gates.
Computer Science 210 Computer Organization
Homework Reading Machine Projects Labs
Working with DIGITAL Information
ECE 331 – Digital System Design
Logic Gates.
Digital Logic.
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Practice #Digital Logic Mr. Burleson
Exploring Computer Science
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Thursday, 22 November 2018 Logic Gates
Computer Science 210 Computer Organization
Logic Gates.
Advanced FPGA Based System Design
Boolean Logic Boolean Logic is considered to be the basic of digital electronics. We know that a computer’s most basic operation is based on digital electronics.
Logic Gates.
KS4 Electricity – Electronic systems
GCSE Computer Science – Logic Gates & Boolean Expressions
Binary Logic.
Chapter 4 Gates and Circuits.
XOR Function Logic Symbol  Description  Truth Table 
Truth tables Mrs. Palmer.
Copyright © Cengage Learning. All rights reserved.
Department of Electronics
What are Logic Gates?.
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

BOOLEAN ALGEBRA BIRLA VISHVAKARMA MAHAVDYALAYA V. V. NAGAR Guided By: Prof. P. B. Swadas Prepared By:

What digital electronics do you use? Computer CD & DVD players IPod Cell phone HDTV Digital cameras

What are digital electronics? Sound is an analog signal. On a CD, digital sound is encoded as 44.1 kHz, 16 bit audio. ◦The original wave is 'sliced' 44,100 times a second - and an average amplitude level is applied to each sample. ◦16 bit means that a total of 65,536 different values can be assigned, or quantized to each sample. DVD-Audio can be 96 or 192 kHz and up to 24 bits resolution

George Boole George Boole, a British mathematician ( ). ◦Logic and math are equivalent. All math functions can be determined using these 3 primary Boolean logic operators: AND, OR, and NOT. ◦AND narrows your search, ◦OR broadens your search, and ◦NOT is used to exclude concepts.

Have you used Boolean logic? What information have you searched for on the Web? Do a Google Search for car radios.

The AND operator (both, all) rivers AND salinity dairy products AND export AND Europe

The OR operator (either, any) fruit OR vegetables fruit OR vegetables OR cereal from CSIRO Australia

The NOT operator fruit NOT apples Look at the Boolean Machine

Let’s use Boolean logic to examine class. Please stand up if you are: ◦girl ◦AND black hair ◦AND left handed Please stand up if you are: ◦girl ◦OR black hair ◦OR left handed And NOT How has the group changed depending on the logical operator used.

What would a library search give for “stress” and “anxiety”? Shaded areas indicate retrieval Search StatementTypes of records retrieved Number of records retrieved stress OR anxiety Documents that discuss either stress or anxiety 1127 stress AND anxiety Documents that discuss both stress and anxiety 51 stress NOT anxiety Documents that discuss stress but not anxiety 687

Nesting When more than one element is in parentheses, the sequence is left to right. This is called "nesting." ◦(foxes OR rabbits) AND pest control ◦foxes OR rabbits AND pest control ◦(animal pests OR pest animals) NOT rabbits Parentheses should be used to group terms joined by OR when there is any other operator in the search.

Order of precedence of Boolean operators The order of operations is: AND, NOT, OR, XOR Parentheses are used to override priority. Expressions in parentheses are processed first. Parentheses are used to organize the sequence and groups of concepts.

Write out logic statements using Boolean operators for these. You have a buzzer in your car that sounds when your keys are in the ignition and the door is open. You have a fire alarm installed in your house. This alarm will sound if it senses heat or smoke. There is an election coming up. People are allowed to vote if they are a citizen and they are 18. To complete an assignment the students must do a presentation or write an essay.

Basis for digital computers. The true-false nature of Boolean logic makes it compatible with binary logic used in digital computers. Electronic circuits can produce Boolean logic operations. Circuits are called gates. ◦NOT ◦AND ◦OR

NOT gate The simplest possible gate is called an "inverter," or a NOT gate. One bit as input produces its opposite as output. The symbol for a NOT gate in circuit diagrams is shown below. The logic table for the NOT gate shows input and output. AQ From How Stuff Works

AND gate The AND gate has the following symbol and logic table. Two or more input bits produce one output bit. Both inputs must be true (1) for the output to be true. Otherwise the output is false (0). ABQ

OR gate The OR gate has the following symbol and logic table. Two or more input bits produce one output bit. Either inputs must be true (1) for the output to be true. ABQ

Combine gates. Gates can be combined. The output of one gate can become the input of another. Try to determine the logic table for this circuit.

Construct the logic table for these circuits.

What happens when you add a NOT to an AND gate?  N ot ABQ ABQ

Can you make a NOT gate from an NAND? AQ 01 10

Can you make an AND gate from an NAND? ABQ

Can you make an OR gate from an NAND? ABQ

All computations can be done with an NAND gate. The most sophisticated computer can be made with NAND gates from Radio Shack. Need millions of them.

How do we use gates to add two binary numbers? Binary numbers are either 1 or 0, either on or off. Have two outputs. Need a gate to produce each output ABQCO

How do I add larger numbers? You can write any number in binary.

Add binary numbers. Adding larger number just adds more columns.