2.4.5

Boolean Operators

Test yourself

Boolean Operators

Boolean operators perform logical operations on boolean variables and always return another boolean variable.

Illustrative background for ANDIllustrative background for AND ?? "content

AND

  • AND evaluates to True (1) if and only if both operands are True (1).
  • '.' is the symbol for the AND operator.
Illustrative background for ORIllustrative background for OR ?? "content

OR

  • OR evaluates to True (1) if any of the two operands are True (1).
  • '+' is the symbol for the OR operator.
Illustrative background for NOT (negation)Illustrative background for NOT (negation) ?? "content

NOT (negation)

  • NOT negates a logical value.
  • The symbol for the NOT operator is a line above the variable.
  • For example, NOT AA is written as A\overline{A}.

Jump to other topics

1Computer Systems

1.1Data Representation

1.2Data Transmission

1.3Hardware

1.4Software

1.5The Internet & its Uses

1.6Cyber Security

1.7Automated & Emerging Technologies

2Algorithms, Programming & Logic

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium