AND

Inputs

PinTypeDescription
AbitFirst input signal
BbitSecond input signal

Outputs

PinTypeDescription
QbitResult: 1 only when A=1 and B=1

How It Works

AND (conjunction) outputs 1 only when both inputs are 1. It performs logical multiplication.

Truth Table

ABQ
000
010
100
111

Usage

Introduced in Level 3. Used for bit masking and checking simultaneous conditions.