4.3.3

Boolean Logic

Test yourself

Evaluating Expressions

Logic gates can be combined to form logic circuits that process complex logical statements such as A AND (B OR C).

Illustrative background for Evaluating boolean expressionsIllustrative background for Evaluating boolean expressions ?? "content

Evaluating boolean expressions

  • To evaluate a boolean expression, you should substitute all of the values in for the variables and then use the definitions of the different boolean functions to simplify it one step at a time.
Illustrative background for Order of evaluationIllustrative background for Order of evaluation ?? "content

Order of evaluation

  • You should evaluate any expression in brackets first, for example:
    • NOT(True OR False).
    • NOT(True).
    • False.
Illustrative background for Truth tablesIllustrative background for Truth tables ?? "content

Truth tables

  • Another method of evaluating an expression is using a truth table.
  • A truth table shows every possible combination of inputs and the resulting output.
  • The truth table shows the input and output state for each combination.
  • The table can then be used to look up the output.

Evaluating Expressions

Logic gates can be combined to form logic circuits that process complex logical statements such as A AND (B OR C).

Illustrative background for Evaluating Boolean expressionsIllustrative background for Evaluating Boolean expressions ?? "content

Evaluating Boolean expressions

  • To evaluate a Boolean expression, you should substitute all of the values in for the variables and then use the definitions of the different Boolean functions to simplify it one step at a time.
Illustrative background for Order of evaluationIllustrative background for Order of evaluation ?? "content

Order of evaluation

  • You should evaluate any expression in brackets first, for example:
    • NOT(True OR False).
    • NOT(True).
    • False.
Illustrative background for Truth tablesIllustrative background for Truth tables ?? "content

Truth tables

  • Another method of evaluating an expression is using a truth table.
  • A truth table shows every possible combination of inputs and the resulting output.
  • The truth table shows the input and output state for each combination.
  • The table can then be used to look up the output.

Jump to other topics

1Problem Solving

2Programming

3Data

4Computers

5Communication & The Internet

6The Bigger Picture

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