Computer Science 105 Logic What do AND, OR, and NOT do? What is True and what is False? Preview Questions:

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Computer Science 210 Computer Organization Introduction to Logic Circuits.
Programmable Logic Controllers.
Computer Systems – Logic Gates Introduce the basic logic gates Introduce truth tables Introduce Boolean algebra (dont panic!) Examples of combining gates.
CDA 3100 Recitation Week 10.
Computer Science & Engineering 2111 IF and Boolean Functions 1 CSE 2111 Lecture-IF and Boolean Functions.
IEEE’s Hands on Practical Electronics (HOPE) Lesson 9: CMOS, Digital Logic.
BOOlean Logic The basis for digital electronics..
Combinational Logic Design An Overview © 2014 Project Lead The Way, Inc.Digital Electronics.
Bevel Gear. 1. What is the position of the input shaft compared to the output shaft? Bevel Gear Perpendicular.
Shannon’s Expansion Muxes and Encoders. Tri-State Buffers  A tri-state buffer has one input x, one output f and one control line e Z means high impedance,
Computer Science 101 Circuit Design Algorithm. Circuit Design - The Problem The problem is to design a circuit that accomplishes a specified task. The.
Computer Science 101 The Boolean System. George Boole British mathematician ( ) Boolean algebra –Logic –Set theory –Circuits –Conditions in if.
CPSC 171 Introduction to Computer Science Boolean Logic, Gates, & Circuits.
Think about the following expression If the number entered is greater than 15 but less than 25 or the number is 100 and the letter chosen is after p but.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Today’s Agenda 1.Research Paper –Rough draft due Mon, Feb. 11 –Peer edit session on Wed, Feb. 13 –Final version due Wed, Feb. 20 –Oral presentation Tues,
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
Digital Electronics Combinational Logic An Overview.
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.
EE2420 – Digital Logic Summer II 2013 Hassan Salamy Ingram School of Engineering Texas State University Set 4: Other Gates.
Islamic University Of Gaza, Nael Aburas Data Storage Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas
BASIC LOGIC GATES. In studying digital in integrated circuits, one must start with the simples group of circuits, the SSIs or Small Scale Integrated Circuits.
Driven Drive Simple Gear B. 2. What is the position of the input shaft compared to the output shaft? Simple Gear B Parallel.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
A: A: double “4” A: “34” 4.
BOOLEAN ALGEBRA BIRLA VISHVAKARMA MAHAVDYALAYA V. V. NAGAR Guided By: Prof. P. B. Swadas Prepared By:
Computer Engineering page 1 Integer arithmetic Depends what you mean by “integer”. Assume at 3-bit string. –Then we define: zero = 000 one = 001 Use zero,
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 Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
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.
The basis for digital electronics.
CPS120 Introduction to Computer Science
Creating logic gates with Minecraft
Logic Gates.
Computer Science 210 Computer Organization
CSIS-110 Introduction to Computer Science
Minecraft Logic Gates!.
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Computer Science 210 Computer Organization
Review Operation Bingo
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Applications of Propositional Logic
Logisim Getting Started.
For OCR GCSE Computing Unit 1 - Theory
searching Concept: Linear search Binary search
Computer Science 210 Computer Organization
Boolean Logic In today’s lesson we will look at:
Logic Gates.
Digital Logic.
KS4 Electricity – Electronic systems
Combinational Logic - An Overview
Digital Logic.
CS 206D Computer Organization
Binary Logic.
Truth tables Mrs. Palmer.
Adder, Subtructer, Encoder, Decoder, Multiplexer, Demultiplexer
Topics discussed in this section:
Logically, the output will be 1
Further binary, Logic diagrams and truth tables
Combinational Logic - An Overview
What are Logic Gates?.
Presentation transcript:

Computer Science 105 Logic What do AND, OR, and NOT do? What is True and what is False? Preview Questions:

# 2# 2 CS 105 Fall 2006 Boolean Logic Computers don't know anything about True and False They only know 1 and 0. How do we "encode" True and False? We choose 1 as True and 0 as False.

# 3# 3 CS 105 Fall 2006 Using Boolean Logic with a circuit Door Open Keys in Ignition AND BUZZ!!!

# 4# 4 CS 105 Fall 2006 Using Boolean Logic with a circuit Car in Gear Seat Belt Buckled AND NOT BUZZ!!! Yes, it is in gear Buckled input signal is 0 Oops—not buckled!

# 5# 5 CS 105 Fall 2006 Putting it all together Car in Gear Seat Belt Buckled AND BUZZ!!! NOT OR Door Open Keys in Ignition AND

# 6# 6 CS 105 Fall 2006 What does an OR do? OR is not fussy. OR will send a TRUE result if any of its input is TRUE.

# 7# 7 CS 105 Fall 2006 What does AND do? AND will only give a TRUE result (that is, a binary 1) if all input is TRUE.

# 8# 8 CS 105 Fall 2006 What does NOT do? NOT returns the opposite of the input. It only needs one item, not 2, to examine. If the data is True, NOT returns False, and if the data is False, NOT returns True. “The Inverter”

# 9# 9 CS 105 Fall 2006 How many of you do online searching?

# 10 CS 105 Fall 2006 Online Searching How this works with search engines:

# 11 CS 105 Fall 2006 To summarize: What do AND, OR, and NOT do? What is True and what is False?