Lesson Objectives Aims You should be able to:

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Computer Science 210 Computer Organization Introduction to Logic Circuits.
Programmable Logic Controllers.
Logic Gates.
Logic Gates.
INTRODUCTION LOGICAL OPERATIONS TRUTH TABLE AND RULES.
In a not gate, if the input is on(1) the output is off (0) and vice versa.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
Building Adders & Sub tractors Dr Ahmed Telba. Introducing adder circuits Adder circuits are essential inside microprocessors as part of the ALU, or arithmetic.
Boolean Logic By: Arthur Brooks February 25, 2003 Think, Speak, and Write Computer Science.
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.
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.
Activity 1 Revise / remember what the term ‘binary logic’ means. What do each of the following look like: NOT gate? AND gate? OR gate? 5 minutes.
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.
GCSE Computing: A451 Computer Systems & Programming Activity 1 Grab a whiteboard and pen, come to the front and work out the.
TODAY YOU ARE LEARNING to explain why data is represented in computer systems in binary form 2. to understand and produce simple logic diagrams.
CS1Q Computer Systems Lecture 6 Simon Gay. Lecture 6CS1Q Computer Systems - Simon Gay2 Algebraic Notation Writing AND, OR, NOT etc. is long-winded and.
ACOE1611 Combinational Logic Circuits Reference: M. Mano, C. Kime, “Logic and Computer Design Fundamentals”, Chapter 2.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
CS1Q Computer Systems Lecture 6 Simon Gay. Lecture 6CS1Q Computer Systems - Simon Gay2 Algebraic Notation Writing AND, OR, NOT etc. is long-winded 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.
DIGITAL ELECTRONICS. Everything in digital world is based on binary system. Numerically it involves only two symbols 0 or 1. –0 = False = No –1 = True.
Activity 1 Grab a whiteboard and pen, come to the front and work out the Truth Table for the following circuit: 5 minutes R A B C Q.
Binary Logic Derrington KCL CPD/SKE Binary We’ve seen how data of all different sorts and kinds can be represented as binary bits… 0s and 1s 1 is.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
© 2016 AQA. Created by Teachit for AQA Boolean logic Lesson 3.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Logic gates.
Unit 1 Logical operators.
GCSE OCR Computing A451 Binary logic Computing hardware 6.
Activity 1 5 minutes Grab a whiteboard and pen, come to the front and work out the Truth Table for the following circuit: R A B C Q.
Creating logic gates with Minecraft
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
Minecraft Logic Gates!.
Logic Gates and Boolean Algebra
Lab02 :Logic Gate Fundamentals:
Logic Gates.
Chapter 2.3 Binary Logic.
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Aberdeen Grammar School
How Boolean logic is implemented
Teaching Computing to GCSE
Thursday, 22 November 2018 Logic Gates
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
3.4 Computer systems Boolean logic Lesson 2.
For OCR GCSE Computing Unit 1 - Theory
Logic Gates.
Digital Logic.
Computers in the real world Objectives
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.
GCSE Computer Science – Logic Gates & Boolean Expressions
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
Today You are Learning simple logic diagrams using the operations AND, OR and NOT truth tables combining Boolean operators using AND, OR and NOT.
Binary Logic.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Logic Circuits Analysis
Logic Gates AIM: To know the different types of logic gate
Logically, the output will be 1
ECE 352 Digital System Fundamentals
Further binary, Logic diagrams and truth tables
ECE 352 Digital System Fundamentals
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Presentation transcript:

Lesson Objectives Aims You should be able to: Understand and produce simple logic diagrams Produce truth tables for NOT, AND and OR

Last lesson we learned computers are binary devices Recap Last lesson we learned computers are binary devices We know how binary works We understand binary can be represented with switches This is fundamental to the questions: Why do we use binary? How do we make something useful out of only switches?

Why binary? It just so happens switches (binary) are very cheap to produce Boolean Logic makes the creation of cheap, fast circuits possible These circuits are called “logic circuits” and are made up of combinations of the gates we will now look at

George Boole – man of amazing facial topiary Computers are all based on the principles of “Boolean Logic” Boolean was invented by George Boole in around 1849 – a time when computers didn’t exist. It is based on the idea of “truths” – things that will always follow a set of rules and always be correct

Computers use binary because: Binary can be represented by switches These switches can be combined to form “logic gates” – the basic building blocks of circuits We can base circuits on logic and prove, logically, that this works! We can have absolute reliability/proof our circuits will always do what we say they will Because of the nature of switches - circuits can only be in one of two states This results in more reliable circuits

January 2013 8(a)

Truth Tables Logical Truths are rules that apply to certain operators – AND, OR, NOT Each truth can be represented by a word and symbol Each operator has a set number of inputs and outputs

NOT The simplest logic gate Simply inverts the input Remember it by: “The output is NOT the input”

AND The AND gate is true ONLY if both inputs are true Useful for testing whether things are on or off (masking) Remember it by: “one AND the other input must be a 1”

OR The OR gate can be seen as (almost) representing binary addition (learn this next lesson) OR is true if any input is true Remember it by: “one OR the other must be true”

Circuits These simple gates can be combined to produce useful output or functionality Lets work through an exam question together to see how this might work

June 2014 – Q7

How do we tackle this question? A “truth table” must show the output for ALL possible combinations of inputs. So a circuit with 2 inputs A and B must have FOUR inputs. Put these in first

First step A B NOT (A AND B) 1

Next step Break the circuit down in to individual logic gates In this circuit we clearly AND together A and B, THEN we put the output of that through a NOT gate… So lets AND first…

Second Step A B A AND B NOT (A AND B) 1

Now we have the result of A AND B, we can do the second gate, which is a NOT. Simply take the output of A AND B and put it through a NOT gate…

Final Step A B A AND B NOT (A AND B) 1 Nice.

Jan 2013 Q3a

Jan 2013 Q3b

June 2012 Q3

June 2011 Q4

June 2011 Q4b

Work out the truth table for this circuit Homework/Extension Work out the truth table for this circuit A B D A OR B C A AND B E NOT (A AND B) S D AND E 1

Jun-14 Logic Gates and Truth Tables 7 Jan-13 3 May-12 May-11 4a