Great Ideas Alan Turing – What is computable? A task is computable if one can specify a sequence of instructions which when followed will result in the.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

1 Computer Programming Boolean Logic Copyright © Texas Education Agency, 2013.
INTRODUCTION LOGICAL OPERATIONS TRUTH TABLE AND RULES.
Microcomputer Circuits Prof Jess UEAB 2007 Designing a Microprocessor Chapter 1.
Sahar Mosleh PageCalifornia State University San Marcos 1 Introductory Concepts This section of the course introduces the concept of digital circuits and.
Cosc 2150: Computer Organization Chapter 3: Boolean Algebra and Digital Logic.
Data Storage – Part 1 CS 1 Introduction to Computers and Computer Technology Rick Graziani Fall 2013.
Lecture 2 Dr Richard Reilly Dept. of Electronic & Electrical Engineering Room 153, Engineering Building To insert your company logo on this slide From.
Module 7 Hardware. Introduction Switches are the basic blocks of computer hardware. We build increasingly complex hardware from these simple switches.
Chapter 4 Gates and Circuits.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Copyright © Cengage Learning. All rights reserved. CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS.
Great Ideas Alan Turing – What is computable? A task is computable if one can specify a sequence of instructions which when followed will result in the.
Self-reproducing programs. And Introduction to logic. COS 116: 3/6/2008 Sanjeev Arora.
Logic Gate A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs. The output signal appears only.
3. DIGITAL ELECTRONICS..
Welcome Aboard – Chapter 1 COMP 2610 Dr. James Money COMP
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
Digital Systems Presented by Prof Tim Johnson
Boolean Logic By: Arthur Brooks February 25, 2003 Think, Speak, and Write Computer Science.
Chapter 4 Gates and Circuits.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Binary Logic.
CSCI-235 Micro-Computers in Science Hardware Design Part I.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
CSC 107 – Programming For Science. Follow-Up From Last Lecture.
CSC Intro. to Computing Lecture 5: Boolean Logic, Gates, & Circuits.
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.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
Discrete Mathematics and Its Applications.  The English mathematician George Boole ( ) sought to give symbolic form to Aristotle's system of.
Introduction to Chapter 3  Now that we understand the concept of binary numbers, we will study ways of describing how systems using binary logic levels.
Chapter 1 Introduction.
CSCI-100 Introduction to Computing Hardware Design Part I.
A-Level Computing#BristolMet Session Objectives#6 MUST understand and produce simple logic diagrams using the operations NOT, AND and OR SHOULD explain.
CSC 107 – Programming For Science. George Boole  Mathematician from English middle-class  Lived from 1815 – 1864  Started work at age 16 as a teaching.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Lecture 4 Boolean Algebra. Logical Statements °A proposition that may or may not be true: Today is Monday Today is Sunday It is raining °Compound Statements.
Boolean Algebra and Logic Gates CSE-1108 Ahsanullah University of Science and Technology (AUST)
Who invented the computer?
CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits Lecture 5: Binary Logic and Gates.
Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
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.
Great Ideas Alan Turing – What is computable? A task is computable if one can specify a sequence of instructions which when followed will result in the.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
BOOLEAN ALGEBRA BIRLA VISHVAKARMA MAHAVDYALAYA V. V. NAGAR Guided By: Prof. P. B. Swadas Prepared By:
Abstraction. Not real, not concrete A view that is removed from the reality Definitely has a "base" in reality – the "base" may be non-intuitive and not.
Logic gates.
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Basics of Logic gates - Part 1
Morgan Kaufmann Publishers
Logic Gates.
Computer Science 210 Computer Organization
CSCI-100 Introduction to Computing
CS140 Lecture 03: The Machinery of Computation: Combinational Logic
Digital Signals Digital Signals have two basic states:
Chapter 4 Gates and Circuits.
CS140 Lecture 02a: The Machinery of Computation: Circuits and Gates
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Computer Science 210 Computer Organization
Understand the interaction between computer hardware and software
Truth tables Mrs. Palmer.
Introductory Concepts
Copyright © Cengage Learning. All rights reserved.
Boolean Algebra and Gate Networks
COMPUTER ORGANIZATION
Presentation transcript:

Great Ideas Alan Turing – What is computable? A task is computable if one can specify a sequence of instructions which when followed will result in the completion of the task. John Von Neumann – Stored program concept Developed the concept of storing a program in the computer’s memory rather than it’s circuitry Copyright © 2008 by Helene G. Kershner

Great Ideas Technological advances Vacuum tube  transistor  integrated circuits (multiple transistors on a chip)  VLSI (very large scale integration) Microprocessor chip – computer on a chip High level programming language – people can build “user friendly” software” Changes in memory device hardware Storing information digitally, making use of the concept that computers work with two states: on/off, 1/0, yes/no, high current/low current The computer is a binary machine Copyright © 2008 by Helene G. Kershner

Great Ideas The computer is a binary machine Perform mathematics Perform operations on letters that form words Represent images in grayscale and color Represent sound Copyright © 2008 by Helene G. Kershner

The computer is a binary machine Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra An algebra for symbolically representing problems in logic & analyzing them mathematically Based on work of George Boole English mathematician An Investigation of the Laws of Thought Published in 1854 Reduced logic of human thought to mathematical operations An analysis of how natural language works if it were logical Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra In 1938 Claude E. Shannon of MIT Showed that Boolean logic could be applied to the design of relay networks in telephone systems (the ability to switch signals from one place to another automatically) Invented branch of mathematics called Information Theory Applied Boolean algebra to certain engineering problems systems Today, boolean algebra, as applied to computer logic design is also known as switching theory. Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Boolean Logic is an abstraction. Definition -- Abstraction: Is the process of taking away or removing characteristics from something in order to reduce it to a set of essential characteristics (Whatis.com) not concrete: not relating to concrete objects but expressing something that can only be appreciated intellectually (Encarta.msn.com) Considered apart from concrete existence: an abstract concept ( Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Computer are very complex Designing hardware and software is very complicated Abstraction allows the designer to be separated from the machine to get a clearer picture of what needs to be done. allows us to drive a car without knowing how the engine works allows computer users to work with the hardware without knowing exactly how the machine does what it does. Add a flash stick, the software will recognize it Plug in a digital camera and the software will find it Move music onto my iPod from the hard-drive without having any real idea what the computer is doing. Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Basic Computer Components Switches On/off, high current / low current, 1/0 Connectors Wires that connect switches – pipes Must be able to branch, one or more paths Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Logic Gates Hardware interpretation of boolean logic Universal building blocks AND OR NOT From these basic elements, we can design anything Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Different and equal ways to represent this kind of logic Using the English works AND, OR, NOT Using Mathematical symbols Λ, ۰ (means AND) V, + (means OR) ~, ¯ (means NOT) Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Different and equal ways to represent this kind of logic Engineering symbols inverter Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Logic can be applied to statements. Statements have the property of either being True (T, 1) or False (F, 0). Not everything we say is a statement because it cannot be thought of as having the value of either True or False. Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Look at statements that can be determined to be true or false. I think therefore I am. This can be either true or false Yesterday my daughter in college called needing money. This can be either true or false My son lives in Washington DC. This can also be either true or false Bozo the Clown will be the next president. This too can be true or false Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Look at statements that cannot be to be true or false. A Question is not a statement: What time is it? While an answer to a question may be Yes or No, the statement is neither true or false: Is it 3 o’clock? A command is not a statement: You MUST get an A in this class! Turn at the next corner. Wishes are not statements: I’d like to make a million dollars. Have a Happy Thanksgiving. Copyright © 2008 by Helene G. Kershner

Boolean Logic / Boolean Algebra Different and equal ways to represent this kind of logic Truth Tables Visually shows true/false values and the results (inputs and outputs) of a logic example. Describes what is happening in a logic gate or logic statement Uses T/F, 1/0 Copyright © 2008 by Helene G. Kershner

Logic -- AND AND combines two statements/inputs either one of which can be True or False A statement using AND is only true if both parts of the sentence are true I like ice cream AND chocolate. Hillary Clinton AND Barak Obama are running for president. Copyright © 2008 by Helene G. Kershner

Logic -- AND I like ice cream AND chocolate. Truth table identifies the possibilities for AND: I like ice cream AND I like chocolate Result F F F F T F T F F T T T Copyright © 2008 by Helene G. Kershner

Logic -- AND A: I like ice cream B: I like chocolate A AND B Result A AND B R F F F F T F T F F T T T Copyright © 2008 by Helene G. Kershner

Logic -- AND A: John likes apples B: Joe likes grapes A AND B R Copyright © 2008 by Helene G. Kershner

Logic -- AND In English as in logic more than two things can be ANDed together. Hillary Clinton AND Barak Obama AND John Edwards are running for President – for this statement to be True, all parts must be True Hillary AND Barak AND John Result A B C R Copyright © 2008 by Helene G. Kershner

Logic – OR OR combines two statements/inputs either one of which can be True or False A statement using OR is true if either parts of the sentence is true. I like mango OR chocolate ice cream. In yesterday’s primary, as a democrat I could choose Barak Obama OR Hillary Clinton for president. Copyright © 2008 by Helene G. Kershner

Logic – OR In yesterday’s primary, as a democrat I could choose Barak Obama OR Hillary Clinton for president. Truth table identifies the possibilities for OR: I like ice cream OR I like chocolate Result F F F F T T T F T T T T Copyright © 2008 by Helene G. Kershner

Logic – OR A: I voted for Barak B: I voted for Hillary A OR B Result A OR B R F F F F T T T F T T T T Copyright © 2008 by Helene G. Kershner

Logic – OR A: I voted for a Democrat B: I voted for a Republican A OR B R Copyright © 2008 by Helene G. Kershner

Logic – OR In English as in logic more than two things can be ORed together. Yesterday I voted for Hillary Clinton OR Barak Obama ORJohn McCain for President – for this statement to be True, one of the parts must be True. Hillary AND Barak AND John Result A B C R Copyright © 2008 by Helene G. Kershner

Logic – NOT/Invert The NOT command, flips or Inverts the value it is given. The operation switches that statement between True and False I am a liberal Democrat. I will NOT vote for John McCain NOT John McCain is the INVERT or opposite of John McCain A = I eat peanut-butter NOT A means I do NOT eat peanut-butter If A is True, then NOT A is False If A is False, then NOT A is True A = I love peanut-butter For me A is False, so NOT A would be True

Logic – NOT/Invert Truth Table A NOT A = ~A 01 10

Logic Symbols – Order of Operations Order of Operations: In a logic statement using the three operators we have learned the order is Parenthesis () NOT  NOT, ~ ¯¯ AND  AND, ۰, Λ OR  OR, +, V

Logic Logic problems can relate back to English statements: A newly constructed building has three types of security alarms. It has an intrusion alarm, a fire alarm and a flood alarm. If the intrusion or fire alarm goes off then the police department is called. If the fire or flood alarm goes off then the fire department is called. But if the flood alarm goes off don’t call the police. And if the intrusion alarm goes off don’t call the fire department. A = intrusion alarm A OR B = Police B = fire alarm C = flood alarm B OR C = Fire Department