Digital Logic & Microprocessor — Digital Logic, NEC licence examination syllabus (Nepal Engineering Council).
Seven small decisions that every computer is built from.
A gate is a tiny circuit that takes one or two inputs — each a 0 or a 1 — and produces one output, following a fixed rule.
That is genuinely all. The rules are the kind of thing you would state in ordinary conversation:
AND"Both of them." The alarm sounds if the door is open AND the system is armed.
OR"Either one." The light comes on if the hall switch OR the landing switch is pressed.
NOT"The opposite." If the tank is not full, run the pump.
With two inputs there are only four possible situations, so you can simply write all of them down. That list is the truth table, and it is a complete description — there is nothing about the gate it leaves out.
XOR means "one or the other, but not both." It answers "are these two different?" — output 1 when the inputs disagree, 0 when they match.
That makes it the natural gate for addition. In binary, 0+1 and 1+0 both give 1, while 1+1 gives 0 with a carry. That is precisely XOR's column, which is why every adder you meet later starts with one.Any circuit whatsoever can be built from NAND gates alone. Not "most" — any.
Draw and complete a truth tableGiven a gate or a small circuit. Always list inputs in counting order — 00, 01, 10, 11 — so you cannot skip a row.
Build X using only NANDA standard question. Know the three constructions above.
Identify from a symbolCheck the back first (flat or curved), then look for the circle.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…