LO: Were learning to understand how logic applies to us when building applications.

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.
Logic Gates.
Programmable Logic Controllers.
Logic Gates.
Logic Gates.
Logic Gates Some Most All Learning Objective
Lecture. Outline Bits Gates Combinatorial Logic Spice Hands-On Stuff.
Digital Electronics Dan Simon Cleveland State University ESC 120 Revised December 30, 2010.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Digital Logic Systems Combinational Circuits. Basic Gates & Truth Tables.
3. DIGITAL ELECTRONICS..
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.
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
NOCTI Review Lesson 4 Objectives:
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
LOGIc gates Lesson Objectives: George Boole, ( )
Digital Logic Design Week 3
Logic Gates It’s Only Logical. Logic Gates Are the switches that computers and similar devices use. They hold their state until something changes. Are.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Gates and Logic Dr John Cowell phones off (please)
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,
Boolean and Sequential Logic Last week – Basic Gates AND OR NOT NOR XOR NAND.
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.
US Demonstrate knowledge of the practical applications of logic circuits.
Boolean Algebra. LO:  Understand why Boolean algebra is used  Understand basic Boolean algebra notation  Understand why Boolean algebra is used  Understand.
Logic Gates Digital Logic Design. What is a logic gate? A switch with an output that will only turn on when inputs are in particular positions.
PHYSICS – Digital electronics. LEARNING OBJECTIVES Core Supplement Explain and use the terms analogue and digital in terms of continuous variation and.
Logic Gates Learning Objectives Learn that there is a one-to-one relationship between logic gates and Boolean expressions Learn how logic gates are combined.
Basics of Logic gates - Part 1
LOGIc gates Lesson Objectives: George Boole, ( )
Logic Gates and Boolean Algebra
Logic Gates.
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.
Transistors and Logic Circuits
Logic Gates.
Exclusive OR Gate.
Chapter 2.3 Binary Logic.
Digital electronics and logic gates
Computers Logic Gates.
LOGIc gates Objectives: George Boole, ( )
Basic Logical Operations (Fascinating)
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Practice #Digital Logic Mr. Burleson
Thursday, 22 November 2018 Logic Gates
All very logical I think!
Waveforms & Timing Diagrams
Logic Gates.
JC Technology Logic Gates.
Logic Gates.
KS4 Electricity – Electronic systems
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
GCSE Computer Science – Logic Gates & Boolean Expressions
Logic Gates.
Implementing a generic logic function in CMOS
Logic Gates Logic Gates Gateway To Technology
Truth tables Mrs. Palmer.
Logic Gates AIM: To know the different types of logic gate
Basic Logic Operations
Introduction to Logic diagrams and truth tables
Introduction to Logic diagrams and truth tables
What are Logic Gates?.
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Presentation transcript:

LO: Were learning to understand how logic applies to us when building applications.

A logic gate is a digital circuit which either allows a signal to pass through it or to stop it. There are seven basic logic gates: AND, OR, XOR, NOT, NAND, NOR, and XNOR.

NOT GATE Input Output NOT GATE HEAT DETECTOR (ABOVE 20 C) CENTRAL HEATING

c c AND GATE AND GATE ON SWITCH FOR ALARM PERSON SENSOR BURGLAR ALARM Input Output

OR GATE Input OR GATE FRONT DOORBELL SWITCH BACK DOORBELL SWITCH DOORBELL

It is important to remember the rules of each gate. For example The NOT gate has only one input and therefore only has one output. The truth table below has been started for you, see if you can finish it… INPUT AOUTPUT X 1 1

Using these rules, see if you can finish the other two truth tables. The output is "true" if either or both of the inputs are "true." If both inputs are "false," then the output is "false. – OR The output is "true" when both inputs are "true. Otherwise, the output is "false. - AND

? ? ? ? YES, She/He is OK Good dancer Good at sport Blue eyes Has a big nose Name the logic gates. Test it by answering True or false (Yes or No) for each Input. Task – Create a pattern of logic gates to find out if something is suitable. It could be the perfect video game or CD to listen to.

Now that you understand the rules, it time to apply it to TouchDevelop. Youve learnt about 3 different gates, you may need to compare items before making algorithms in the future. Can you think of things you might need to compare in a game?

1.Using the lesson 10 video, create the 3 logic gates as 3 separate programmes. 2.Publish the program with your name so that your teacher can search or it. 3.Once your teacher is happy with your Logic gates, see if you can create variables and repeat the logic gates you illustrated previously.

Your teacher might pass around 3 torches around the room. The teacher has one input Another student is the second input. The 3 rd student will need to turn the 3 rd torch, on or off based on the gate mentioned by the teacher.