BITSAT Pattern: 2-3 questions on logic gates, truth tables, gate combinations. Quick pattern recognition critical.
// Basic Gates Truth Tables
AND Gate (·): OR Gate (+): NOT Gate ('):
A B | Y A B | Y A | Y
0 0 | 0 0 0 | 0 0 | 1
0 1 | 0 0 1 | 1 1 | 0
1 0 | 0 1 0 | 1
1 1 | 1 1 1 | 1
XOR Gate (⊕): XNOR Gate (⊙): NAND Gate:
A B | Y A B | Y A B | Y
0 0 | 0 0 0 | 1 0 0 | 1
0 1 | 1 0 1 | 0 0 1 | 1
1 0 | 1 1 0 | 0 1 0 | 1
1 1 | 0 1 1 | 1 1 1 | 0
NOR Gate:
A B | Y
0 0 | 1
0 1 | 0
1 0 | 0
1 1 | 0
// Key Circuit Functions
Half Adder:
Sum = A ⊕ B (XOR)
Carry = A·B (AND)
Full Adder:
Sum = A ⊕ B ⊕ Cin
Cout = (A·B) + (B·Cin) + (A·Cin)
Multiplexer (2-to-1):
Output = S·A + S'·B
where S is selector, A,B are inputs
// Karnaugh Map Simplification
2-variable:
1 1 = 1 (both 1s → A+B)
0 0
Group adjacent 1s (powers of 2)
Larger groups = fewer variables in result