In the following circuit,the value of Y
Lower NOT gate inverts input 1 to zero. NOT gate and NAND gate inverts this output 0 to Upper NAND gate converts this output 1 and input 0 to 1. Thus A = 1 and B = 1 become inputs of NAND gate giving final output as zero. Choice (1) is correct.