πŸ“Š Digital Principles and System Design
Q. The number of sign bits in a 32-bit IEEE format is
  • (A) 1
  • (B) 11
  • (C) 9
  • (D) 23
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1

Explanation: there is only 1 sign bit in all the standards. in a 32-bit format, there is 1 sign bit, 8 bits for the exponent and 23 bits for the mantissa.

πŸ“Š Digital Principles and System Design
Q. All the comparisons made by comparator is done using
  • (A) 1 circuit
  • (B) 2 circuits
  • (C) 3 circuits
  • (D) 4 circuits
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1 circuit

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. because, all the input is compared to each other, therefore it is possible only by using 1 circuit.

πŸ“Š Digital Principles and System Design
Q. One that is not the outcome of magnitude comparator is
  • (A) a > b
  • (B) a – b
  • (C) a < b
  • (D) a = b
πŸ’¬ Discuss
βœ… Correct Answer: (B) a – b

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 incorrect option.

πŸ“Š Digital Principles and System Design
Q. If two numbers are not equal then binary variable will be
  • (A) 0
  • (B) 1
  • (C) a
  • (D) b
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0

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). other than this, the output will be 0.

πŸ“Š Digital Principles and System Design
Q. How many inputs are required for a digital comparator?
  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 4
πŸ’¬ Discuss
βœ… Correct Answer: (A) 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. thus, there are two inputs required for a digital comparator (i.e. a & b).

πŸ“Š Digital Principles and System Design
Q. In a comparator, if we get input as A>B then the output will be
  • (A) 1
  • (B) 0
  • (C) a
  • (D) b
πŸ’¬ Discuss
βœ… Correct Answer: (A) 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. if a > b, it means that it satisfies one of the condition among three. hence the output will be 1.

πŸ“Š Digital Principles and System Design
Q. Which one is a basic comparator?
  • (A) xor
  • (B) xnor
  • (C) and
  • (D) nand
πŸ’¬ Discuss
βœ… Correct Answer: (A) xor

Explanation: generally, an xnor outputs high for even number of 1s or all 0s and outputs low for otherwise. thus, an xnor gate is a basic comparator, because its output is “1” only if its two input bits are equal.

πŸ“Š Digital Principles and System Design
Q. Comparators are used in
  • (A) memory
  • (B) cpu
  • (C) motherboard
  • (D) hard drive
πŸ’¬ Discuss
βœ… Correct Answer: (B) cpu

Explanation: comparators are used in central processing unit (cpus). because all the arithmetic and logical operations are performed in the alu(arithmetic logic unit) part of the cpu.

πŸ“Š Digital Principles and System Design
Q. A circuit that compares two numbers and determine their magnitude is called
  • (A) height comparator
  • (B) size comparator
  • (C) comparator
  • (D) magnitude comparator
πŸ’¬ Discuss
βœ… Correct Answer: (D) magnitude comparator

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. a circuit that compares two numbers and determine their magnitude is called magnitude comparator.

Jump to