GATE 2017 EC (EC2) – Question 55
A programmable logic array is shown. The Boolean function F implemented is

Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) $\bar P\bar QR+\bar PQR+P\bar QR$
Explanation
Each marked intersection connects one literal to an AND-product row. Reading the rows from top to bottom gives $\bar P\bar QR$, $\bar PQR$ and $P\bar QR$.
The three AND outputs feed an OR gate, so the product terms are added:
$$F=\bar P\bar QR+\bar PQR+P\bar QR.$$
This is **C**. The product-of-sums options use the wrong gate structure, while A complements R incorrectly in the third term.