A-Level Computing#BristolMet Session Objectives#6 MUST understand and produce simple logic diagrams using the operations NOT, AND and OR SHOULD explain.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Computer Science 210 Computer Organization Introduction to Logic Circuits.
GCSE Computing#BristolMet Session Objectives#5 MUST explain why data is represented in computer systems in binary SHOULD understand and produce simple.
IEEE’s Hands on Practical Electronics (HOPE) Lesson 9: CMOS, Digital Logic.
Boolean Algebra and Logic Gate
1 Boolean Algebra & Logic Design. 2 Developed by George Boole in the 1850s Mathematical theory of logic. Shannon was the first to use Boolean Algebra.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Boolean Algebra and Truth Table The mathematics associated with binary number system (or logic) is call Boolean: –“0” and “1”, or “False” and “True” –Calculation.
In a not gate, if the input is on(1) the output is off (0) and vice versa.
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
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.
Logic Circuits In today’s lesson we will look at: the symbols for NOT, AND, OR and EOR using truth tables to represent logic circuits two new operators.
3. DIGITAL ELECTRONICS..
Computer Science 101 The Boolean System. George Boole British mathematician ( ) Boolean algebra –Logic –Set theory –Circuits –Conditions in if.
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.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Binary Logic.
TODAY YOU ARE LEARNING to explain why data is represented in computer systems in binary form 2. to understand and produce simple logic diagrams.
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.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Teaching Computing to GCSE Level with Python Session 3.
ITEC 352 Lecture 3 Low level components(2). Low-level components Review Electricity Transistors Gates Really simple circuit.
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
Boolean and Sequential Logic Last week – Basic Gates AND OR NOT NOR XOR NAND.
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.
Logic Gates and Boolean Algebra Introduction to Logic II.
Boolean Algebra. LO:  Understand why Boolean algebra is used  Understand basic Boolean algebra notation  Understand why Boolean algebra is used  Understand.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
GCSE Computing – Topic 2 Lesson 5a – Binary Logic CHALLENGE TO: identify the different types of logic diagrams. ASPIRE TO: Construct a truth table for.
Boolean Algebra Learning Objectives Learn that Boolean algebra produces a result that equals TRUE or FALSE Learn how truth tables are used to represent.
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.
Logic gates.
Boolean Algebra & Logic Gates
CPS120 Introduction to Computer Science
Unit 1 Logical operators.
GCSE OCR Computing A451 Binary logic Computing hardware 6.
Creating logic gates with Minecraft
Basics of Logic gates - Part 1
Digital Logic.
Morgan Kaufmann Publishers
Component 1 Logical operators.
Logic Gates and Boolean Algebra
Logic Gates.
Computer Science 210 Computer Organization
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
Chapter 2.3 Binary Logic.
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Fundamentals & Ethics of Information Systems IS 201
Computer Science 210 Computer Organization
Agenda – 2/12/18 Questions? Readings: CSI 4, P
3.4 Computer systems Boolean logic Lesson 2.
For OCR GCSE Computing Unit 1 - Theory
Computer Science 210 Computer Organization
Logic Gates.
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.
KS4 Electricity – Electronic systems
GCSE Computer Science – Logic Gates & Boolean Expressions
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.
Chapter 4 Gates and Circuits.
Some basic electronics and truth tables
Truth tables Mrs. Palmer.
Logic Gates AIM: To know the different types of logic gate
Introduction to Logic diagrams and truth tables
Further binary, Logic diagrams and truth tables
Introduction to Logic diagrams and truth tables
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

A-Level Computing#BristolMet Session Objectives#6 MUST understand and produce simple logic diagrams using the operations NOT, AND and OR SHOULD explain why data is represented in computer systems in binary COULD construct a truth tables from a given logic diagram Create a program in yousrc to calculate gcse grades.

A-Level Computing#BristolMet Binary Logic Starter: A lily pad doubles in size everyday. It takes 30 whole days to fill up the whole pond, how many days did it take to fill half the pond? Prove your answer...

A-Level Computing#BristolMet Binary Logic We know that from von Neumann and the principle that all modern computers, data and instructions are based on the binary system (base 2). This is due to the ease in which 2 states can recognised – 0 and 1, on and off, true or false – by using simple transistors and capacitors. transistor capacitor Memory uses very small transistors and capacitors which can be linked together to make simple logical calculations: e.g are both inputs 1? or is only one input 1? These simple circuits are called Logic Gates.

A-Level Computing#BristolMet Logic Gates There main gates are as follows: 1. NOT gate – it outputs the opposite of the input i.e input = 1, then output = 0, and vice versa. Truth Tables are used to express the relationship between input and output. (Algebraic values are used, ABC etc for input and PQR for output) AP Input Output

A-Level Computing#BristolMet Logic Gates 2. AND gate – this tells us if both inputs are 1 by outputting 1, otherwise the output will be 0 e.g 3. OR gate – shows that either 1 OR 2 inputs are on by outputting 1, otherwise output is 0. e.g ABP ABP

A-Level Computing#BristolMet Logic Gate Diagrams Each gate is represented by a different symbol: NOT gate AND gate OR gate INPUT OUTPUT

A-Level Computing#BristolMet Logic Circuits Logic gates can be joined together to make more complex logic circuits. A common combination is the NAND circuit (Not AND) which frustratingly is a AND followed by a NOT gate. Similarly a NOR is an OR followed by a NOT. NAND – basically toggles the AND so that if both inputs are 1 then 0 will be output, otherwise 1 is output. Output R Output P ABR= A AND BP=NOT R

A-Level Computing#BristolMet Logic Circuits This example has 3 inputs, 2 in the AND (A&B), outputting to an OR at P, and 1 directly into the OR. The resulting truth table is calculated: P ABCP=A AND BQ = P OR C

A-Level Computing#BristolMet Boolean Algebra These logic circuits can be written down using mathematical expersions called Boolean algebra (named after Mathematician George Boole). i.e Q = (A AND B) OR C TASKS – Draw logic circuits and truth tables for the following a)P=NOT(A AND B) b)P=NOT(A OR B) c)P=A AND NOT (B) d)A AND NOT(B OR C)

A-Level Computing#BristolMet Boolean Programming Boolean algebra is used in programming to perform many instruction. For example IF statements and While loops IF x >10 then... ELSE.... __________________ WHILE x < 10 AND NOT (end of file) DO Now try some simple programming using Ifs and Loops in Yousrc.