Logic Gates Flashcards
Logic gate revision (19 cards)
What is a Boolean logic gate?
A device that implements a Boolean function, performing basic logical operations on one or more binary inputs to produce a single binary output.
True or False: An AND gate outputs true only when all inputs are true.
True
Fill in the blank: The output of an OR gate is true if at least one of its __________ is true.
inputs
What is the output of a NOT gate when the input is true?
False
Which gate is used to produce an output that is true only when exactly one input is true?
XOR gate
What is the symbol for the AND gate?
A flat line with a curved top
Name the three basic types of logic gates.
AND, OR, NOT
True or False: A NAND gate is the opposite of an AND gate.
True
What is the primary function of a NOR gate?
To output true only when all inputs are false.
What is the truth table used for?
To represent the output of a logic gate for all possible input combinations.
Multiple Choice: Which gate has the following truth table: 00 -> 0, 01 -> 1, 10 -> 1, 11 -> 1? A) AND B) OR C) NOT D) XOR
B) OR
What is a logic circuit?
A network of logic gates that performs a specific logical function.
Fill in the blank: The combination of AND, OR, and NOT gates is called __________ logic.
Boolean
What does the output of a XOR gate represent?
True if an odd number of inputs are true.
True or False: A buffer gate is a type of NOT gate.
False
What is the output of a NAND gate when both inputs are true?
False
Multiple Choice: Which gate is represented by the symbol with a curved input and a straight output? A) AND B) NOT C) OR D) NOR
B) NOT
Fill in the blank: The __________ gate outputs true only when both inputs are false.
NOR
Multiple Choice: Which logic gate is used to create a universal gate? A) AND B) OR C) NAND D) NOT
C) NAND