Given that the X consists of 3 bits x0, x1, and x2. The logic functions for which that are true if and only if
- X contains only one 0
- X contains an even number of 0s
- X when interpreted as an unsigned binary number is less than 4
- X when interpreted as a signed (two’s complement) number is negative.
For X contains only one zero, only one of the three bits should be zero. The logical function that satisfies this condition is as follows:
The logical circuit is as follows:

For X contains an even number of 0s, two bits of the three bits should be zero. The logical function that satisfies this condition is as follows:
The logical circuit is as follows:

For X when interpreted as an unsigned binary number is less than 4 is as follows:
The logical circuit is as follows:

ForX when interpreted as a signed (two’s complement) number is negative. The values will be complements and the logical function is as
The logical circuit is as follows:
