Thursday, 22 November 2018 Logic Gates

Slides:



Advertisements
Similar presentations
Truth Tables and Logic Gates. What are Logic Gates? Logic gates are components used in making logic circuits. Each gate has one or more inputs and produces.
Advertisements

DAT2343 Basic Logic Gates © Alan T. Pinck / Algonquin College; 2003.
Basic Logic Gate Sayed Mahbub Hasan Amiri Dhaka Residential Model College.
LO: Were learning to understand how logic applies to us when building applications.
Logic Gates Some Most All Learning Objective
IEEE’s Hands on Practical Electronics (HOPE) Lesson 9: CMOS, Digital Logic.
In a not gate, if the input is on(1) the output is off (0) and vice versa.
3. DIGITAL ELECTRONICS..
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
MR. KERINS Logic Gates- Electrical Engineering. LOGIC GATES Logic gates are primarily implemented using diodes or transistors acting as electronic switches,
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.
Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014.
Binary Logic Lets think about the Binary!. What is Binary? Computers use binary as it’s a lot simpler! Each CPU is made up of millions of transistors.
LOGIC GATES A logic gate is an elementary building block of a digital circuit.digital circuit Most logic gates have two inputs and one output terminals.
LOGIc gates Lesson Objectives: George Boole, ( )
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
Digital Logic Design Week 3
LOGIC GATES.
Combination of logic gates  Logic gates can be combined to produce more complex functions.  They can also be combined to substitute one type of gate.
Teaching Computing to GCSE Level with Python Session 3.
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,
1 GCSE Computing Binary Logic. GCSE Computing 2 Candidates should be able to understand and produce simple logic diagrams using the operations NOT, AND,
S3 INNOVATION ELECTRONICS. LESSON TITLE: ELECTRONICS Learning Intention: To understand when to use different types of logic gates Activity: Building own.
AND Gate Inputs Output Input A (Switch) Input B (Switch) Output Y (Lamp) 0 (Open) 0 (OFF) A B Lamp.
Minute Paper 4/4/04 Z=50+j86.7=100
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
L OGIC G ATES Computer Organization – week 3. W HAT ’ S ALU? 1. ALU stands for: Arithmetic Logic Unit 2. ALU is a digital circuit that performs Arithmetic.
PHYSICS – Digital electronics. LEARNING OBJECTIVES Core Supplement Explain and use the terms analogue and digital in terms of continuous variation and.
GCSE Computing – Topic 2 Lesson 5a – Binary Logic CHALLENGE TO: identify the different types of logic diagrams. ASPIRE TO: Construct a truth table for.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Logic Gates Unit 16.
Logic gates.
Unit 1 Logical operators.
GCSE OCR Computing A451 Binary logic Computing hardware 6.
Creating logic gates with Minecraft
Basics of Logic gates - Part 1
Lesson Objectives Aims You should be able to:
Component 1 Logical operators.
LOGIc gates Lesson Objectives: George Boole, ( )
Logic Gates.
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
Computer Science 210 Computer Organization
Transistors and Logic Circuits
Logic What is logic? Logic is the name given to an electronic component which will monitor a number of inputs and give an output depending on them Input.
Starter Write down a list of what your perfect partner would be like. Can include things to do with looks, hobbies and general habits and traits. Include.
Circuits Logic in Hardware.
You have 5 minutes to look over your table of sensor and outputs ready for a spot check on the different symbols Start Timer 5 mins
Chapter 2.3 Binary Logic.
Computers Logic Gates.
LOGIc gates Objectives: George Boole, ( )
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Saturday, 10 November 2018 Binary
Teaching Computing to GCSE
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
3.4 Computer systems Boolean logic Lesson 2.
All very logical I think!
Logic Gates.
Logic Gates.
KS4 Electricity – Electronic systems
GCSE Computer Science – Logic Gates & Boolean Expressions
Logic Gates.
Binary Logic.
Objectives Construct truth tables for the following logic gates:
XOR Function Logic Symbol  Description  Truth Table 
Logic Circuits Analysis
Further binary, Logic diagrams and truth tables
Introduction to Logic diagrams and truth tables
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

Thursday, 22 November 2018 Logic Gates Learning Objective: To be able to demonstrate an understanding of logic gates and the notation/diagrams used. Success Criteria: I can complete a logic gate diagram. I can write a logic statement. I can create truth tables for AND, OR and NOT gates. I can use correct logic notation.

What is binary? Binary is the representation of the ‘presence’ of electricity If present or ‘on’ we use a: 1 If absent or ‘off’ we use a: 0 We can use this idea to change 1 and 0 states through the use of logic gates Logic Gates take inputs and covert them to an output You can see why we need binary, logic and transistors in this video here: https://www.youtube.com/watch?v=GdqbLmdKgw4

Key Words Logic Gate Transistor Bit (Binary Digit) Logic Circuit AND NOT (Inverter) A ⋀ B A ⋁ B ¬ A

Logic Gates Used to change bits and perform calculations within a computer Created by using transistors There are 3 basic logic gates: AND OR NOT Every logic circuit can be made up from these 3 logic gates

Truth Tables The output of Logic Gates can be shown through a Truth Table The Truth Table shows what an output will be, based on the inputs You will need to know the basic truth tables You will need to be able to construct a truth table from a logic statement

ON/OFF ON/OFF ON /OFF Input AND Output Input AND BURGLAR ALARM GATE An AND gate can have two or more inputs. The output will be positive (true) when both inputs (the input one AND the input two) are positive (true). Y = A AND B Input AND GATE Output Input ON/OFF c ON/OFF PERSON SENSOR AND GATE BURGLAR ALARM ON SWITCH FOR ALARM The output is "true" when both inputs are "true.” Otherwise, the output is "false." If one input will be off – the output will be off as well. http://whatis.techtarget.com/definition/0,,sid9_gci213512,00.html ON /OFF

The AND Gate Only has an output of 1 if both A AND B are 1 We write this as: A ⋀ B

ON/OFF ON/OFF ON /OFF Input Y = A OR B OR Output Input OR An OR gate can have two or more inputs. The output will be positive (True) if at least one input is true. Y = A OR B OR GATE Output Input ON/OFF ON/OFF FRONT DOORBELL SWITCH OR GATE DOORBELL BACK DOORBELL SWITCH ON /OFF The output is "true" if either or both of the inputs are "true." If both inputs are "false," then the output is "false.” It is doesn’t matter if one input will be off- the output will be on http://www.kpsec.freeuk.com/gates.htm

The OR Gate Has an output of 1 if either of A OR B are 1 We write this as: A ⋁ B

ON OFF NOT Output Input CENTRAL NOT HEATING A NOT gate (inverter) has only one input. It reverses the logic state. Y = NOT A NOT GATE Input Output NOT GATE HEAT DETECTOR (ABOVE 20 C) CENTRAL HEATING ON OFF NOT gate has only one input. It reverses the logic state. If the input will be on – the output will be off If the input will be off –the output will be on.

To add more sensors to alarm GATE AND BEDROOM SENSOR FRONT ROOM BURGLAR ALARM ON SWITCH FOR ALARM ON or OFF ?

The NOT Gate Has an 1 input only It INVERTS or swaps the input We write this as: ¬ A

ON OFF Is the Final Output ON (True) or OFF (false) ? OR AND GATE AND NOT ON OFF FINAL OUTPUT ON ? OFF ?

Activity 1: ? ? ? ? ? ? The output is ON or OFF ? 1. 4. ON OFF ON OFF 5. 2. ? ON ? ON OFF 6. ? ON OFF 1- off, 2- on, 3-off, 4- on, 5-off, 6-on 3. ? ON OFF The output is ON or OFF ?

Activity 1: ? ? ? ? The output is ON or OFF ? 7. 10. OFF ON ON OFF OFF 8. ON ON ? ON OFF 9. ON ? 7- on, 8-off, 9-off, 10- on ON ON ON ON ON The output is ON or OFF ?

Activity 3: Truth Tables Complete the Table

Activity 3 – Answers Complete the Table Well done spotting it was an OR gate!

Activity 4: Truth Tables Create the Truth Table for the following: A ⋀ ( B V C ) Have a go yourself and then check your steps with the PowerPoint

Activity 4 A ⋀ ( B V C ) Here is the diagram

Activity 4 – Answer A ⋀ ( B V C ) Here is the empty truth table A B C

Activity 4 – Answer A ⋀ ( B V C ) Here is the empty truth table