Two 4 bits binary numbers, and are given in the inputs of a logic circuit shown in figure below. The output () will be :

From the JEE Main 2026 · 4 Apr · Shift 1 paper. Try it, check your answer, then read the worked solution below.
Two 4 bits binary numbers, and are given in the inputs of a logic circuit shown in figure below. The output () will be :

Try it yourself first, then check your working against this.
Worked solution
Logic. .
Bitwise. and , so .
(A)
Concepts used: NAND with an inverted input
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Logic gates), each with a worked solution.
Timed, in the real format, and marked the moment you submit.