MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DIGITAL LOGIC

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
When A and B represent the inputs of an Exclusive OR logic gate, its output O will be
A
O=AB’+A’B
B
O=AB+A+B
C
O=A+B+(AB)’
D
None of these
Explanation: 

Detailed explanation-1: -The XOR and XNOR gates are the hybrids gates. The 2-input OR gate is also known as the Inclusive-OR gate because when both inputs A and B are set to 1, the output comes out 1(high). In the Ex-OR function, the logic output “1” is obtained only when either A="1” or B="1” but not both together at the same time.

Detailed explanation-2: -The output of the XOR function, which is 1 if the number of 1’s is odd and 0 if the number of 1’s is even, is referred to as a ‘parity’ bit. This result can be used to perform simple error checking on blocks of digital data being transmitted across a communications link.

Detailed explanation-3: -If the input is 0, then the output is 1. The NAND gate operates as an AND gate followed by a NOT gate. It acts in the manner of the logical operation “and” followed by negation.

Detailed explanation-4: -OR gate-output is 1 if AT LEAST one input is 1. XOR gate-output is 1 if ONLY one input is 1. NAND gate-output is 1 if AT LEAST one input is 0. NOR gate-output is 1 if BOTH inputs are 0.

There is 1 question to complete.