COMPUTER SCIENCE AND ENGINEERING
DIGITAL LOGIC
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
a+b
|
|
a<b
|
|
a=b
|
|
a>b
|
Detailed explanation-1: -Explanation: A comparator is a combinational circuit that takes two numbers as input in binary form and results whether one input is greater, lesser or equal to the other input. In a digital comparator, only 3 outputs are possible (i.e. A = B, A > B, A < B). So, a – b is an incorrect option.
Detailed explanation-2: -A comparator receives two N-bit binary numbers A and B and outputs a 1-bit comparison result. An equality comparator produces a single output, indicating whether A is equal to B (A == B). A magnitude comparator produces one or more outputs, indicating the relative values of A and B.
Detailed explanation-3: -Magnitude Comparator – a Magnitude Comparator is a digital comparator which has three output terminals, one each for equality, A = B greater than, A > B and less than A < B.
Detailed explanation-4: -A magnitude digital comparator is a combinational circuit that compares two digital or binary numbers in order to find out whether one binary number is equal, less than or greater than the other binary number.
Detailed explanation-5: -A comparator is a circuit, which compares a signal voltage on one input of an op-amp with a known reference voltage on the other input. The above circuit is called a non-inverting comparator circuit as the sinusoidal input signal Vin is applied to the non-inverting terminal.