Question
Consider a Boolean function such that
The number of literals in the minimal sum-of-products expression of is ______.
Official answer and solution
- Official answer
- 6
- From
- Official GATE 2021 answer key
Solution
Determine the minterm values from the given functional constraints, construct the 4-variable Karnaugh map, and find the minimal Sum-of-Products (SOP) expression.
We are given three constraints on the 4-variable function :
- :
For , the function is 1 for all . This gives minterms:
.
- :
For :- If , : minterms are all 1.
- If , : , and .
- :
For :- If , (consistent with ).
- If , : , and .
- Minimizing on the K-map:
- Group 1: forms a 4-cell group covering , which gives (2 literals).
- Group 2: forms a 4-cell group covering , which gives (2 literals).
- Group 3: The remaining 1-minterms form a 4-cell group covering , which gives (2 literals).
The minimal SOP expression is:
Counting literals: each of the three product terms contains 2 literals, giving a total of literals.
6
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2021 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 62 of 65, printed as CS Q.52
- 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.