GCSE Computing#BristolMet Session Objectives#5 MUST explain why data is represented in computer systems in binary SHOULD understand and produce simple.

Slides:



Advertisements
Similar presentations
Logic Making decisions
Advertisements

A Simple ALU Binary Logic.
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.
Discrete Mathematical Structures: Theory and Applications
Logic Gates.
Digital logic gates.
Department of Computer and Information Science, School of Science, IUPUI CSCI 240 Digital Logic.
CT455: Computer Organization Logic gate
Computer Science 210 Computer Organization Introduction to Logic Circuits.
CS 151 Digital Systems Design Lecture 5 Boolean Algebra.
Logic Circuits Situations to explain states What is a logic Gate
Logic Gates & Circuits. AND Gate Input AInput BOutput X AND Logic Gate AND Truth Table X = A. B AND Boolean Expression.
Module 3 Combinational and Sequential Logic Circuit By: Cesar Mendoza.
Lesson Objectives Understand and produce simple logic diagrams using the operation NOT, AND and OR Produce a truth table from a given logic diagram.
Chapter 3 Digital Logic Structures
topics Logic gates Gates types Universal gates
Computer Logic & Logic Gates Justin Champion. IITCT Contents Introduction to Logic Look at the different Logic Gates Summary.
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.
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.
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.
GCSE Computing: A451 Computer Systems & Programming Activity 1 Grab a whiteboard and pen, come to the front and work out the.
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.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
A-Level Computing#BristolMet Session Objectives#6 MUST understand and produce simple logic diagrams using the operations NOT, AND and OR SHOULD explain.
Teaching Computing to GCSE Level with Python Session 3.
1 GCSE Computing Binary Logic. GCSE Computing 2 Candidates should be able to understand and produce simple logic diagrams using the operations NOT, AND,
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.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
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.
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.
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
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
Objectives Construct truth tables for the following logic gates:
Truth tables Mrs. Palmer.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

GCSE Computing#BristolMet Session Objectives#5 MUST explain why data is represented in computer systems in binary SHOULD understand and produce simple logic diagrams using the operations NOT, AND and OR COULD construct a truth tables from a given logic diagram Create a program using the LMC to calculate the perimeter of any given quadrilateral. Try to design it so that it gives a running total.

GCSE 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...

GCSE 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.

GCSE 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

GCSE 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

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

GCSE 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

GCSE 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

GCSE 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)

GCSE 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.