Boolean Algebra and Logic Gates

Digital hardware is built from simple logic gates, and Boolean algebra is the language used to describe and design it. Learn to evaluate the AND, OR, NOT, NAND, NOR, XOR and XNOR operations with truth tables, use the laws of Boolean algebra and De Morgan's laws to prove identities and simplify expressions, and write any function as a sum of minterms or a product of maxterms. Then turn expressions into gate circuits and back, read both common sets of gate symbols, and see why NAND gates or NOR gates alone are enough to build any digital function.

BeginnerLesson 1 of 7 in Digital Logic Design Course

What you will learn

  1. Represent two-valued logic with Boolean variables, evaluate the basic and derived operators, and build a truth table for any expression.
    • Use the AND, OR and NOT operators
      Define Boolean variables and the three basic operators, read their different notations, and evaluate expressions in the correct order of operations.
    • Build truth tables for Boolean expressions
      List every input combination in standard order, evaluate an expression row by row, and use truth tables to define functions and test whether two expressions are equivalent.
    • Use the NAND, NOR, XOR and XNOR operators
      Define the derived operators, write them with AND, OR and NOT, and recognize their typical uses in parity, comparison and addition.
  2. Use the postulates, the theorems and De Morgan's laws to prove identities, complement functions and simplify expressions step by step.
    • Apply the postulates and single-variable theorems
      State the postulates of Boolean algebra, use the principle of duality, and apply the identity, null, idempotent, complement and involution laws.
    • Use absorption, consensus and other multivariable theorems
      Apply the associative, absorption, combining, redundant-literal and consensus theorems to rewrite expressions and recognize redundant terms.
    • Apply De Morgan's laws and complement functions
      Use De Morgan's laws for two or more variables to move complements through an expression and to find the complement of a function.
    • Simplify expressions algebraically
      Reduce the number of terms and literals in an expression step by step, justify each step with a law, and verify the result with a truth table.
  3. Read minterms and maxterms from a truth table, write sum-of-minterms and product-of-maxterms forms, convert between them, and use standard sum-of-products and product-of-sums expressions.
    • Identify minterms and maxterms
      Write the minterm and maxterm for each row of a truth table, use their index notation, and relate the two to each other.
    • Write sum-of-minterms and product-of-maxterms forms
      Read the canonical forms of a function from its truth table, write them in Σ and Π notation, convert between them, and expand an expression into canonical form.
    • Use standard sum-of-products and product-of-sums forms
      Convert any expression into a sum of products or a product of sums, choose between the two, and connect them with two-level AND-OR and OR-AND circuits.
  4. Recognize the standard gate symbols, translate between circuits and expressions, and build any function from NAND gates or NOR gates alone.
    • Recognize logic gate symbols
      Identify each gate in the distinctive-shape and rectangular symbol sets, read inversion bubbles and multi-input gates, and relate logic values to voltage levels.
    • Translate between expressions and gate circuits
      Draw a gate circuit for an expression, derive the expression and truth table of a given circuit, and compare circuits by gates, gate inputs and levels.
    • Build any function from NAND or NOR gates
      Show that NAND and NOR are each universal, build NOT, AND and OR from them, and convert AND-OR circuits to NAND-only and OR-AND circuits to NOR-only form.

Boolean Algebra and Logic Gates study guide

4 chapters

1

Work with logic values, operators and truth tables

Digital signals use two logic values, but combining them can describe many behaviors. Begin by reading AND, OR, and NOT, then organize their results in complete truth tables. Derived operations add useful tests for matching bits and parity. Throughout, keep the operation order and the scope of each complement visible: those small details decide which function an expression actually describes.

1.1 Use the AND, OR and NOT operators

A Boolean variable has exactly two possible values: 0 and 1. These can describe false and true, or the low and high signal ranges in a circuit. An expression tells you how input values determine an output.

Read the three basic operations

AND gives 1 only when all inputs are 1. Write it as AB or A⋅B. If a device needs both permission P and a request R, its enable signal is E=PR. When either input is 0, the output is 0.

OR gives 1 when at least one input is 1. Write it as A+B. Both inputs may be 1: Boolean OR is inclusive. The plus sign means a logic operation, so 1+1=1. In binary arithmetic, adding two bits gives 102; that is a different operation.

NOT reverses one bit. Write it as A‾ or A′. Thus 0‾=1 and 1‾=0. The names complement, inversion, and NOT describe the same operation.

Inputs A BANDOR
0 000
0 101
1 001
1 111

The output of each operation is still 0 or 1. Several operations can therefore be joined to make a larger expression.

Evaluate in the right order

Work through parentheses, then NOT, then AND, then OR. A bar over a whole group also groups that expression: calculate everything beneath the bar before reversing its value.

For F=A‾B+AC‾ with A=0, B=1, and C=1:

  1. Find the complements: A‾=1 and C‾=0.
  2. Find each product: A‾B=1⋅1=1 and AC‾=0⋅0=0.
  3. OR the products: F=1+0=1.

Parentheses change the function. With A=1, B=0, and C=0, the expression A+BC gives 1+0=1. The expression (A+B)C gives 1⋅0=0. Building the OR first would change the required behavior.

Keep the complement's scope visible

The expression AB‾ complements the result of AND. It differs from A‾ B‾, which complements the inputs before AND. At A=1 and B=0, the first gives 1 and the second gives 0. In prime notation, write the whole-group complement as (AB)′; the parentheses show what the prime applies to.

A literal is one variable or its complement. The expression AB‾C has three literals and is a product term, an AND of literals. The expression A+B‾+C is a sum term, an OR of literals. A bar over a product does not make that entire product a literal.

Recognize equivalent notation

In mathematical logic, AND, OR, and NOT are written ∧, ∨, and ¬. In C-like code, &&, ||, and ! act on logical true/false values. The operators &, |, and ~ act bit by bit on a number. A bitwise operation on a multi-bit word performs a separate Boolean operation at each bit position.

Key Takeaways

  • AND requires every input to be 1; OR requires at least one.
  • NOT complements the value covered by its bar or prime.
  • Evaluate parentheses, NOT, AND, then OR.
  • A literal is a variable or its complement; products AND literals and sums OR them.

1.2 Build truth tables for Boolean expressions

A truth table describes a function completely by listing every input combination and the output it produces. Intermediate columns let you check how an expression reaches that output.

List every input row

Each input has two possible values. For n inputs, the table therefore needs 2n rows: 4 for two inputs, 8 for three, and 16 for four. Count in binary from zero. State the variable order, with the first variable as the most significant bit.

For the order (A,B,C), the rows are 000, 001, 010, 011, 100, 101, 110, and 111. Row 5 means A=1, B=0, C=1. You can construct the columns without guessing: C alternates every row, B every two rows, and A every four rows.

Build columns for the expression

Consider F=AB‾+C. First form B‾, then AB‾, then the final OR.

RowABCNOT BA AND NOT BF
0000100
1001101
2010000
3011001
4100111
5101111
6110000
7111001

In row 4, C=0, but the product is 1, so the output is 1. In row 5, both the product and C are 1; OR still gives 1. The 1-rows are 1, 3, 4, 5, and 7. A repeated output value is normal; a repeated input row means a different combination may be missing.

Turn a verbal rule into a table

Define every signal before filling outputs. For a three-input majority function, F=1 means at least two inputs are 1. Rows 3, 5, and 6 each contain two 1s, and row 7 contains three. Those four rows have output 1; all other rows have output 0.

An inclusive condition such as “at least two” includes three. Reading it as “exactly two” would incorrectly change row 7. The table exposes that difference before you choose an expression or circuit.

Compare functions, not appearances

Expressions are equivalent when their output columns agree in every row for the same input order. For A+AB, if A=0 then both terms are 0; if A=1 then the OR is 1. Its truth table therefore equals that of A.

To disprove equivalence, one differing row is enough. At A=1 and B=0, A+B‾=0 while A‾+B‾=1. To establish equivalence by a truth table, compare all rows. A few matching tests leave the unchecked combinations unresolved.

Count possible functions

A fixed set of n inputs supplies 2n rows. Each output cell can independently contain 0 or 1, giving 22n possible functions. Two inputs give 4 rows and 24=16 functions; three inputs give 8 rows and 28=256 functions. Constants and functions that ignore an input are included: an output column of all zeros is a valid function too.

Key Takeaways

  • Use all 2ⁿ input combinations in a stated variable order.
  • Intermediate columns keep each operation checkable.
  • Equivalent functions agree in every row; one differing row disproves equivalence.
  • A function may ignore an input or have a constant output.
  • There are 2^(2ⁿ) Boolean functions of n inputs.

1.3 Use the NAND, NOR, XOR and XNOR operators

Derived operators combine AND, OR, and NOT into useful single operations. Their names describe related functions, but their output conditions differ.

Compare the output rules

NAND complements AND: AB‾. It gives 0 only when both inputs are 1. NOR complements OR: A+B‾. It gives 1 only when both inputs are 0.

XOR, written A⊕B, gives 1 when the two inputs differ. XNOR complements XOR and gives 1 when they match.

ABNANDNORXORXNOR
001101
011010
101010
110001

XOR differs from inclusive OR in the last row. XNOR checks equality of two bits, including the case where both are 0.

Express XOR and XNOR with basic operations

Different bits occur in two cases: A‾B and AB‾. Joining those cases gives

A⊕B=A‾B+AB‾.

Matching bits occur in AB and A‾ B‾, so

A⊕B‾=AB+A‾ B‾.

XOR with 0 leaves a bit unchanged: A⊕0=A. XOR with 1 reverses it: A⊕1=A‾. This makes XOR a controlled inverter, with the second input choosing whether to reverse the first. Equal inputs cancel in XOR: A⊕A=0.

When adding two bits, XOR gives the sum bit and AND gives the carry bit. Two 1s add to 102: the sum bit is 0 and the carry is 1. This arithmetic use does not change the meaning of Boolean OR.

Extend XOR to parity

XOR is associative and commutative, so a chain can be grouped or reordered without changing its output. Every 1 reverses the running result. An even number of reversals returns it to 0; an odd number leaves it at 1. Thus A⊕B⊕C is the odd-parity function.

For data 1011, the XOR is 1⊕0⊕1⊕1=1. Append a parity bit of 1 to make the total count of 1s even. The transmitted bits 10111 contain four 1s, so their combined XOR is 0. A single flipped bit changes that check to 1. Two flipped bits leave the parity unchanged, so an even-parity check does not detect every possible error.

The complement of an XOR chain detects an even count of 1s, including zero. With three inputs at 111, the XOR is 1 and its complement is 0. “Exactly one” is a different condition once there are more than two inputs.

Do not cascade NAND as though it were AND

NAND and NOR are commutative, but neither is associative. A three-input NAND computes ABC‾. Two two-input NANDs in a chain compute

AB‾ C‾=AB+C‾.

At 111, the three-input NAND gives 0, while the chain gives 1. The first NAND has already reversed its intermediate output; the second gate acts on that reversed value. A multi-input NAND or NOR symbol must be read as one operation over all its inputs.

Key Takeaways

  • NAND is complemented AND; NOR is complemented OR.
  • Two-input XOR detects different bits; XNOR detects matching bits.
  • An XOR chain gives 1 for an odd number of 1s.
  • NAND and NOR are not associative, so simple cascades change the function.
2

Manipulate expressions with the laws of Boolean algebra

Boolean laws give you a way to change an expression while keeping its truth table. Begin with the basic identities, then look for terms that add no new cases. De Morgan’s laws handle complements of groups, and simplification brings these methods together. Each equality needs a reason; the aim is a function with fewer terms or inputs whose behavior you can still justify for every input combination.

2.1 Apply the postulates and single-variable theorems

Boolean laws let you rewrite an expression without changing its output for any input. They resemble algebraic rules, but both the values and the operations belong to two-valued logic.

Start from the postulates

An axiom, or postulate, is a rule used as a starting point. Huntington's postulates describe closure, identities, commutativity, both distributive laws, complements, and at least two distinct elements. Closure means that applying an operation to elements of the set gives another element of that set. For two-valued Boolean algebra, the set is {0,1}.

The identities are 0 for OR and 1 for AND. Commutativity gives A+B=B+A and AB=BA. Both operations distribute over the other:

A(B+C)=AB+AC, A+BC=(A+B)(A+C).

The second identity is specific to Boolean algebra. For example, with A=1, both sides are 1 regardless of the other inputs. With A=0, both sides reduce to BC. Shannon's 1938 work connected this algebra to switching circuits, making algebraic design a practical tool for hardware.

Apply the single-variable laws
LawOR formAND form
IdentityA+0=AA⋅1=A
Null or dominanceA+1=1A⋅0=0
IdempotentA+A=AAA=A
ComplementA+A‾=1AA‾=0

Involution removes a double complement: A‾‾=A. Each law also applies when its variable stands for a whole expression. If X=A‾B, then X+1=1 gives A‾B+1=1.

As a short simplification, take F=(A+0)⋅1+BB. Identity changes the first part to A; idempotence changes BB to B. Thus F=A+B. No value was assigned to the inputs: the laws justify the result for every row.

Form the dual

To form a dual, swap OR with AND and swap 0 with 1. Leave variables and their complements unchanged, and preserve grouping. The dual of A+0=A is A⋅1=A. The dual of A+BC is A(B+C).

Duality carries a valid identity into another valid identity. It does not say that an expression equals its dual. At A=1, B=C=0, the expression A+BC gives 1 but its dual gives 0. Complementing a function is a separate operation that reverses its output.

Prove and avoid invalid cancellation

Perfect induction means checking every possible input assignment. A one-variable identity requires two rows; an identity involving three variables requires eight. For A+1=1, both 0+1 and 1+1 equal 1.

A proof from postulates can also establish a theorem. For idempotence:

A+A=(A+A)⋅1=(A+A)(A+A‾)=A+AA‾=A+0=A.

The steps use identity, complement, reverse distribution, complement, then identity.

Subtraction and division are not Boolean operations. You cannot cancel A from A+B=A+C: when A=1, that equation holds even if B and C differ. Likewise, when A=0, the equation AB=AC supplies no information about whether B=C.

Key Takeaways

  • Identity, dominance, idempotence, complement, and involution preserve every output row.
  • Both AND and OR distribute over the other operation.
  • Duality swaps AND/OR and 0/1 while leaving literals unchanged.
  • Perfect induction checks all possible input assignments.
  • Ordinary subtraction, division, and cancellation do not apply.

2.2 Use absorption, consensus and other multivariable theorems

Some expressions contain a term or literal that adds no new 1-rows. Multivariable theorems identify those redundancies, often without expanding a whole truth table.

Reorder before looking for a pattern

Associativity lets you regroup repeated operations: (A+B)+C=A+(B+C) and (AB)C=A(BC). Commutativity lets you reorder them. Thus CB+A can be written as A+BC when that makes a theorem easier to see. These rules apply within the same operation; they do not allow arbitrary movement across AND and OR.

Absorb a more restrictive term

Absorption gives A+AB=A. Whenever AB=1, A is already 1, so the extra product contributes no new output case. Algebraically,

A+AB=A(1+B)=A.

The dual is A(A+B)=A. A whole product can act as the common part. For example,

A‾C+A‾BC=A‾C(1+B)=A‾C.

The three-literal product is more restrictive, so it is the term that disappears.

Remove a redundant literal

The theorem A+A‾B=A+B removes the complemented literal, not the entire second term. If A=1, both sides are already 1. If A=0, both sides depend on B. The proof is

A+A‾B=(A+A‾)(A+B)=1⋅(A+B)=A+B.

For X+X‾YZ, treat YZ as a group to get X+YZ. Reducing the expression to YZ would lose cases where X=1 and YZ=0. The dual theorem is A(A‾+B)=AB.

Combine a pair that differs in one literal

For AB+AB‾, factor out A:

AB+AB‾=A(B+B‾)=A.

The pair covers both values of B while keeping the same condition on A. Similarly, A‾BC+A‾BC‾=A‾B. The dual form is (A+B)(A+B‾)=A.

Check that every other literal matches. The terms AB and A‾ B‾ differ in two variables. Combining them into 1 would incorrectly turn the XNOR function into a constant.

Recognize consensus

The consensus theorem is

AB+A‾C+BC=AB+A‾C.

The first two terms contain opposite forms of A. Their remaining literals form the consensus term BC. Whenever BC=1, either A=1 and AB=1, or A=0 and A‾C=1. The consensus therefore adds no new 1-row.

You can also write BC=BC(A+A‾)=ABC+A‾BC. Absorption removes these pieces under AB and A‾C. The dual removes a redundant sum:

(A+B)(A‾+C)(B+C)=(A+B)(A‾+C).

For PQ+P‾R+QR+QS, the consensus of the first two terms is QR. Remove that term to obtain PQ+P‾R+QS; the unrelated term QS stays. If a suspected consensus lacks either supporting term, the theorem does not justify deleting it.

Key Takeaways

  • Absorption removes a term already covered by a less restrictive term.
  • A + A′B = A + B removes a literal while retaining B.
  • Combining requires identical terms except for one complemented/uncomplemented pair.
  • Consensus removes a term covered jointly by two supporting terms.
  • Associativity and commutativity help expose theorem patterns.
  • The dual theorems simplify products of sums.

2.3 Apply De Morgan's laws and complement functions

A complement must reverse the output of an entire function. De Morgan's laws move that complement through AND and OR while keeping the meaning of the expression intact.

Change the operation and complement each part

The two laws are

A+B‾=A‾ B‾, AB‾=A‾+B‾.

For an OR to be false, both inputs must be false. For an AND to be false, at least one input must be false.

A truth table confirms the second law. In rows 00, 01, and 10, AND is 0, so NAND is 1; at least one complemented input is also 1. In row 11, NAND is 0 and both complemented inputs are 0. The output columns agree in all four rows.

The same rule extends to larger groups:

A+B+C‾=A‾ B‾ C‾, ABC‾=A‾+B‾+C‾.
Work through nested groups

Take F=A+B‾C‾. The outer operation under the bar is OR, with parts A and B‾C. Complement those two parts and join them with AND:

F=A‾⋅B‾C‾.

Now the remaining group is an AND. Change it to OR and complement each input:

F=A‾(B‾‾+C‾)=A‾(B+C‾).

If a sum of products is useful, distribute to get F=A‾B+A‾ C‾. The parentheses in the factored form keep both terms dependent on A‾. Dropping them would produce a different function.

The phrase “break the bar and change the operator” refers to the operation directly beneath that bar. It does not permit breaking apart every product and sum at once without preserving their groups.

Complement a whole function

For G=AB‾+A‾C, complement the OR of the two product terms:

G‾=AB‾‾⋅A‾C‾=(A‾+B)(A+C‾).

You may describe the procedure as taking the dual expression and complementing every literal. Taking the dual alone leaves the literal polarities unchanged and does not generally reverse the output.

Expanding the result gives AB+A‾ C‾+BC‾. The last term is the consensus of the first two, so an equivalent shorter form is AB+A‾ C‾.

Check the inversion and read its gate form

A function and its complement have opposite outputs in every row. At A=1, B=0, C=0, the original G is 1 and G‾ is 0. A full table also satisfies G+G‾=1 and GG‾=0 in every row.

In a circuit, AB‾=A‾+B‾ says that a NAND equals an OR with both inputs inverted. Similarly, a NOR equals an AND with both inputs inverted. An output bubble can therefore move to every input when the gate operation changes. Moving the bubble while keeping the same operation would change the truth table.

Key Takeaways

  • Complementing an OR gives the AND of the complements.
  • Complementing an AND gives the OR of the complements.
  • Preserve each subgroup while applying De Morgan’s laws from the outside inward.
  • A dual swaps operations; a complement also reverses literal polarities.
  • De Morgan’s laws explain bubbled-input equivalents of NAND and NOR.

2.4 Simplify expressions algebraically

Simplification seeks an equivalent expression with fewer terms or literal occurrences. The best first move depends on the expression: expanding may expose a combination, while factoring may save work immediately.

Choose a useful direction

First remove double complements and use De Morgan's laws when bars hide useful structure. Look for absorption, pairs that differ in one literal, and consensus terms. Factor shared literals if that reduces the expression. Give a law for each equality so that a shorter expression still has a clear justification.

A literal count counts occurrences, not distinct variable names. The expression AB+AB‾ contains four literal occurrences; its equivalent A contains one. Count after simplifying, because repeated inputs can correspond to repeated gate connections.

Reuse a term to combine twice

Consider

F=A‾BC‾+A‾BC+ABC‾.

There are nine literal occurrences. The first term can combine with the second by removing C, and with the third by removing A. Idempotence permits duplicating that first term without changing the function:

F=(A‾BC‾+A‾BC)+(A‾BC‾+ABC‾).

Factoring each pair gives

F=A‾B(C‾+C)+BC‾(A‾+A)=A‾B+BC‾.

The result has four literals. A term can support two combinations because OR-ing it with itself adds no new output row.

For variable order (A,B,C), the original terms select rows 2, 3, and 6. The reduced term A‾B selects rows 2 and 3; BC‾ selects rows 2 and 6. Their union is exactly the original set.

Let the laws guide a less obvious reduction

Take H=XY+XY‾Z+X‾YZ. Factor the first two terms:

XY+XY‾Z=X(Y+Y‾Z)=X(Y+Z)=XY+XZ.

Now combine the remaining X‾YZ with XY:

XY+X‾YZ=Y(X+X‾Z)=Y(X+Z)=XY+YZ.

Together, H=XY+XZ+YZ. This is the majority function: every product represents one pair of 1s. In each reduction, the redundant-literal theorem applies to the expression inside the parentheses.

For a product of sums, reverse distribution can be shorter than expansion. The identity (A+B)(A+C)=A+BC reduces four literals to three. With complementary terms, (A+B)(A+B‾)=A.

Verify the function and interpret the result

Compare original and simplified outputs over every input row, or use a complete chain of valid identities. A few trial rows can reveal an error, but matching samples leave other rows untested. Keep input order fixed when recording the table.

Algebraic methods can stop before the shortest form. For instance, AB+A‾C+BC has no pair that combines by differing in one literal; consensus still removes BC. A successful reduction shows an improvement, not a guarantee of the global minimum.

Watch for a lost term when factoring. Since AB+A=A(B+1)=A, writing it as AB would drop the cases where A=1 and B=0. Ordinary cancellation is not a valid substitute for a Boolean law.

Key Takeaways

  • Count every literal occurrence when comparing expressions.
  • Idempotence allows one term to support more than one combination.
  • Use expansion, factoring, absorption, combining, and consensus where they help.
  • A complete truth table or valid algebraic proof establishes equivalence.
  • A shorter algebraic result need not be globally minimal.
3

Express functions in canonical and standard forms

A truth table can be translated into an expression one row at a time. Minterms describe the rows where a function is 1; maxterms describe the rows where it is 0. Canonical forms record those rows explicitly, while standard SOP and POS forms allow shorter terms. Learn to move between these representations and use their structure to choose how the function will be built from gates.

3.1 Identify minterms and maxterms

Minterms and maxterms connect an individual truth-table row to an expression. Each contains every input variable exactly once, but a minterm selects a 1-row and a maxterm selects a 0-row.

Write the minterm for a row

A minterm is an AND of all variables, each in its normal or complemented form. It gives 1 in exactly one row. To match that row, choose each literal so that it equals 1 there.

For order (A,B,C), row 5 is 101. The required product is m5=AB‾C. At 101, its three literals are all 1. In every other row, at least one is 0, so the product is 0. A row bit of 0 therefore gives a complemented variable; a row bit of 1 gives an uncomplemented variable.

Three variables have eight possible rows and therefore eight minterms. A product that omits an input is not a minterm of all three variables. The product A‾B is 1 at both 010 and 011, because it places no condition on C.

Write the maxterm for the same row

A maxterm is an OR of all variables. It gives 0 in exactly one row. Every literal must therefore equal 0 in that row. This reverses the minterm rule: a row bit of 0 gives an uncomplemented variable, and a row bit of 1 gives a complemented variable.

For row 5, write M5=A‾+B+C‾. At 101, all three terms are 0. At any other input combination, at least one term is 1, so the sum is 1.

The subscript tells you the row selected, not whether the expression is a sum or a product. Lowercase m means minterm and uppercase M means maxterm.

Keep a small reference table

For variable order (A,B):

IndexA BMintermMaxterm
00 0A‾ B‾A+B
10 1A‾BA+B‾
21 0AB‾A‾+B
31 1ABA‾+B‾

Each maxterm is the complement of the minterm with the same index:

Mi=mi‾.

For example, complementing AB‾C with De Morgan's law produces A‾+B+C‾. Its single 1-row becomes the maxterm's single 0-row.

Make the variable order explicit

The same product can carry different indexes. Under (A,B,C), AB‾C selects 101, so it is m5. Under (C,A,B), its matching bits are 110, so it is m6. The function has not changed; only the row labels have changed.

To check a proposed minterm, substitute its indexed row and require every literal to be 1. To check a proposed maxterm, require every literal to be 0. Writing A+B‾+C for row 5 fails that check: it is 1 there and is actually zero at row 2.

The OR of all minterms is 1, because every input row makes one minterm true. The AND of all maxterms is 0, because every row makes one maxterm false. These two complete collections will let you describe any output column by selecting only the needed rows.

Key Takeaways

  • A minterm contains all variables and is 1 in exactly one row.
  • A maxterm contains all variables and is 0 in exactly one row.
  • Minterms complement 0-bits; maxterms complement 1-bits.
  • Row indexes depend on the stated variable order.
  • Mᵢ is the complement of mᵢ.

3.2 Write sum-of-minterms and product-of-maxterms forms

A canonical form writes a Boolean function directly from its truth table. It keeps a complete record of the selected rows, even when a shorter expression exists.

Select 1-rows for a sum of minterms

Each minterm contributes a 1 in its own row only. OR the minterms for every row where the function is 1. The notation ∑m names this sum of minterms; the numbers inside the parentheses are row indexes, not values to add.

For F=AB‾+C with order (A,B,C), the 1-rows are 1, 3, 4, 5, and 7:

F(A,B,C)=∑m(1,3,4,5,7).

Written out, this is

F=A‾ B‾C+A‾BC+AB‾ C‾+AB‾C+ABC.

Every term contains all three variables, making this the canonical SOP. Its five products contain 15 literal occurrences.

Select 0-rows for a product of maxterms

Each maxterm contributes a 0 in its own row only. AND the maxterms for every row where the function is 0. Here the 0-rows are 0, 2, and 6, giving

F=∏M(0,2,6)=(A+B+C)(A+B‾+C)(A‾+B‾+C).

This is the canonical POS. The product becomes 0 whenever one listed maxterm is 0; it stays 1 in all unlisted rows.

For three variables, the full index set runs from 0 through 7. The indexes absent from the sum-of-minterms list form the product-of-maxterms list of the same function. Changing both the operator and the list preserves the function. Changing the list while keeping ∑m complements it:

F‾=∑m(0,2,6)=∏M(1,3,4,5,7).
Expand an expression without losing a row

For G=A+B‾C, fill in each missing variable with a factor equal to 1:

A=A(B+B‾)(C+C‾).

Expansion produces rows 4, 5, 6, and 7. The second term becomes

B‾C=(A+A‾)B‾C,

which produces rows 5 and 1. Row 5 appears twice, so idempotence removes the duplicate:

G=∑m(1,4,5,6,7).

For maxterms, use the dual procedure. Add a missing variable's product with its complement, which equals 0, then distribute. For H=(A+B)(A‾+C):

A+B=(A+B+C)(A+B+C‾), A‾+C=(A‾+B+C)(A‾+B‾+C).

Thus H=∏M(0,1,4,6)=∑m(2,3,5,7).

Use canonical forms as a check

With a fixed variable order, a function's canonical index lists are unique apart from ordering. Two expressions with the same minterm list define the same function. Compare the lists only after confirming that both use the same variable order and number of inputs.

Canonical forms can be long. The five-term form for F above has the same truth table as the three-literal expression AB‾+C. A complete row record is useful for verification; a circuit may benefit from simplifying that record before implementation.

Key Takeaways

  • Canonical SOP ORs the minterms of 1-rows.
  • Canonical POS ANDs the maxterms of 0-rows.
  • To switch Σm and ΠM for the same function, use the missing indexes.
  • To complement a function within the same form, use the missing indexes.
  • Expand missing variables with X + X′ = 1 for SOP or XX′ = 0 for POS.
  • Remove repeated canonical terms by idempotence.

3.3 Use standard sum-of-products and product-of-sums forms

Standard forms organize expressions by their final two operations. They make the circuit structure easy to read, without requiring every term to mention every variable.

Recognize SOP and POS

A sum of products (SOP) is an OR of products of literals, such as AB+C‾+A‾BD. A product of sums (POS) is an AND of sums of literals, such as (A+B)(B‾+C+D)E‾. A single literal can serve as a product term or a sum term.

Canonical forms are special cases with every variable in every term. For a three-input function, AB+C is standard SOP but not canonical SOP. The term AB omits C, and the term C omits both A and B.

An expression can be neither form. In A(B+CD), the sum sits inside an AND and a product sits inside the sum. Distributing gives the SOP AB+ACD; distributing B+CD in the other direction gives the POS A(B+C)(B+D).

Convert to a sum of products

Move complements onto individual variables, then distribute AND over OR. For example,

(A+B‾)(A‾+C)=AA‾+AC+A‾ B‾+B‾C.

The complementary product AA‾ is 0. The remaining B‾C is the consensus of AC and A‾ B‾. Removing it leaves

AC+A‾ B‾.

A complement over a whole product also needs attention: AB‾+C=A‾+B‾+C. A standard product term contains literals, not an unprocessed complemented group.

Convert to a product of sums

Use X+YZ=(X+Y)(X+Z). Applied to AB+A‾C, this produces

(A‾+B)(A+C)(B+C).

The final factor is the dual consensus term, so the POS reduces to (A‾+B)(A+C). Another route is to find an SOP for the complement and then complement it using De Morgan's laws.

Connect the form to gates

An SOP uses an AND gate for each multi-literal product and a final OR. Single-literal terms enter that OR directly. A POS uses OR gates for its multi-literal sums and a final AND. These are called two-level circuits when input inverters are excluded from the level count. A physical path through an input inverter and both main gates still passes through three gates, and the inverter contributes delay.

The choice affects circuit size. The POS (A+B)(C+D) has four literal occurrences. Its expanded SOP AC+AD+BC+BD has eight. A truth table with few 1-rows offers a short canonical SOP; few 0-rows offers a short canonical POS. Simplification may further change the comparison.

Translate a condition into both forms

Let 1 mean “on.” A pump runs when start S is on and the tank-full signal T is off, or manual override M is on. Its SOP is P=ST‾+M. Reverse distribution gives the POS (S+M)(T‾+M).

The override can enable the output even when the start branch is false. At S=1, T=1, M=0, both forms give 0. Treating the description as (ST‾)M would require the override for every run and would change the specified behavior.

Key Takeaways

  • SOP is an OR of products; POS is an AND of sums.
  • Canonical terms contain every variable; standard terms may omit variables.
  • Move group complements to literals before classifying a standard form.
  • SOP maps to AND-OR; POS maps to OR-AND.
  • Input inverters are excluded from the usual two-level count but still add delay.
  • Equivalent SOP and POS forms can require different numbers of gates and inputs.
4

Draw and analyze logic gate circuits

Gate diagrams turn Boolean expressions into connected operations. Learn the two common symbol styles, follow wires and inversion bubbles, and label intermediate outputs so that a circuit can be checked one gate at a time. Then compare equivalent implementations by their gates, inputs, and levels. NAND and NOR provide a final connection: either type alone can implement all the operations needed for any Boolean function.

4.1 Recognize logic gate symbols

A logic gate is a circuit element that implements a Boolean operation. Read its shape or label, then look for inversion bubbles and follow the connected wires.

Read distinctive shapes

In the distinctive-shape style, often called ANSI, an AND has a straight input side and a rounded D-shaped front. An OR has a concave curved input side and a pointed front. An XOR adds a second curved line behind the OR shape's input side.

A buffer is a triangle whose output equals its input. It can strengthen or isolate a signal without changing the Boolean value. A triangle with a small circle at its output is an inverter, which outputs the complement.

The circle is an inversion bubble. An output bubble turns AND into NAND, OR into NOR, and XOR into XNOR. An input bubble complements only that input before the main operation. A bubble is part of the function, not decoration.

Read rectangular labels

IEC-style symbols use rectangles with internal labels:

LabelOperation without an output bubble
&AND
≥1OR: at least one input is 1
=1Exactly one input is 1; two-input XOR
1Buffer

Add an output bubble to obtain the complemented operation. An “&” box with a bubble is NAND; a “1” box with a bubble is NOT. The same truth table can therefore be drawn using either symbol style.

For two inputs, exactly one 1 is the same condition as odd parity. With three inputs, those conditions differ. At 111, a rectangular “=1” element gives 0, while 1⊕1⊕1=1. IEC provides a separate odd-parity symbol. Do not assume that adding an input to an exactly-one element creates an XOR chain.

Follow the wiring

Inputs are usually drawn on the left and outputs on the right. A dot at an intersection means that the wires connect. Crossing lines without a dot do not connect. An output may branch to several gate inputs; this is fan-out.

Trace a branch back to its source before assigning a variable. Two lines that cross without a connection dot carry independent signals. A bubble also differs from a connection dot: a bubble is an open circle on a gate terminal; a connection dot is filled and marks joined wires.

AND, OR, NAND, and NOR can each have more than two inputs. A three-input NOR gives A+B+C‾. Associativity allows several two-input ANDs to replace one multi-input AND, and similarly for OR. A simple NAND or NOR chain changes intermediate polarities and does not perform the corresponding multi-input operation.

Relate logic to voltage

Hardware represents low and high with voltage ranges. Low may be near 0 V and high near a supply such as 3.3 V or 5 V. These examples are not universal switching thresholds.

In positive logic, high represents 1 and low represents 0. Negative logic reverses those assignments for inputs and output. The physical voltage behavior stays the same, while its Boolean description changes. A physical positive-logic AND is described as OR under negative logic: a high output requires both physical inputs high, which translates to a logical 0 only when both newly assigned inputs are 0. De Morgan's laws explain this dual relationship.

Key Takeaways

  • Shapes and rectangular labels describe the same Boolean functions.
  • A terminal bubble complements the signal at that terminal.
  • For more than two inputs, exactly-one and odd parity are different functions.
  • A junction dot connects wires; an unmarked crossing does not.
  • Positive logic assigns high to 1; negative logic assigns high to 0.

4.2 Translate between expressions and gate circuits

Expressions, truth tables, and circuits are three descriptions of the same function. Moving between them becomes manageable when each gate output gets its own expression or table column.

Build a circuit from an expression

For F=AB‾+C, first invert B. Feed A and B‾ into an AND, then feed that result and C into an OR. The product is built before the final sum. Building the OR first would implement a different grouping.

An expression with parentheses makes an internal group explicit. For (A+B)C, the OR output feeds an AND with C. An input already available elsewhere in the circuit may branch to several gates; it does not need a fresh variable name.

Derive an expression from connected gates

Suppose a NAND takes A and B, an OR takes B and C, and an AND combines their outputs. Label the first two outputs:

N=AB‾,Q=B+C.

The final gate gives F=NQ=AB‾(B+C). Preserve the NAND's output complement over its whole product. Writing A‾ B‾ instead would describe an AND with inverted inputs.

Now simplify:

F=(A‾+B‾)(B+C)=A‾B+A‾C+B‾C.

The product B‾B disappears during expansion. Consensus removes A‾C, leaving F=A‾B+B‾C.

Evaluate every wire

For order (A,B,C), the circuit's outputs in rows 0 through 7 are 0, 1, 1, 1, 0, 1, 0, 0. For example, at 101 the NAND is 1, the OR is 1, and the final AND is 1. At 110 the NAND is 0, so the final AND is 0 even though the OR is 1.

The simplified expression selects rows 2 and 3 through A‾B, and rows 1 and 5 through B‾C. It therefore produces the same output column. Labeling intermediate wires lets you locate a mismatch before checking the entire circuit again.

Compare implementation costs

State what you count. Excluding input inverters, AB‾+C needs two gates and four gate-input terminals: two on the AND and two on the OR. Its longest path has two main gate levels. An inverter on B is an additional physical gate.

For the majority function, canonical SOP uses four three-input ANDs and one four-input OR: five main gates and 4⋅3+4=16 inputs. The simplified form AB+AC+BC uses three two-input ANDs and one three-input OR: four gates and 3⋅2+3=9 inputs. Both have two main levels when complemented inputs are available.

Factoring can save more. AB+AC+AD uses four gates and nine inputs. The equivalent A(B+C+D) uses one three-input OR and one two-input AND: two gates and five inputs. In larger expressions, factoring can create extra levels, so fewer gates need not mean a shorter signal path.

A few matching rows do not establish that different circuits implement the same function. A valid algebraic derivation or matching complete truth tables does. A single differing row is enough to show that a proposed replacement changes the behavior.

Key Takeaways

  • Build expressions in their operation order and label intermediate gate outputs.
  • Preserve every inversion bubble when deriving an expression.
  • Count gate-input terminals separately from the number of gates.
  • Levels measure the longest gate path under the stated inverter convention.
  • Simplifying or factoring can save gates while preserving the truth table.

4.3 Build any function from NAND or NOR gates

A universal gate type can build any Boolean function. NAND and NOR each meet that requirement because each can reproduce NOT, AND, and OR.

Build the basic operations from NAND

Tie both inputs of one NAND to A:

AA‾=A‾.

This makes an inverter. To build AND, feed A and B into a NAND, then invert its output with another tied-input NAND. The result is AB‾‾=AB, using two gates.

For OR, invert both inputs with two NANDs and feed those results into a third NAND:

A‾ B‾‾=A+B.

De Morgan's law justifies the result. Three gates implement OR when only the original input polarities are available.

Build the basic operations from NOR

A tied-input NOR also makes an inverter: A+A‾=A‾. A NOR followed by a NOR inverter gives OR, using two gates. To make AND, invert both inputs and NOR the results:

A‾+B‾‾=AB.

Every Boolean function has a canonical sum-of-minterms expression. Once a gate type can build NOT, AND, and OR, it can build that expression and hence any function. AND and OR alone, without complements or a supplied inverted signal, cannot produce NOT. With all inputs 0, every gate in such a circuit outputs 0, while NOT must output 1 for input 0.

In common integrated-circuit technology, NAND and NOR are smaller and faster than corresponding AND and OR implementations, which usually add an inverter after a NAND or NOR. This makes NAND and NOR useful building blocks.

Convert SOP directly to NAND-NAND

For F=AB+CD, use one NAND for each product and feed both outputs into a final NAND:

F=AB‾⋅CD‾‾=AB+CD.

The final NAND acts as an OR of the original products. In the bubble view, redraw it as an OR with inverted inputs. Each input bubble meets a first-level output bubble; two successive inversions cancel.

A single-literal branch also needs the proper polarity. For F=AB‾+C:

  1. A tied-input NAND produces B‾.
  2. A NAND produces AB‾‾.
  3. A tied-input NAND produces C‾.
  4. The final NAND combines the last two branch outputs.

Leaving C uninverted at the final NAND would produce AB‾+C‾, changing the function.

Convert POS directly to NOR-NOR

The dual structure is

(A+B)(C+D)=A+B‾+C+D‾‾.

Use NOR gates for the sum terms and a final NOR. Replacing this POS structure by NAND-NAND gates would implement an SOP of the corresponding products instead.

Follow a four-NAND XOR

Let N=AB‾, P=AN‾, and Q=BN‾. The final NAND gives F=PQ‾. At 10, the internal outputs are N=1, P=0, Q=1, so F=1. At 11, N=0 makes both middle outputs 1, so F=0. The complete output column is 0, 1, 1, 0: XOR. The first NAND output branches to both middle gates, so this construction needs four NANDs, not a separate copy for each branch.

Key Takeaways

  • NAND and NOR are each universal because each can build NOT, AND, and OR.
  • Tying a NAND’s or NOR’s inputs together produces an inverter.
  • Two-level SOP maps directly to NAND-NAND; POS maps directly to NOR-NOR.
  • Single-literal branches need inversion before the final universal gate.
  • Two bubbles in series cancel without changing the signal.
  • Four NANDs can implement a two-input XOR with a shared intermediate output.

Boolean Algebra and Logic Gates examples

4 Walkthroughs

1

From input bits to a complete output column

13 steps
Evaluate Boolean operations, build a complete table, and use XOR to reason about parity.
  1. 1
    IntroductionDescribe a decision with bits

    A small logic circuit can combine several yes/no conditions into one output. Assign 1 to a true condition and 0 to a false one.

    We will evaluate expressions, record every input case, and then use a derived operation to check a group of bits. The same output can be described in words, by an expression, or by a complete truth table.

  2. 2
    ExplanationRead the operators before calculating

    AND requires all inputs to be 1: write AB. OR requires at least one input to be 1: write A+B. NOT reverses a value: write A‾.

    Boolean OR includes the case where both inputs are 1, so 1+1=1. Keep that meaning separate from binary arithmetic, where adding two 1s produces a sum bit and a carry.

  3. 3
    ExampleFind the complemented input first

    Let F=AB‾+C and take A=1, B=0, C=0. First find B‾=1. Then form the product AB‾=1⋅1=1.

    Finally OR with C to get F=1+0=1. Writing those intermediate results prevents the last OR from being evaluated before the product.

  4. 4
    ChallengeCheck what the bar covers

    At A=1 and B=0, evaluate AB‾ and A‾ B‾. Do they match?

    ---reveal---

    The product AB=0, so AB‾=1. Separately inverted inputs give A‾ B‾=0⋅1=0. They differ because the first expression complements the result of AND, while the second performs AND after complementing its inputs.

  5. 5
    ExplanationMake room for every input case

    Three Boolean inputs give 23=8 combinations. In order (A,B,C), count 000, 001, 010, 011, 100, 101, 110, 111.

    The first variable is the most significant bit, so row 5 means 101. Intermediate output columns will use these same eight rows; changing the input order halfway through would change their meaning.

  6. 6
    ExampleFill the product column

    Keep F=AB‾+C. The product AB‾ requires A=1 and B=0; C is free to take either value.

    The product is therefore 1 at 100 and 101, which are rows 4 and 5. Every other row makes at least one product input 0. Its column, from row 0 through row 7, is 0, 0, 0, 0, 1, 1, 0, 0.

  7. 7
    ExampleAdd the final OR column

    The input C is 1 at rows 1, 3, 5, and 7. OR combines those rows with product rows 4 and 5, giving 1-rows 1, 3, 4, 5, and 7.

    Row 5 appears in both branches but is counted once; Boolean OR stays 1 when both branches are 1. The final output column is 0, 1, 0, 1, 1, 1, 0, 1.

  8. 8
    ChallengeFind a row that separates two functions

    Compare A+BC with (A+B)C. Find an input row where they differ.

    ---reveal---

    At A=1, B=0, C=0, the first gives 1+0=1 and the second gives 1⋅0=0. One differing row establishes that the functions are different. If a few chosen rows had matched, that would leave the other rows unresolved; a truth-table proof of equivalence requires all eight.

  9. 9
    ExplanationRecognize equality and difference

    For two bits, XOR gives 1 when they differ: A⊕B=A‾B+AB‾. XNOR gives 1 when they match.

    NAND and NOR instead complement AND and OR. In row 11, the outputs are NAND 0, NOR 0, XOR 0, and XNOR 1. That row separates XOR from ordinary OR, which would give 1.

  10. 10
    ExampleChoose an even-parity bit

    The data 1011 contains three 1s. Its XOR is 1, so append a parity bit of 1 to make the total even. The transmitted group 10111 contains four 1s and has combined XOR 0.

    Every single flipped bit reverses that XOR. The receiver can use a result of 1 to detect that the even-parity condition has failed.

  11. 11
    ChallengeTest the limit of parity

    A valid even-parity message has two bits flipped during transmission. What happens to its combined XOR?

    ---reveal---

    Each flip reverses the XOR, so two flips return it to its original value of 0. The message can be changed while the parity test still passes. A parity bit detects a single flipped bit, but it does not identify the changed position or detect all multi-bit errors.

  12. 12
    ChallengeDistinguish one gate from a cascade

    At A=B=C=1, compare a three-input NAND with a NAND of A,B feeding a second NAND with C.

    ---reveal---

    The three-input gate gives 1⋅1⋅1‾=0. In the cascade, the first NAND gives 0 and the second gives 0⋅1‾=1. The table row reveals the effect of the intermediate inversion. NAND is not associative, so simply chaining it does not extend AND in the same way.

  13. 13
    RecapUse the right check for the task

    When evaluating a row, keep complements and operation order visible. When comparing whole functions, use all input rows or a valid algebraic argument.

    XOR supports parity because each 1 reverses the running value; NAND and NOR include inversions that prevent simple associative cascades. These distinctions will guide both algebraic rewriting and the interpretation of circuit symbols.

2

Rewrite expressions without changing their outputs

18 steps
Use basic laws, combining, consensus, and De Morgan’s laws to produce and verify a shorter expression.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionGive each equality a reason
  2. 2
    ExplanationRecognize identities and dominant values
  3. 3
    ExampleUse both distributive laws
  4. 4
    ChallengeForm a dual without complementing literals
  5. 5
    ExplanationRemove a branch already covered
  6. 6
    ExampleCombine opposite forms of one literal
  7. 7
    ExampleFind the consensus term
  8. 8
    ChallengeRetain the independent condition
  9. 9
    ExplanationMove a complement through a group
  10. 10
    ExampleComplement the outer operation first
  11. 11
    ExampleHandle the remaining product complement
  12. 12
    ChallengeComplement two product branches
  13. 13
    ExamplePrepare a term for two combinations
  14. 14
    ExampleCombine each pair and count literals
  15. 15
    ChallengeVerify the covered rows
  16. 16
    ChallengeConnect complements with simplification
  17. 17
    TipKnow what a reduction establishes
  18. 18
    RecapChoose a law that fits the structure
3

Turn truth-table rows into useful expressions

14 steps
Write minterms and maxterms, convert canonical lists, and choose a standard form for a circuit.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionGive each row its own expression
  2. 2
    ExplanationBuild a minterm from a matching row
  3. 3
    ExampleBuild a maxterm from the same row
  4. 4
    ChallengeRead a different row in both forms
  5. 5
    ExplanationJoin the selected rows
  6. 6
    ExampleRead the two lists from one function
  7. 7
    ExampleIntroduce a missing variable
  8. 8
    Key InsightCount overlap only once
  9. 9
    ChallengeSeparate conversion from complementation
  10. 10
    ExplanationAllow terms to omit variables
  11. 11
    ExampleConvert a mixed expression
  12. 12
    ChallengeCompare two-level implementations
  13. 13
    ChallengeChoose a short canonical starting point
  14. 14
    RecapKeep the row meaning attached to each form
4

Read, check, and rebuild a logic circuit

17 steps
Trace gate symbols and wires, compare equivalent circuits, and convert suitable forms to NAND-only or NOR-only networks.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionTrace one operation at a time
  2. 2
    ExplanationRead shapes and labels together
  3. 3
    TipNotice every terminal bubble
  4. 4
    ChallengePredict a rectangular gate’s result
  5. 5
    ConnectionSeparate physical levels from logic assignments
  6. 6
    ExampleLabel the two first-stage outputs
  7. 7
    ExampleExpand the circuit expression
  8. 8
    ExampleRemove the consensus and check coverage
  9. 9
    ChallengeCount terminals as well as gates
  10. 10
    ExplanationEstablish a gate type’s universality
  11. 11
    ExampleConvert products to NAND outputs
  12. 12
    Key InsightRead cancellation at the connection
  13. 13
    ChallengeHandle a direct literal branch
  14. 14
    ExampleUse the dual route for a POS
  15. 15
    ExampleShare one intermediate output in XOR
  16. 16
    ChallengeRead a symbol and rebuild the function
  17. 17
    RecapMatch structure to function

Boolean Algebra and Logic Gates practice questions

40 Practice Questions in 4 sets

Set 1: Simplify expressions and build gate networks10 Practice Questions

Question 1 of 10

What value does Boolean OR give for 1+1?
  1. 2
  2. 1
  3. 0
  4. 102
Show answerHide answer
Answer: B
Boolean plus denotes OR, which outputs 1 when either or both inputs are 1. The result therefore stays within the Boolean set of 0 and 1. Binary arithmetic would produce 102 for the sum of two bits, but that is not the operation written here.

Question 2 of 10

What function does X⊕1⊕1 implement?
  1. X‾
  2. 0
  3. 1
  4. X
Show answerHide answer
Answer: D
XOR with 1 complements a bit, and the second XOR with 1 complements it again. Two inversions return X unchanged. The result X‾ accounts for only one of the two reversals; associativity also lets you combine 1⊕1=0 first.

Question 3 of 10

A proposed rule cancels P from PQ=PR to conclude Q=R. What assignment disproves that rule?
  1. P=0, Q=0, R=1
  2. P=1, Q=0, R=1
  3. P=0, Q=1, R=1
  4. P=1, Q=0, R=0
Show answerHide answer
Answer: A
With P=0, both products equal 0 even though Q=0 and R=1 differ. The premise holds while the conclusion fails, so cancellation is invalid. Setting P=1 with unequal Q,R would make the premise false and would not provide the needed counterexample.

Question 4 of 10

What simplified expression is equivalent to (X+Y)(X+Y‾)+XZ?
  1. X+Z
  2. XZ
  3. X
  4. X+Y
Show answerHide answer
Answer: C
The two sum factors combine to X because they differ only in Y and Y‾. Absorption then gives X+XZ=X. Keeping only XZ would require Z=1, losing the valid case X=1 and Z=0.

Question 5 of 10

What is a simplified SOP for K=P‾QR‾+P‾QR+PQR‾+PR?
  1. Q+PR
  2. P‾Q+PR‾
  3. QR‾+PR
  4. P‾Q+PR
Show answerHide answer
Answer: A
The first two terms combine to P‾Q. Rewrite PQR‾+PR=P(QR‾+R)=PQ+PR, then combine P‾Q+PQ=Q, giving Q+PR. Keeping P‾Q+PR loses the row P=1,Q=1,R=0 that the original third term covers.

Question 6 of 10

For variable order (R,P,Q), what is the maxterm that is 0 when P=0,Q=1,R=1?
  1. R+P‾+Q=M5
  2. R‾+P+Q‾=M5
  3. R‾+P+Q‾=M3
  4. R+P+Q‾=M1
Show answerHide answer
Answer: B
The stated order gives the row bits 101, so the index is 5. A maxterm must have every literal equal to 0 there, giving R‾+P+Q‾. Index 3 comes from reading the bits in order (P,Q,R), which is not the order specified.

Question 7 of 10

What standard POS equals U+VW?
  1. (U+V)W
  2. UV+UW
  3. (U+V)(U+W)
  4. U(V+W)
Show answerHide answer
Answer: C
Boolean OR distributes over AND, so U+VW=(U+V)(U+W). Each factor is a sum of literals, making the result POS. The expression (U+V)W would wrongly require W=1 even when U=1; the original function needs no such condition.

Question 8 of 10

What change to a distinctive OR symbol makes it an XOR symbol?
  1. Add a bubble on its output.
  2. Replace its back with a straight line.
  3. Remove its pointed front.
  4. Add a curved line behind its input side.
Show answerHide answer
Answer: D
XOR uses the OR outline with an additional curved line behind the input side. That line distinguishes the different-input function from inclusive OR. An output bubble instead complements OR to make NOR, which has a different truth table.

Question 9 of 10

Only two-input NANDs are available, and P,Q,R are supplied without complements. In a direct NAND-only implementation of F=PQ+R, how many gates are used, and what must feed the final NAND?
  1. 2 gates; (PQ)′ and R.
  2. 3 gates; (PQ)′ and R′.
  3. 3 gates; PQ and R′.
  4. 4 gates; P′Q′ and R′.
Show answerHide answer
Answer: B
Use a NAND for PQ‾, a tied-input NAND for R‾, and a final NAND: F=PQ‾ R‾‾=PQ+R. The total is three gates. Sending raw R to the final NAND would implement PQ+R‾, so omitting that inverter changes the function.

Question 10 of 10

A four-NAND network has N=PQ‾, U=PN‾, V=QN‾, and F=UV‾. If N is mistakenly replaced by PQ while the other connections remain, what function does the altered network produce?
  1. P⊕Q
  2. P+Q
  3. PQ‾
  4. PQ
Show answerHide answer
Answer: D
After the change, U=P(PQ)‾=PQ‾ and V=Q(PQ)‾=PQ‾ by idempotence. The final tied-signal NAND complements that shared value, giving PQ. The original XOR behavior depends on the first output being NAND, so keeping the wiring alone does not preserve XOR.
Set 2: Read functions and check their behavior10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

What is the complement of H=P+QR‾, with complements on single variables?
  1. P‾(Q‾+R)
  2. P‾+Q‾R
  3. P‾ Q‾+R
  4. P(Q‾+R)
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

For variable order (P,Q,R), what is the minterm for row 6?
  1. P‾ Q‾R
  2. PQ‾R
  3. P‾QR
  4. PQR‾
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A three-input function is F(P,Q,R)=∑m(0,2,5,6). What is its canonical product-of-maxterms form?
  1. ∏M(0,2,5,6)
  2. ∏M(1,3,4,7)
  3. ∏M(1,3,4,6)
  4. ∏M(0,2,5,7)
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

An IEC rectangular gate is labeled “≥1” and has an output bubble. What is its output for inputs 0 and 1?
  1. 1, because it is OR.
  2. 1, because it is NAND.
  3. 0, because it is NOR.
  4. 0, because it is XNOR.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A NOR takes P,Q. An OR takes Q,R. Their outputs feed an AND. What input triples make the final output 1, in variable order (P,Q,R)?
  1. 001 only
  2. 001 and 101
  3. 000 and 001
  4. 010 and 011
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

What is the dual of X+0=X?
  1. X+1=X
  2. X⋅1=X
  3. X‾+0=X‾
  4. X⋅0=X
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

How does R+R‾S simplify?
  1. S
  2. RS
  3. R+S
  4. R+S‾
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

How many input rows does a complete truth table for four independent Boolean inputs need?
  1. 8
  2. 32
  3. 16
  4. 4
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

An even-parity bit is appended to the data bits 1100. What bit must be appended, and what is the XOR of all five bits afterward?
  1. Append 1; total XOR 0.
  2. Append 0; total XOR 1.
  3. Append 1; total XOR 1.
  4. Append 0; total XOR 0.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

What does (PQ)′ mean?
  1. Complement the AND of P and Q.
  2. AND the complements of P and Q.
  3. Complement the OR of P and Q.
  4. OR P with the complement of Q.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Connect tables, algebra, and implementation10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

What Boolean function is produced by a two-input NOR whose inputs are both connected to T?
  1. T‾
  2. T
  3. 0
  4. 1
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

How many Boolean functions can be defined on four input variables?
  1. 16
  2. 256
  3. 65,536
  4. 4,294,967,296
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

An even-parity message contains four data bits and one parity bit. A fault flips exactly one data bit and the parity bit. What happens to the XOR check and the data?
  1. The check stays 0; the data changes.
  2. The check becomes 1; the data changes.
  3. The check stays 0; the data is intact.
  4. The check becomes 1; the data is intact.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

What term can be removed from XY+X‾Z+YZ+Y‾Z by consensus between the first two terms?
  1. XY
  2. X‾Z
  3. Y‾Z
  4. YZ
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A function is F=PQ‾+RS‾. What is a standard SOP for F‾?
  1. PQR‾S
  2. PQR‾+PQS
  3. P‾ Q‾ R‾+S
  4. PQ+R‾S
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

What simplified expression results from F=P‾Q‾(P+Q)+P‾R?
  1. P+R
  2. P+R‾
  3. PQ+R
  4. PQ‾+R
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

For order (P,Q,R), what canonical SOP index list describes F=PQ‾+P‾R?
  1. ∑m(0,2,6,7)
  2. ∑m(1,3,4,6)
  3. ∑m(1,3,4,5)
  4. ∑m(1,2,4,5)
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A controller is enabled when permit P is 1 and either request R or override O is 1. Only the uncomplemented inputs are needed. What SOP and main-gate count implement this rule?
  1. P + RO; one AND and one OR.
  2. PR + O; one AND and one OR.
  3. P(R + O); two ORs and one AND.
  4. PR + PO; two ANDs and one OR.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

At what three-input pattern do a rectangular “=1” element and an XOR chain differ?
  1. 000
  2. 111
  3. 011
  4. 101
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

For F=P‾Q+P‾R+P‾S, factor the expression. Excluding the input inverter, what are the resulting main-gate count, total gate-input count, and levels, using multi-input gates?
  1. 4 gates, 9 inputs, 2 levels.
  2. 2 gates, 6 inputs, 2 levels.
  3. 2 gates, 5 inputs, 2 levels.
  4. 2 gates, 5 inputs, 3 levels.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Diagnose errors and transfer the methods10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

For which input conditions do F=P+QR‾ and G=(P+Q)R‾ differ, and how many rows differ in their three-input truth tables?
  1. P = 0 and R = 1; two rows.
  2. P = 1 and R = 0; two rows.
  3. P = 1 and R = 1; one row.
  4. P = 1 and R = 1; two rows.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

With inputs ordered (Q,R,P), what is the decimal row index for P=1,Q=0,R=1?
  1. 3
  2. 5
  3. 6
  4. 1
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

What does X‾‾(Y+1) simplify to?
  1. XY
  2. X‾
  3. X
  4. 1
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Only uncomplemented inputs are supplied. Simplify (P+Q)(P‾+R)(Q+R)(Q+R+S) and implement the resulting POS directly with two-input NORs. What expression and total gate count result?
  1. (P + Q)(P′ + R); 3 NORs.
  2. (P + Q)(P′ + R); 4 NORs.
  3. (P + Q)(Q + R); 3 NORs.
  4. (P′ + Q)(P + R); 4 NORs.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An OR gate has a bubble on each of its two inputs. What single unbubbled-input gate has the same function?
  1. NOR
  2. AND
  3. XOR
  4. NAND
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A student reduces K=XY‾Z+XYZ‾ to X. What equivalent factored expression describes K, and what assignment disproves the student’s result?
  1. X(Y+Z); X=1,Y=0,Z=0
  2. XY⊕Z‾; X=1,Y=0,Z=0
  3. X(Y⊕Z); X=1,Y=0,Z=0
  4. X(Y⊕Z); X=1,Y=0,Z=1
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A maxterm is P+Q‾+R. In variable order (P,Q,R), what is its zero-row index and the same-index minterm?
  1. 2; P‾QR‾
  2. 5; PQ‾R
  3. 2; PQ‾R
  4. 5; P‾QR‾
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

For order (P,Q,R), expand F=(P+Q‾)(P‾+R) into canonical POS. Implement that canonical form directly with multi-input NORs, sharing each needed input inversion. Only uncomplemented inputs are supplied. What index list and total NOR count result?
  1. ΠM(0,1,5,7); 8 NORs.
  2. ΠM(2,3,4,6); 8 NORs.
  3. ΠM(2,3,4,6); 5 NORs.
  4. ΠM(2,3,4,6); 7 NORs.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

What classification applies to PQ+R‾ as a function of P,Q,R?
  1. Canonical SOP only.
  2. Standard POS, not SOP.
  3. Both canonical SOP and POS.
  4. Standard SOP, not canonical SOP.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A circuit has U=PQ‾, V=PQ, and F=U+V+P‾R. Only uncomplemented P,Q,R and two-input NANDs are available. Simplify the output, then give a direct NAND-only implementation and its gate count.
  1. P + R; 2 NANDs.
  2. PQ + R; 3 NANDs.
  3. P + R; 3 NANDs.
  4. P + QR; 4 NANDs.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

65 Key Terms, each with its definition

A

Absorption
Absorption removes a term whose cases are already covered, as in A+AB=A and the dual identity A(A+B)=A.
The branch A‾BC adds nothing when A‾C already feeds the OR.
Algebraic simplification
Algebraic simplification rewrites a Boolean expression with fewer terms or literal occurrences by applying identities that preserve its function.
Using consensus removes a product even when no pair can combine by a one-literal difference.
AND
AND is a Boolean operation that outputs 1 only when all its inputs are 1; a single 0 input makes its output 0.
The expression PR enables a device only when both permission and request are 1.
AND-OR circuit
An AND-OR circuit implements an SOP by forming its product terms with AND gates and combining those outputs with an OR gate.
For AB+CD, two first-level AND outputs enter a single second-level OR.
Associativity
Associativity means that regrouping repeated instances of the same operation leaves the result unchanged, as with Boolean AND and OR.
Three AND inputs can be grouped as (AB)C or A(BC) with the same output.

B

Boolean function
A Boolean function assigns exactly one output value, 0 or 1, to each possible combination of its Boolean input values.
The majority function assigns output 1 to three-bit patterns containing at least two 1s.
Boolean variable
A Boolean variable takes one of two values, 0 or 1, allowing a condition or circuit signal to be represented with two states.
A permission signal is 1 when access is allowed and 0 when it is blocked.
Bubble cancellation
Bubble cancellation removes two successive inversions on the same signal path because applying NOT twice restores the original value.
The output bubble of a NAND can cancel the matching input bubble of its equivalent next gate.
Bubbled-input equivalent
A bubbled-input equivalent replaces a complemented AND or OR output by the opposite gate operation with every input complemented.
A NAND and an OR with both inputs bubbled describe the same two-input truth table.
Buffer
A buffer is a gate whose output equals its input in Boolean logic and which can strengthen or isolate a signal in hardware.
A triangle without an output bubble passes the same Boolean value from input to output.

C

Canonical expansion
Canonical expansion introduces missing variables into each term without changing the function, producing complete minterms or maxterms.
Multiplying AB by C+C‾ produces its two three-variable minterms.
Canonical POS
A canonical POS is the AND of the maxterms for every 0-row of a function, with all input variables present in every sum.
A function with only two 0-rows needs two maxterms in its expanded canonical POS.
Canonical SOP
A canonical SOP is the OR of the minterms for every 1-row of a function, with all input variables present in every product.
A function with five 1-rows has five distinct products in its expanded canonical SOP.
Closure
Closure means that applying an operation to values in a set produces another value in that same set.
AND and OR keep every result in the Boolean set {0,1}, even after many operations.
Combining theorem
The combining theorem merges two matching product terms that differ only in one variable’s polarity, using AB+AB‾=A.
Two products with opposite C literals combine when their A and B literals match.
Complement
The complement of a Boolean value is its opposite, obtained by NOT: 0 becomes 1 and 1 becomes 0.
A bar over AB reverses the output of that entire product after it has been evaluated.
Consensus term
A consensus term is formed from two products containing opposite forms of one variable by removing that variable and joining the remaining literals.
The consensus BC can be removed from AB+A‾C+BC without changing any row.

D

De Morgan’s laws
De Morgan’s laws complement an AND by OR-ing the complemented parts, and complement an OR by AND-ing the complemented parts.
The group A+BC‾ becomes A‾(B‾+C‾).
Duality
Duality is the principle that a valid Boolean identity remains valid after swapping AND with OR and exchanging constants 0 and 1.
The identity A+0=A becomes A⋅1=A when the dual transformation is applied.

E

Equivalence
Equivalence means that two expressions or circuits give the same output for every possible assignment of their input values.
The expressions A+AB and A agree in all rows despite their different forms.

F

Factoring
Factoring rewrites an expression by taking a shared part outside a group, using distribution in reverse to expose common logic.
Writing AB+AC+AD as A(B+C+D) allows one shared condition on A.
Fan-out
Fan-out describes one gate output feeding several gate inputs; the same Boolean signal can therefore serve multiple branches.
The first NAND output in a four-NAND XOR circuit feeds both of the middle NAND gates.
Function complement
A function complement is a function that outputs the opposite value of the original function for every possible input combination.
If F is 1 in row 5, its complement must be 0 in that same input row.

G

Gate count
A gate count is the number of circuit elements used in an implementation, with any exclusions such as input inverters stated explicitly.
One three-input OR counts as one gate even though it has more terminals than a two-input OR.
Gate level
A gate level is a stage along a signal path; circuit depth is the greatest number of counted gates on any input-to-output path.
Two parallel first-level ANDs followed by one OR have depth two, not depth three.
Gate-input count
A gate-input count totals the input terminals of the gates included in a circuit comparison, counting each connected terminal separately.
Three two-input ANDs and a three-input OR contribute nine input terminals in total.
Group complement
A group complement applies NOT to the result of an entire grouped expression, preserving its internal operation order before inversion.
In (AB)′, AND is evaluated first; separate input inversions would give a different function.

I

Idempotence
Idempotence is the property that combining a value with itself leaves it unchanged, so A+A=A and AA=A.
Duplicating an identical product term is allowed because OR with itself adds no new case.
Identity element
An identity element leaves a value unchanged under an operation; 0 is the identity for Boolean OR, and 1 is the identity for AND.
Applying A+0=A removes an inactive OR input without changing the function.
Inversion bubble
An inversion bubble is a small open circle at a gate terminal that complements the signal at that input or at the whole output.
Adding an output bubble to an OR symbol changes its function from OR to NOR.
Involution
Involution is the Boolean rule that complementing a value twice restores the original value, so A‾‾=A.
Two successive inverters return a circuit signal to its original Boolean polarity.

L

Literal
A literal is one Boolean variable in either its uncomplemented form or its complemented form, such as A or A‾.
The expression AB‾C has three literal occurrences, one for each variable.
Literal count
A literal count measures the total occurrences of variables and their complements in an expression, counting repetitions separately.
The expression AB+AC has four literals even though it names only three different variables.
Logic gate
A logic gate is a circuit element whose output implements a Boolean function of its input signals, such as AND, OR, or inversion.
Reading each gate’s operation lets you derive a complete circuit expression one output at a time.

M

Maxterm
A maxterm is a sum containing every input variable exactly once, complemented or uncomplemented, and is 0 in exactly one row.
The maxterm M5=A‾+B+C‾ is zero only at input pattern 101.
Minimal expression
A minimal expression has the lowest cost, such as literal count, among all equivalent Boolean expressions in a specified form.
Removing one redundant term shows an improvement, while another simplification may still be available.
Minterm
A minterm is a product containing every input variable exactly once, complemented or uncomplemented, and is 1 in exactly one row.
For order (A,B,C), m5=AB‾C selects only the input pattern 101.
Multilevel circuit
A multilevel circuit has more than two main gate stages along at least one path, often arising from nested or factored expressions.
Factoring may save repeated logic while introducing an additional stage on the longest path.

N

NAND
NAND is the complement of AND, producing 0 only when all inputs are 1 and producing 1 for every other input combination.
A two-input NAND produces the output sequence 1, 1, 1, 0 in binary row order.
NAND-NAND circuit
A NAND-NAND circuit implements an SOP using first-level NAND outputs feeding a final NAND, with literal branches given the required inversions.
Complemented product outputs combine at the final NAND to reproduce the original OR of products.
Negative logic
Negative logic assigns logical 0 to the high voltage range and logical 1 to the low voltage range for inputs and outputs.
A physical positive-logic AND has an OR description when all signal assignments are reversed.
NOR
NOR is the complement of inclusive OR, producing 1 only when every input is 0 and producing 0 whenever any input is 1.
A NOR output is 0 for input 01 because the OR result of those inputs is 1.
NOR-NOR circuit
A NOR-NOR circuit implements a POS using first-level NOR outputs feeding a final NOR, with literal branches given the required inversions.
Two NORs for the sum factors of (A+B)(C+D) feed a third NOR to reproduce the POS.

O

OR
OR is an inclusive Boolean operation that outputs 1 when at least one input is 1, including the case when all inputs are 1.
Two active requests still give 1+1=1 because the plus sign denotes Boolean OR.

P

Parity
Parity describes whether the number of 1s in a group of bits is even or odd; an XOR chain gives 1 for odd parity.
The data 1011 has odd parity because its four positions contain three 1s.
Parity bit
A parity bit is an added bit chosen to make the total count of 1s in a message even or odd, supporting a simple error check.
Appending 1 to 1011 gives four 1s in total and satisfies an even-parity rule.
Perfect induction
Perfect induction proves a Boolean identity by checking every possible assignment of values to its input variables.
An identity involving three variables is confirmed by agreement across all eight table rows.
Positive logic
Positive logic assigns logical 1 to the high voltage range and logical 0 to the low voltage range for a circuit’s signals.
With positive logic, a high output of an AND gate represents a Boolean result of 1.
Postulate
A postulate is a starting rule accepted in an algebraic system, from which further identities and theorems can be proved.
Complement and identity are among the starting rules used in Huntington’s Boolean algebra.
Product of sums
A product of sums is an AND of sum terms made from literals; each sum may omit variables, and a single literal can be a factor.
The expression (A+B)(C+D‾) maps directly to OR gates followed by AND.
Product term
A product term is an AND of literals, with multiplication shown by a dot or by writing the literals next to one another.
The product PQ‾ is true only when P=1 and Q=0.
Product-of-maxterms notation
Product-of-maxterms notation writes a function as ∏M followed by the indexes of all its 0-rows in the stated variable order.
For two inputs, ∏M(0,3) gives a zero at 00 and 11 and a one at the other rows.

R

Redundant-literal theorem
The redundant-literal theorem removes an unnecessary literal using A+A‾B=A+B, or its dual A(A‾+B)=AB.
Simplifying X+X‾YZ leaves X+YZ, so the independent X term stays.
Row index
A row index is the decimal value of an input pattern interpreted in the stated variable order, beginning with index 0.
Changing the order from (A,B,C) to (C,A,B) can change a term’s index.

S

Standard binary order
Standard binary order lists input combinations by counting from zero, with the first-listed variable as the most significant bit.
In order (A,B,C), the input combination 101 is row 5 of the truth table.
Sum of products
A sum of products is an OR of product terms made from literals; each product may omit variables, and a single literal can be a term.
The expression AB+C‾ is standard SOP even though its terms omit some inputs.
Sum term
A sum term is an OR of literals, with a plus sign joining the conditions that can make the term equal to 1.
The sum P+Q‾ is false only when P=0 and Q=1.
Sum-of-minterms notation
Sum-of-minterms notation writes a function as ∑m followed by the indexes of all its 1-rows in the stated variable order.
The notation ∑m(1,4,6) identifies three selected rows, not an arithmetic sum.

T

Tied inputs
Tied inputs are two or more gate terminals connected to the same signal; tying both inputs of a NAND or NOR makes an inverter.
A tied-input NAND computes AA‾=A‾ from one original signal.
Truth table
A truth table lists every combination of input values and the corresponding output, defining a Boolean function completely.
A three-input table lists eight rows even if its output depends on only two inputs.
Two-level circuit
A two-level circuit has at most two main gate stages on a path, conventionally excluding input inverters from that level count.
An inverter, product AND, and final OR make three physical gates but two main levels.

U

Universal gate
A universal gate is a gate type that can implement every Boolean function by itself, using enough copies and suitable connections.
NAND builds NOT, AND, and OR, which is enough to construct any sum-of-minterms function.

V

Variable order
A variable order specifies which input occupies each binary position when combinations are numbered in a truth table or canonical form.
The same pattern of signal values can be row 5 or row 6 under different column orders.

X

XNOR
XNOR is the complement of XOR and, for two inputs, outputs 1 when the bits match, including when both bits are 0.
An XNOR compares two single-bit signals and indicates equality with output 1.
XOR
XOR is a Boolean operation that gives 1 for two different input bits; a chain of XOR operations gives 1 for an odd count of 1s.
The pair 11 gives XOR output 0, while the three-input XOR chain at 111 gives 1.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started