2.2.5

Boolean Operators

Test yourself

Boolean Operators

Boolean operators perform logical operations and always result in True or False values.

Illustrative background for ANDIllustrative background for AND ?? "content

AND

  • AND evaluates to True if and only if both operands are True.
    • True AND True = True.
    • True AND False = False.
    • False AND True = False.
    • False AND False = False.
Illustrative background for ORIllustrative background for OR ?? "content

OR

  • OR evaluates to True if any of the two operands are True:
    • True OR True = True.
    • True OR False = True.
    • False OR True = True.
    • False OR False = False.
Illustrative background for NOTIllustrative background for NOT ?? "content

NOT

  • NOT negates a logical value.
    • NOT True = False.
    • NOT False = True.

Jump to other topics

1Computer Systems

1.1Systems Architecture

1.2Memory & Storage

1.3Computer Networks, Connections & Protocols

1.4Network Security

1.5Systems Software

1.6Ethical, Legal, Cultural & Environmental Concern

2Computational Thinking, Algorithms and Programming

Go student ad image

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson