Presentation is loading. Please wait.

Presentation is loading. Please wait.

GCSE Computer Science – Logic Gates & Boolean Expressions

Similar presentations


Presentation on theme: "GCSE Computer Science – Logic Gates & Boolean Expressions"— Presentation transcript:

1 GCSE Computer Science – Logic Gates & Boolean Expressions
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem Logic Gates And Boolean Expressions GCSE Computer Science – Logic Gates & Boolean Expressions

2 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem NOT NOT gates are the only gate that has a single input. They reverse the input: If 1 is passed in, then 0 is passed out If 0 is passed in, then 1 is passed out Draw a Truth Table for a NOT gate. Input Output 1 GCSE Computer Science – Logic Gates

3 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem AND AND gates have two inputs and a single input. They only output true if BOTH inputs are true In the case of logic gates, 1 = True and 0 = False Draw a Truth Table for an AND gate. Input A Input B Output 1 GCSE Computer Science – Logic Gates

4 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem OR OR gates have two inputs and a single input. They output true if EITHER of the inputs are true Where have you seen OR used in your programmes? Draw a Truth Table for an OR gate. Input A Input B Output 1 GCSE Computer Science – Logic Gates

5 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem NAND NAND gates are a combination of a NOT & an AND gate They output true if EITHER of the inputs are NOT True Notice the nose added to the AND gate symbol – that’s the nose from the NOT gate Draw a Truth Table for a NAND gate. Input A Input B Output 1 GCSE Computer Science – Logic Gates

6 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem NOR NOR gates are a combination of a NOT & an OR gate They output true if BOTH of the inputs are False Notice the nose added to the OR gate symbol – that’s the nose from the NOT gate Draw a Truth Table for a NOR gate. Input A Input B Output 1 GCSE Computer Science – Logic Gates

7 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem XOR XOR gates are a special gate known as Exclusive OR They output true if one input is True and the other is False In a Boolean Expression, these are written as ⊕ Draw a Truth Table for a XOR gate. Input A Input B Output 1 GCSE Computer Science – Logic Gates

8 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem GCSE Computer Science – Logic Gates

9 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem GCSE Computer Science – Logic Gates

10 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem GCSE Computer Science – Logic Gates

11 GCSE Computer Science – Logic Gates
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem GCSE Computer Science – Logic Gates

12 GCSE Computer Science – Boolean Equations
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem NOT When showing a symbol with a NOT, we use a ¬ symbol before the letter to represent the NOT gate. Write a Boolean Equation for the following problem: P is true when A is not True P = ¬ A GCSE Computer Science – Boolean Equations

13 GCSE Computer Science – Boolean Equations
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem AND When showing a symbol with an AND, we use a ^ symbol to represent the AND gate. Write a Boolean Equation for the following problem: P is true when A is not True and B is True P = ¬ A ^ B GCSE Computer Science – Boolean Equations

14 GCSE Computer Science – Boolean Equations
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem OR When showing a symbol with an OR, we use a v symbol to represent the OR gate. Write a Boolean Equation for the following problem: P is true when A is not True and B is True, or C is not true P = (¬ A ^ B) v ¬ C GCSE Computer Science – Boolean Equations

15 GCSE Computer Science – Boolean Equations
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem NAND Just like the NOT gate, we use a ¬ before the symbols, but the NAND gate draws the symbol before both inside brackets. Write a Boolean Equation for the following problem: P is true when A and B are not True, or C is true P = ¬(A ^ B) v C GCSE Computer Science – Boolean Equations

16 GCSE Computer Science – Boolean Equations
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem NOR Like the NAND gate, the NOR gate uses the ¬ symbol from the NOT in front of both symbols. Write a Boolean Equation for the following problem: P is true when A or B is not true, and C is true P = ¬(A v B) ^ C GCSE Computer Science – Boolean Equations

17 GCSE Computer Science – Boolean Equations
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem XOR As shown before, when we write an XOR in a Boolean Expression, we use the special symbol ⊕ - look closely and you’ll see that it uses an alternative for the OR symbol (+) and draws a circle around it to show it’s exclusive. Write a Boolean Equation for the following problem: P is true when A is not True and B is True, or B is not True and A is True P = A ⊕ B GCSE Computer Science – Boolean Equations

18 GCSE Computer Science – Exam Practice
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem GCSE Computer Science – Exam Practice

19 GCSE Computer Science – Exam Practice
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem Draw the circuit diagram that will represent the expression P = NOT (A AND B) GCSE Computer Science – Exam Practice

20 GCSE Computer Science – Exam Practice
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem GCSE Computer Science – Exam Practice

21 GCSE Computer Science – Exam Practice
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem GCSE Computer Science – Exam Practice

22 GCSE Computer Science – Exam Practice
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem GCSE Computer Science – Exam Practice

23 GCSE Computer Science – More Help
Learning Objectives Use and create electronic circuits Understand and define logical functions Draw truth tables from a given circuit Recognise logic gates from a given truth table Produce a logic circuit to solve a given problem More Help @TeachAllAboutIT GCSE Computer Science – More Help


Download ppt "GCSE Computer Science – Logic Gates & Boolean Expressions"

Similar presentations


Ads by Google