NAT · 2 marks · Boolean Algebra and Minimization

GATE CS 2021 CS-2 — Q52

Consider a Boolean function f(w,x,y,z)f(w, x, y, z) such that

<br>f(w,0,0,z)=1<br>f(1,x,1,z)=x+z<br>f(w,1,y,z)=wz+y<br>\begin{aligned}<br>f(w, 0, 0, z) &= 1 \\<br>f(1, x, 1, z) &= x + z \\<br>f(w, 1, y, z) &= wz + y<br>\end{aligned}

The number of literals in the minimal sum-of-products expression of ff is ____________.