An AB latch operates as follows: If A = 0 and B = 0, the latch state is Q = 0; if either A = 1 or B = 1 (but not both), the latch output does not change; and when both A = 1 and B = 1, the latch state is Q = 1.
a) Construct a state table and derive the characteristic equation for this AB latch.
b) Derive a circuit for the AB latch that had four two-input NAND gates and two inverters
e) Derive a circuit for the AB latch using for two-input NOR gates and two inverts.