Question
Let be a 3-variable Boolean function that produces output as '1' when at least two of the input variables are '1'. Which of the following statement(s) is/are CORRECT, where are Boolean variables?
Official answer and solution
- Official answer
- B and D
- From
- Official GATE 2025 answer key
Solution
Write (the 3-input majority function) and simplify each expression.
The function is the 3-variable majority function. Note that for any :
- .
- If , then ; if (one is and the other is ), then .
Checking each option:
- (A) False: Majority is not associative. For , , whereas .
- (B) True: In , if then both sides equal ; if then , so .
- (C) False: For , , whereas .
- (D) True: Since and is symmetric in its three arguments, by property (B).
Final answer
Options (B), (D)
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2025 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 24 of 65
- 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.