NAND Gate — Truth Table, Symbol & Boolean Expression
NAND ද්වාරය (Universal Gate) — සත්යතා වගුව, සංකේතය සහ බූලීය ප්රකාශනය
A NAND gate is a digital logic gate that outputs 0 only when ALL inputs are 1 — every other combination gives 1. It is the exact opposite of AND.
NAND is a UNIVERSAL gate: combined with nothing but itself, it can build AND, OR, NOT and any other digital circuit.
NAND ද්වාරයක් යනු සියලුම ආදාන 1 වූ විට පමණක් ප්රතිදානය 0 ලබා දෙන ද්වාරයකි (AND හි නිශේධනය). අනෙකුත් සියලු අවස්ථාවලදී ප්රතිදානය 1 වේ.
NAND යනු සර්වත්ර ද්වාරයකි (Universal Gate): NAND ද්වාර පමණක් භාවිතයෙන් AND, OR, NOT ඇතුළු ඕනෑම ඩිජිටල් පරිපථයක් ගොඩනැගිය හැක.
ANSI Symbol
Boolean Expression
Q = (A · B)̅
NOT of AND. Also written ↑ (the Sheffer stroke): Q = A ↑ B.
AND හි නිශේධනය (NOT of AND) වේ. A ↑ B ලෙසද දැක්විය හැක.
NAND Gate Truth TableNAND ද්වාරය (Universal Gate) සත්යතා වගුව
Computed by the same engine that powers the live sandbox — what you read here is exactly what you will measure.
සජීවී Sandbox පරිපථය ක්රියාත්මක වන එන්ජිමෙන්ම ගණනය කරන ලදී — මෙහි ඇති අගයන් සිමියුලේටරයේ ක්රියාකාරිත්වයට 100% සමාන වේ.
| A | B | Q (Output)Q (ප්රතිදානය) |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
How the NAND Gate WorksNAND ද්වාරය (Universal Gate) ක්රියාත්මක වන ආකාරය
- Behave like an AND gate followed by an inverter — the bubble on the symbol is that inverter.
- Only the 11 row collapses to 0; the other three rows output 1.
- Tie both inputs together and the NAND turns into a NOT gate — the trick behind universal construction.
- AND ද්වාරයක ප්රතිදානයට NOT ද්වාරයක් සම්බන්ධ කළාක් මෙන් ක්රියා කරයි.
- 11 අවස්ථාවේදී පමණක් ප්රතිදානය 0 වන අතර අනෙක් අවස්ථා 3දීම 1 වේ.
- ආදාන දෙක එකට කෙටි කළ විට (Short) NAND ද්වාරය NOT ද්වාරයක් බවට පත්වේ.
Exam-style exampleවිභාග මට්ටමේ ප්රායෝගික උදාහරණය
Factory emergency stop: a machine may run unless BOTH the main breaker and the safety interlock are engaged. “Run = NOT(breaker AND interlock)” is a single NAND gate.
කර්මාන්තශාලාවක යන්ත්රයක් ක්රියා විරහිත වීමට ප්රධාන ස්විචය සහ ආරක්ෂිත අගුල යන දෙකම එකවර සක්රිය විය යුතු නම්, එය NAND ද්වාරයකින් පාලනය කළ හැක.
Build It Yourself in 3 Stepsපියවර 3කින් ඔබම සාදන්න
- Compare with AND. Build the NAND circuit — two switches, a NAND gate, a bulb.
- Flip the expectation. Toggle all four combinations; notice the bulb dies only when both switches are ON.
- Check the table. Generate the truth table and confirm it mirrors the AND table upside-down.
- AND සමඟ සසඳන්න. ස්විච 2ක්, NAND ද්වාරයක් සහ බල්බයක් සම්බන්ධ කරන්න.
- ප්රතිඵලය පරීක්ෂා කරන්න. ස්විච දෙකම ON කළ විට පමණක් බල්බය නිවී යන අයුරු බලන්න.
- වගුව බලන්න. සත්යතා වගුව ජනනය කර එය AND වගුවේ නිශේධනයක් බව තහවුරු කරගන්න.
Open this exact circuit in the Sandbox
මෙම පරිපථය සෘජුවම Sandbox එකෙන් විවෘත කරන්න
The NAND Gate test circuit is pre-built and pre-wired — just toggle the switches.
NAND ද්වාරය (Universal Gate) පරීක්ෂණ පරිපථය සකස් කර වයර් කර ඇත — ස්විච මාරු කර ප්රතිඵලය බලන්න.
NAND Gate — FAQNAND ද්වාරය — නිතර අසන ප්රශ්න
Why is NAND called a universal gate?NAND සර්වත්ර ද්වාරයක් (Universal Gate) ලෙස හඳුන්වන්නේ ඇයි?
Because any logic function — including AND, OR, NOT and full adders — can be built using only NAND gates.
NAND ද්වාර පමණක් භාවිතයෙන් AND, OR, NOT ඇතුළු ඕනෑම තාර්කික පරිපථයක් ගොඩනැගිය හැකි බැවිනි.
How is NAND related to AND?NAND සහ AND අතර සම්බන්ධය කුමක්ද?
NAND output equals the inverse of AND: wherever AND gives 0, NAND gives 1, and vice versa.
NAND ප්රතිදානය AND හි ප්රතිවිරුද්ධ අගය වේ: AND හි 0 ඇති තැන NAND හි 1 ද, AND හි 1 ඇති තැන NAND හි 0 ද වේ.
How do you make a NOT gate from NAND?NAND මඟින් NOT ද්වාරයක් සාදා ගන්නේ කෙසේද?
Connect both NAND inputs to the same signal A; the output becomes (A · A)̅ = Ā.
NAND ද්වාරයේ ආදාන දෙකම එකිනෙකට සම්බන්ධ කර තනි සංඥාවක් (A) ලබා දුන් විට (A · A)̅ = A̅ (NOT) බවට පත්වේ.