Number of pins of combination of gates

digital-logic

enter image description here

My textbook says that this figure requires twelve pins. Can anyone explain why this combination of gates requires twelve pins?

Best Answer

Using individual gates, externally connected (so you connect them as you see fit) , 3 per gate + 1 for power + 1 for ground. That's 11 pins. Round up because most dual inline chips (DIP, soic, etc) only come in even numbers. 12 pins, one NC (non-connected). Smaller chips occasionally come in odd number of pins, 5 pin SOT-23 being a good example. You can get single gate ics in sot-23 5 pin.

This is essentially a duplicate of your other question What exactly are pins in the package?.