Doubt by

The output y, when all 3 inputs are first high and then low, will respectively be:- (1) -->1,1 (2) --> 0,1 (3) --> 0,0 (4) --> 1,0