GCSE OCR Computing A451 Binary logic 2-1-2 Computing hardware 6.

Slides:



Advertisements
Similar presentations
DAT2343 Basic Logic Gates © Alan T. Pinck / Algonquin College; 2003.
Advertisements

CT455: Computer Organization Logic gate
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.
Programming for GCSE Topic 9.1: Logic Circuits T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science Queen Mary.
Lesson Objectives Understand and produce simple logic diagrams using the operation NOT, AND and OR Produce a truth table from a given logic diagram.
James Tam Basic Logical Operations (Fascinating) In this section you will learn some basic logical operations and how to evaluate expressions Image from.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Fourth Edition.
Gates CS105. Electrical Signals Transmission of data Any electrical signal has a level of voltage – Interpretation of 1s and 0s Generally speaking: –
Boolean Logic & Truth Tables In today’s lesson we will look at: a reminder about truth values and NOT, AND, OR and EOR truth tables operator precedence.
In a not gate, if the input is on(1) the output is off (0) and vice versa.
3. DIGITAL ELECTRONICS..
CPSC 171 Introduction to Computer Science Boolean Logic, Gates, & Circuits.
Test #1 rescheduled to next Tuesday, 09/20/05 The contents will cover chapter 1, 2, and part of Chapter 4. The contents will cover chapter 1, 2, and part.
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.
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.
CSCI-235 Micro-Computers in Science Hardware Design Part I.
Activity 1 Revise / remember what the term ‘binary logic’ means. What do each of the following look like: NOT gate? AND gate? OR gate? 5 minutes.
GCSE Computing: A451 Computer Systems & Programming Activity 1 Grab a whiteboard and pen, come to the front and work out the.
Chapter 2: Binary logic OCR Computing for GCSE © Hodder Education 2011.
Introduction to Digital Logic and Circuits EE 101, Fall 2015 University of Kentucky.
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.
Combination of logic gates  Logic gates can be combined to produce more complex functions.  They can also be combined to substitute one type of gate.
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.
Teaching Computing to GCSE Level with Python Session 3.
Boolean and Sequential Logic Last week – Basic Gates AND OR NOT NOR XOR NAND.
1 GCSE Computing Binary Logic. GCSE Computing 2 Candidates should be able to understand and produce simple logic diagrams using the operations NOT, AND,
Activity 1 Revise/research what the word binary means Revise/research what the word logic means 5 minutes.
S3 INNOVATION ELECTRONICS. LESSON TITLE: ELECTRONICS Learning Intention: To understand when to use different types of logic gates Activity: Building own.
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.
Activity 1 Grab a whiteboard and pen, come to the front and work out the Truth Table for the following circuit: 5 minutes R A B C Q.
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.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
Logic Gates Review. Logic Gates OR gate – 1 if either input is 1 – 0 if they both are 0.
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.
Logic gates.
Unit 1 Logical operators.
Activity 1 5 minutes Grab a whiteboard and pen, come to the front and work out the Truth Table for the following circuit: R A B C Q.
Creating logic gates with Minecraft
Digital Logic.
Lesson Objectives Aims You should be able to:
Component 1 Logical operators.
Logic Gates and Boolean Algebra
Logic Gates.
CSCI-100 Introduction to Computing
Chapter 2.3 Binary Logic.
Computer Fundamentals
Digital Signals Digital Signals have two basic states:
How Boolean logic is implemented
Computer Science 210 Computer Organization
Teaching Computing to GCSE
Thursday, 22 November 2018 Logic Gates
3.4 Computer systems Boolean logic Lesson 2.
For OCR GCSE Computing Unit 1 - Theory
Week 7: Gates and Circuits: PART II
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.
Adders.
GCSE Computer Science – Logic Gates & Boolean Expressions
Combinational Circuits
Binary Logic.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Objectives Construct truth tables for the following logic gates:
Truth tables Mrs. Palmer.
Department of Electronics
Logically, the output will be 1
What are Logic Gates?.
Presentation transcript:

GCSE OCR Computing A451 Binary logic 2-1-2 Computing hardware 6

Objectives Explain why data is represented in computer systems in binary form Understand and produce simple logic diagrams using the operations NOT, AND and OR Produce a truth table from a given logic diagram

Why is binary so important? Reflected light Magnetic polarisation Power Trapped electrons

Why is binary so important? Fundamentally computers are electronic and can decide between two states – true or false, on or off, presence or absence of current and translate this into the binary representation of 1 or 0

Binary Logic As computers use transistors and capacitors to store binary data we can wire them together to make simple logical calculations These simple circuits are known as logic gates There are three fundamental gates you know need to know about: NOT gate AND gate OR gate

Boolean Algebra: P = NOT A Binary Logic – NOT gate If 0 is input it outputs 1 If 1 is input it outputs 0 INPUT A OUTPUT P Boolean Algebra: P = NOT A A P 1 Logic Diagram Truth Table

Boolean Algebra: P = A AND B Binary Logic – AND gate If both inputs are 1 then the output is 1 Otherwise the output is 0 A B P 1 INPUT A B OUTPUT P Boolean Algebra: P = A AND B Logic Diagram Truth Table

Boolean Algebra: P = A OR B Binary Logic – OR gate If either input is 1 then the output is 1 Otherwise the output is 0 A B P 1 INPUT A B OUTPUT P Boolean Algebra: P = A OR B Logic Diagram Truth Table

Order of Precedence Brackets NOT AND OR When combining logic gates, there are certain rules to follow to ensure you complete the circuits correctly. A bit like in maths where you need to use BIDMAS, with logic gates you need to know the Order of precedence It is: Brackets NOT AND OR

Combining logic gates We can string logic gates together to make more complex circuits INPUT A OUTPUT R P A B R = A AND B P = NOT R 1 Boolean Algebra: P = NOT (A AND B)

Combining logic gates We can string logic gates together to make more complex circuits OUTPUT R INPUT A OUTPUT P INPUT A A B R = A AND B P = NOT R 1 Boolean Algebra: P = NOT (A AND B)

Combining logic gates We can string logic gates together to make more complex circuits OUTPUT R INPUT A OUTPUT P INPUT A A B R = A AND B P = NOT R 1 Boolean Algebra: P = NOT (A AND B)

Increasing the number of inputs What happens if we had three inputs. How many possible combinations are there now? 32 = 2 x 2 x 2 = 8 possible input combinations OUTPUT P INPUT A B C R Boolean Algebra: P = (A AND B) OR C

Combining logic gates A B C R = A AND B P = R OR C Boolean Algebra: OUTPUT P INPUT A INPUT B INPUT C R Boolean Algebra: P = (A AND B) OR C

Combining logic gates A B C R = A AND B P = R OR C 1 Boolean Algebra: 1 OUTPUT P INPUT A INPUT B INPUT C R Boolean Algebra: P = (A AND B) OR C

Practise makes perfect In the exam you will need to be able to do the following: Complete truth tables from a logic diagram Produce simple logic diagrams from Boolean algebra An excellent site to practise is: http://logic.ly