Q. Inputs and are given to show combination of gates
image
Then, output is
image

 252  139 Semiconductor Electronics: Materials Devices and Simple Circuits Report Error

Solution:

Given circuit is
image
0 0 0 0 1 1 1 0 0 1
0 1 0 1 1 0 1 1 0 1
1 0 1 0 0 1 0 1 1 0
1 1 1 1 0 0 0 1 1 0

Observing, this is gate.