Similar questions 3 more →
Boolean Algebra & Logic Gates

Answer & solution
Answer: A (no official key was published)
Step 1: Apply De Morgan’s law at the final gate.
Step 2: The first NAND outputs¬(f1f2), and the lower inverter outputs¬f3. The final NAND complements their conjunction, giving f1f2+f3. Because no minterm belongs to both{0,1,3,5} and{6,7}, the product f1f2 is identically zero. Therefore the third input must equal the required output, not either of the two earlier input functions.
Conclusion: The network computes f=¬(¬(f1f2)·¬f3)=f1f2+f3. The minterm sets of f1 and f2 are disjoint, so f1f2=0. Hence f3=f=Σ(1,4,5), A.