Question

The truth table

XYf(X,Y)000010101111\begin{array}{cc|c} X & Y & f(X, Y) \\ \hline 0 & 0 & 0 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \\ 1 & 1 & 1 \end{array}

represents the Boolean function

Choose one option
Official answer and solution
Official answer
A
From
Official GATE 2012 answer key

Solution

Compare the output column of the truth table with the input columns X and Y.

Examine the given truth table:

XYf(X,Y)000010101111\begin{array}{cc|c} X & Y & f(X, Y) \\ \hline 0 & 0 & 0 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \\ 1 & 1 & 1 \end{array}

Notice that whenever X=0X = 0, f(X,Y)=0f(X, Y) = 0, and whenever X=1X = 1, f(X,Y)=1f(X, Y) = 1, regardless of the value of YY.
Thus, the function value is entirely determined by XX:

f(X,Y)=Xf(X, Y) = X

This matches option (A).

Final answer

A

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2012 Computer Science and Information Technology (CS)
Question
6 of 65, printed as CS Q.6
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.