GATE CS 2014, set 3 · Question 18 · Digital Logic · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Consider the following combinational function block involving four Boolean variables x, y, a, b where x, a, b are inputs and y is the output.
f (x, y, a, b) { if (x is 1) y = a; else y = b; }
Which one of the following digital logic blocks is the most suitable for implementing this function?

  1. (A) Full adder
  2. (B) Priority encoder
  3. (C) Multiplexor
  4. (D) Flip-flop
Answer

Answer (C)

Answer from the official GATE CS 2014 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes