Computers Logic Gates.

Slides:



Advertisements
Similar presentations
DAT2343 Basic Logic Gates © Alan T. Pinck / Algonquin College; 2003.
Advertisements

LO: Were learning to understand how logic applies to us when building applications.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 – Part 1.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
In a not gate, if the input is on(1) the output is off (0) and vice versa.

AND, OR and NOT. The AND gate needs to be both on, So number wise both 1. So then you will get a 1 as you can see in the last image on the right, If 1.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Introduction to Computer Science David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS September 6, 2007.
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.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Input, Process and Output Digital Logic Gates.
What is an And Gate? It is a digital circuit that produce logical operations The logical operations are call Boolean logical Boolean operation consist.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Combinational Circuit Design A combinational circuit consists of logic gates. It processes the input signals (coming from an external source) to produce.
ACOE1611 Combinational Logic Circuits Reference: M. Mano, C. Kime, “Logic and Computer Design Fundamentals”, Chapter 2.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Glossary AND gate to device digital signals to inverter LDR to logic circuit logic.
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.
4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.
PHYSICS – Digital electronics. LEARNING OBJECTIVES Core Supplement Explain and use the terms analogue and digital in terms of continuous variation and.
Logic Gates Review. Logic Gates OR gate – 1 if either input is 1 – 0 if they both are 0.
Logic Gates The processor is made up of millions of logic gates. These are used to make decisions. Each gate takes an electric input and outputs a result.
COMPUTER ORGANISATION.. LAB. تنظيم الحاسبات.. عملي
Logic gates.
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
Truth Tables & Logic Expressions
Logic Gates and Truth Tables
Lesson Objectives Aims You should be able to:
Component 1 Logical operators.
Eng. Mai Z. Alyazji October, 2016
Logic Gates.
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.
Lab02 :Logic Gate Fundamentals:
You have 5 minutes to look over your homework and with a green pen answer the question in your book or make a correction Start Timer 5 mins
CSCI-100 Introduction to Computing
Chapter 2.3 Binary Logic.
Computer Architecture CST 250
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
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.
Schematics 201 Lecture Topic: Electrical Symbols
3.4 Computer systems Boolean logic Lesson 2.
All very logical I think!
Digital Logic & Design Lecture 05
Waveforms & Timing Diagrams
JC Technology Logic Gates.
KS4 Electricity – Electronic systems
GCSE Computer Science – Logic Gates & Boolean Expressions
Binary Logic.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Objectives Construct truth tables for the following logic gates:
Truth tables Mrs. Palmer.
Boolean Algebra and its Relation to Digital Circuits
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Logic Gates AIM: To know the different types of logic gate
Truth Tables & Logic Expressions
Eng. Ahmed M Bader El-Din October, 2018
Introduction to Logic diagrams and truth tables
Logic Gates By: Asst Lec. Besma Nazar Nadhem
Introduction to Logic diagrams and truth tables
What are Logic Gates?.
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

Computers Logic Gates

Logic Gates Logic gates are the fundamental building blocks of digital circuits. There are three main logic gates. NOT AND OR

NOT Gate The NOT gate reverses the input, so if a 1 is inputted into a NOT gate it will output a 0. NOT 1

AND Gate The AND gate will only output a 1 if both inputs are 1, otherwise the output will be 0. AND 1 1 1

OR Gate The OR gate will output 1 if either or both of the inputs are set to 1. OR 1 1

Learn about truth tables by watching this video.

Example Truth tables are used to show all the possible outcomes for a logic problem. Here is the truth table for an AND gate:

Go to the Logic Lab and recreate this simple logic diagram. Activity 1 Go to the Logic Lab and recreate this simple logic diagram. Use your completed diagram to help you complete this truth table for a NOT gate: A Q

Now recreate this logic diagram: Activity 2 Now recreate this logic diagram: Use your completed diagram to help you complete this truth table for an OR gate: A B Q=(A OR B)

Alarm = Heart Rate AND Oxygen Logic Statements (1) Logic statements can be used to represent logic diagrams using text. Example Brunel University use a system to monitor their athletes when they are training. They monitor heat rate and oxygen levels. These are Boolean variables that are set to 0 when the values are within safe limits and 1 when they are outside safe limits. The microcontroller monitors the readings and sounds an alarm if both of the readings are outside safe limits. Logic Statement Alarm = Heart Rate AND Oxygen

Alarm = Heart Rate AND Oxygen Logic Statements (2) Logic Statement Alarm = Heart Rate AND Oxygen INPUTS OUTPUT Heart Rate Oxygen Alarm 1

Activity 3a A greenhouse climate control system monitors the temperature and humidity. These are Boolean variables that are set to 0 when the values are within the set limits and 1 when they are outside these limits. The microcontroller monitors the readings and opens a vent if any of the readings are outside the set limits. Give the logic statement the microcontroller uses to determine if the vent should be open. Logic Statement

Complete the truth table for the logic statement you wrote in Task 3a. Activity 3b Complete the truth table for the logic statement you wrote in Task 3a. INPUTS OUTPUT Temperature Humidity Vent

Activity 4a A baby alarm system monitors heart rate, temperature and movement. These are Boolean variables that are set to 0 when the values are within safe limits and 1 when they are outside safe limits. The microcontroller monitors the readings and sounds an alarm if any two of the readings are outside safe limits. Give the logic statement the microcontroller uses to determine if the alarm should be sounded. Logic Statement

Complete the truth table for the logic statement you wrote in Task 4a. Activity 4b Complete the truth table for the logic statement you wrote in Task 4a. INPUTS OUTPUT Heart Rate Temperature Movement Alarm

Activity 5a A car alarm is set off if a window is broken or if it senses something moving inside car, and if the engine is not on. Give the logic statement the microcontroller uses to determine if the car alarm should be sounded. Logic Statement

Complete the truth table for the logic statement you wrote in Task 5a. Activity 5b Complete the truth table for the logic statement you wrote in Task 5a. INPUTS OUTPUT Engine Window Movement Alarm