boolean Flashcards
(42 cards)
What is a logic gate?
A logic gate is an electronic component that performs a basic logical function on one or more binary inputs to produce a single binary output.
What are the basic types of logic gates?
The basic types of logic gates are AND, OR, NOT, NAND, NOR, XOR, and XNOR.
True or False: An AND gate outputs true only when all its inputs are true.
True.
Fill in the blank: The output of an OR gate is true if at least _____ of its inputs are true.
one
What is the function of a NOT gate?
A NOT gate inverts the input signal; if the input is true, the output is false, and vice versa.
What does a NAND gate do?
A NAND gate outputs false only when all its inputs are true; otherwise, it outputs true.
Multiple Choice: Which gate outputs true only when both inputs are false? A) AND B) OR C) NOR
C) NOR
What is the primary use of XOR gates?
XOR gates are used to compare two binary inputs; they output true when the inputs are different.
True or False: A XNOR gate is the opposite of an XOR gate.
True.
Fill in the blank: The output of a NAND gate is _____ when both inputs are true.
false
What is the truth table?
A truth table is a mathematical table used to determine the output of a logic gate based on all possible combinations of its inputs.
How many inputs can a logic gate have?
Logic gates can have one or more inputs, but the most common are one, two, or three inputs.
Multiple Choice: Which of the following gates is used for negation? A) AND B) NOT C) OR
B) NOT
What is the output of an AND gate with inputs A = true and B = false?
false.
Fill in the blank: The output of an OR gate is _____ when both inputs are false.
false
True or False: The output of a NOT gate is the same as its input.
False.
What does the output of a NOR gate represent?
The output of a NOR gate is true only when all inputs are false.
Multiple Choice: Which gate is represented by the symbol ‘•’? A) OR B) AND C) NOT
B) AND
What is the significance of Boolean logic in computers?
Boolean logic is fundamental for designing digital circuits and performing logical operations in computers.
Fill in the blank: The combination of AND, OR, and NOT gates can be used to create _____ circuits.
complex
True or False: A logic circuit can be constructed using only NAND gates.
True.
What is the output of an XOR gate with inputs A = true and B = true?
false.
Fill in the blank: A truth table for a two-input AND gate has _____ rows.
four
Multiple Choice: Which gate would you use to detect when two inputs are equal? A) AND B) XOR C) XNOR
C) XNOR