1. Home
  2. Explore
  3. Computer Science
  4. Logic Gates and Circuits

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Logic Gates and Circuits

  • 26Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Gate Logic
An AND gate outputs 1 only when
of its inputs are 1.

26 questions

  1. 1
    An AND gate outputs 1 only when
    _____
    of its inputs are 1.
    Hint

    Consider whether one input alone is enough for an AND gate.

    Answer

    both

    Explanation

    Both inputs must be 1 for an AND gate to output 1; otherwise, it outputs 0.

  2. 2
    For an AND gate receiving inputs 0 and 1, the output is
    _____
    .
    Hint

    An AND gate requires both inputs to be 1.

    Answer

    0

    Explanation

    Because one input is 0, the condition for an AND gate to output 1 is not met.

  3. 3
    An OR gate outputs 1 when
    _____
    input or both inputs are 1.
    Hint

    Unlike AND, OR does not require both inputs to be 1.

    Answer

    either

    Explanation

    An OR gate outputs 1 if at least one input is 1.

  4. 4
    When both inputs to an OR gate are 0, its output is
    _____
    .
    Hint

    Neither input provides a 1 for the OR gate.

    Answer

    0

    Explanation

    An OR gate outputs 0 only when both inputs are 0.

  5. 5
    An XOR gate outputs 1 when
    _____
    one of its two inputs is 1.
    Hint

    XOR differs from OR when both inputs are 1.

    Answer

    exactly

    Explanation

    XOR outputs 1 only when exactly one input is 1.

  6. 6
    When both inputs to an XOR gate are 1, its output is
    _____
    .
    Hint

    XOR requires a different condition from ordinary OR when both inputs are 1.

    Answer

    0

    Explanation

    XOR outputs 0 when both inputs are 1 because it requires exactly one input to be 1.

  7. 7
    A NOT gate changes an input bit to its
    _____
    .
    Hint

    A 0 becomes 1, and a 1 becomes 0.

    Answer

    opposite

    Explanation

    A NOT gate inverts its input bit, changing 0 to 1 or 1 to 0.

  8. 8
    AND, OR, and XOR gates take two inputs, while a NOT gate takes
    _____
    input.
    Hint

    A NOT gate inverts a single bit at a time.

    Answer

    one

    Explanation

    AND, OR, and XOR compare two input bits; NOT operates on only one input bit.

  9. 9
    The drawing convention used for most of the gate symbols in the lesson is the
    _____
    style.
    Hint

    The speaker names a common standard for drawing logic gates.

    Answer

    ANSI

    Explanation

    The lesson uses the ANSI style for most of its gate drawings, while noting that other drawing styles exist.

  10. 10
    In the illustrated AND gate, the output side has a
    _____
    ridge.
    Hint

    The AND symbol is contrasted with the more curved OR symbol.

    Answer

    flat

    Explanation

    The illustrated AND gate has a flat ridge at its output side.

  11. 11
    The illustrated OR gate has a curved, crescent-like side rather than the AND gate’s
    _____
    ridge.
    Hint

    Compare the OR symbol with the flat edge of the AND symbol.

    Answer

    flat

    Explanation

    The lesson describes the OR gate’s curved side as crescent-like, contrasting it with the AND gate’s flat ridge.

  12. 12
    An XOR symbol is drawn like an OR symbol with an additional
    _____
    line near its curved side.
    Hint

    The extra line follows the curve of the OR part of the symbol.

    Answer

    parallel

    Explanation

    The XOR symbol resembles an OR symbol but has an extra line parallel to its curved side.

  13. 13
    The NOT symbol is drawn as a triangle with a small
    _____
    at its output.
    Hint

    The small symbol marks the inversion at the triangle’s output.

    Answer

    circle

    Explanation

    The illustrated NOT gate uses a triangle and a small circle at the output to indicate inversion.

  14. 14
    In a logic circuit, the output of one gate can be connected to the
    _____
    of another gate.
    Hint

    This connection lets gates operate in sequence.

    Answer

    input

    Explanation

    Using one gate’s output as another gate’s input allows gates to be chained into a larger circuit.

  15. 15
    Each gate in the illustrated circuits produces a single output
    _____
    even when its inputs come from other gates.
    Hint

    The output carries one binary value.

    Answer

    bit

    Explanation

    The gates process their input bits and produce one output bit.

  16. 16
    A circuit with eight independent input bits has
    _____
    possible input combinations.
    Hint

    Each of the eight bits can be either 0 or 1, so the number of combinations is 282^828.

    Answer

    256

    Explanation

    Eight binary inputs yield 282^828, or 256, possible input combinations.

  17. 17
    In the illustrated chained circuit, all-zero inputs produce a final output of
    _____
    because the final NOT gate inverts 0.
    Hint

    First evaluate the preceding gates, then apply the NOT gate.

    Answer

    1

    Explanation

    With all inputs set to 0, the circuit’s value before the final NOT gate is 0; NOT changes that value to 1.

  18. 18
    In the illustrated chained circuit, all-one inputs produce a final output of
    _____
    after the final NOT gate inverts the preceding value.
    Hint

    The value immediately before the final NOT gate is 1 for this input pattern.

    Answer

    0

    Explanation

    For all-one inputs, the preceding circuit produces 1, and the final NOT gate inverts it to 0.

  19. 19
    A truth table records the output of a logic gate or circuit for each possible combination of
    _____
    values.
    Hint

    These are the binary values supplied to the gate or circuit.

    Answer

    input

    Explanation

    A truth table lists input combinations and the corresponding output for each one.

  20. 20
    A complete truth table for a gate with two binary inputs lists
    _____
    possible input combinations.
    Hint

    The combinations are 00, 01, 10, and 11.

    Answer

    four

    Explanation

    Two binary inputs have four combinations: 00, 01, 10, and 11.

  21. 21
    A complete truth table for a NOT gate lists
    _____
    possible input values.
    Hint

    A single binary input can take the values 0 or 1.

    Answer

    two

    Explanation

    Because a NOT gate has one binary input, its truth table covers 0 and 1.

  22. 22
    When evaluating a multi-level circuit with a truth table, begin with the
    _____
    gates whose inputs are directly given.
    Hint

    Start with the gates that do not depend on outputs from other gates.

    Answer

    lowest-level

    Explanation

    The lesson recommends calculating the easiest, lowest-level gates first and then moving upward through the circuit.

  23. 23
    After calculating the lowest-level gates, evaluate the circuit
    _____
    by using their outputs as the next gates’ inputs.
    Hint

    Work upward one layer at a time rather than starting at the final output.

    Answer

    hierarchically

    Explanation

    A hierarchical approach evaluates one level of gates at a time, using previously calculated outputs as inputs to the next level.

  24. 24
    Keeping intermediate gate results in separate truth-table
    _____
    makes later calculations easier to follow.
    Hint

    Each gate’s result can be recorded alongside the input values.

    Answer

    columns

    Explanation

    Recording intermediate results in columns lets you use already calculated values when evaluating later gates.

  25. 25
    For a complete truth table, include
    _____
    possible input combinations rather than only a sample.
    Hint

    A full table must cover all arrangements of the binary inputs.

    Answer

    every

    Explanation

    The lesson recommends including every possible input combination so the output can be checked or looked up for any case.

  26. 26
    A truth table can make circuit evaluation easier by letting you
    _____
    previously calculated gate outputs instead of recalculating them.
    Hint

    Intermediate results can be recorded for later use.

    Answer

    look up

    Explanation

    Once intermediate gate outputs are recorded, they can be looked up when evaluating higher levels of the circuit.

1 of 26
Question 1 of 26

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent