Explore your understanding of logic gates, their operating principles, and how they shape digital circuits. This quiz focuses on fundamental concepts, truth tables, gate combinations, and real-world logic gate applications in electronics communication.
Which logic gate outputs a HIGH signal (1) only when exactly one of its two inputs is HIGH and the other is LOW?
Explanation: The XOR (exclusive OR) gate produces a HIGH output when its two inputs are different, making option A correct. The AND gate requires both inputs to be HIGH, and the NOR gate only outputs HIGH when both inputs are LOW. The NAND gate outputs LOW only if both inputs are HIGH, which does not fit the scenario described.
For a 2-input NOR gate, what will be the output when both inputs are LOW?
Explanation: A NOR gate outputs HIGH only when both inputs are LOW, so HIGH is correct. LOW would be the output if at least one input was HIGH. 'Undefined' is incorrect as NOR gate outputs are always defined, and 'Same as input' is not applicable since the output depends on both inputs being LOW.
What is the equivalent single-gate representation of combining an AND gate followed by a NOT gate?
Explanation: An AND gate followed by a NOT gate inverts the output of AND, which is exactly how a NAND gate functions. OR and XOR do not match this logic sequence. NOR is an OR gate followed by NOT, so that is also incorrect.
In an alarm system, which logic gate could be used to trigger an alarm if any one of several sensors is activated?
Explanation: An OR gate outputs HIGH if any input is HIGH, making it the best choice in this scenario. An AND gate would require all sensors to be activated, which isn't desired. EX-OR (XOR) is only HIGH when inputs are different, not suitable for multiple sensors. A NOR gate outputs HIGH only when all inputs are LOW, the opposite of what's needed here.
Given the Boolean expression Y = A + B (where '+' denotes OR), which gate does this expression represent?
Explanation: The '+' in Boolean logic indicates an OR operation, so Y = A + B is an OR gate. NAND is represented as NOT(AND) and AND as multiplication or '·'. XOR requires exclusive inputs, not just any true input, so only OR gate is accurate.