Similar questions 17 more →
Logic Minimization & Karnaugh Maps
![Question 43, GATE 2025: A 4-variable Karnaugh map for F(w,x,y,z) uses rows wx and columns yz, each in standard Gray order 00,01,11,10. Its rows, from top to bottom, are [1,0,0,1], [0,1,1,0], [0,1,1,0], [1,0,0,1]. Select all equivalent expressions. Use ¬ for complement, adjacency for AND, + for OR.
A. ¬w¬x¬y¬z + w¬x¬y¬z + ¬w¬xy¬z + w¬xy¬z + xz.
B. ¬w¬x¬y¬z + ¬w¬xy¬z + w¬xyz + xz.
C. ¬w¬x¬y¬z + w¬x¬y¬z + w¬x¬yz + xz.
D. ¬x¬z + xz.](../../assets/questions/CS-2025-S2-Q43-1.webp)
Answer & solution
Official answer: A, D
Step through it (14 steps)
The four corner cells are adjacent through the K-map's wraparound boundaries. Across these corners w and y each vary, while x=0 and z=0 remain fixed. Their size-four group therefore contributes ¬x¬z. The central 2×2 group also lets w and y vary, but fixes x=1 and z=1, contributing xz. All eight ones are covered, giving F=¬x¬z+xz, independent of w and y. This is XNOR of x and z, so D is correct.
Expand the first term by inserting (w+¬w)(y+¬y)=1:
¬x¬z = ¬w¬x¬y¬z + w¬x¬y¬z + ¬w¬xy¬z + w¬xy¬z.
Adding xz reproduces A, so A is also correct.
B omits the required one at wxyz=1000: each of its terms is zero there, while the map gives one. C omits the required one at 0010. Either counterexample suffices to reject the corresponding expression. Select A,D.