GCSE

Computer Science

  1. Introduction to GCSE Computer Science
  2. 1. Computer Systems

  3. 1.1 Systems Architecture
  4. 1.2 Memory and Storage
  5. 1.3 Computer Networks, Connections and Protocols
  6. 1.4 Network Security
  7. 1.5 Systems Software
  8. 1.6 Ethical, Legal, Cultural and Environmental Impacts of Digital Technology
  9. 2. Computational Thinking, Algorithms and Programming
  10. 2.1 Algorithms
  11. 2.2 Programming Fundamentals
  12. 2.3 Producing Robust Programs
  13. 2.4 Boolean Logic
  14. 2.5 Programming Languages and Integrated Development Environments
Module Progress
0 / 35 Lessons
0%
Learning
Summary
Revision

In this lesson, we will learn about simple logic diagrams, truth tables, and how to combine Boolean operators using AND, OR, and NOT. We'll exclusively use variables A and B in the diagrams to make the concepts clear.

Simple Logic Diagrams using AND, OR, and NOT

Boolean Logic involves three primary logical operators: AND (∧), OR (∨), and NOT (¬). These operators connect two binary input values (often represented by variables A and B) and produce an output value.

AND Operator (∧)

The AND operator requires both input values (A and B) to be TRUE (1) to produce a TRUE (1) output. If either A or B is FALSE (0), the output will be FALSE (0).

Figure 43. AND logic gate.

OR Operator (∨)

The OR operator produces a TRUE (1) output if at least one of the input values (A or B) is TRUE (1). It results in a FALSE (0) output only when both A and B are FALSE (0).

Figure 44. OR logic gate.

NOT Operator (¬)

The NOT operator negates the input value (outputs the opposite of the input). If the input A is TRUE (1), NOT produces FALSE (0), and vice versa.

Figure 45. NOT logic gate.

Continue learning with Knowness

Sign up to access the full lesson, predicted grades, revision tools, progress tracking, and more.

Create a free account