BACK_TO_LEARN_LAB

All 7 Logic Gates, Explained

Every guide gives you the full truth table (computed live by our sandbox engine), the ANSI symbol, the Boolean expression, an exam-style example and a pre-wired circuit you can open in the simulator with one click.

AND Gate

AND ද්වාරය

Q = A · B

An AND gate is a digital logic gate that outputs 1 only when ALL of its inputs are 1. If any input is 0, the output is instantly 0.

AND ද්වාරයක් යනු එහි සියලුම ආදානයන් 1 (HIGH) වූ විට පමණක් ප්‍රතිදානය 1 ලබා දෙන මූලික තාර්කික ද්වාරයකි. යම් ආදානයක් 0 වූ වහාම ප්‍රතිදානය 0 වේ.

READ_GUIDE

OR Gate

OR ද්වාරය

Q = A + B

An OR gate is a digital logic gate that outputs 1 when AT LEAST ONE of its inputs is 1. It outputs 0 only when every input is 0.

OR ද්වාරයක් යනු එහි අවම වශයෙන් එක් ආදානයක් හෝ 1 (HIGH) වූ විට ප්‍රතිදානය 1 ලබා දෙන තාර්කික ද්වාරයකි. සියලුම ආදාන 0 වූ විට පමණක් ප්‍රතිදානය 0 වේ.

READ_GUIDE

NOT Gate

NOT ද්වාරය (Inverter)

Q = A̅

A NOT gate — also called an inverter — is a digital logic gate with ONE input that outputs the opposite: input 1 gives output 0, input 0 gives output 1.

NOT ද්වාරයක් (හෝ Inverter) යනු තනි ආදානයක් සහිත, ලැබෙන ආදානයේ ප්‍රතිවිරුද්ධ අගය ප්‍රතිදානය කරන ද්වාරයකි: ආදානය 1 විට ප්‍රතිදානය 0 ද, ආදානය 0 විට ප්‍රතිදානය 1 ද වේ.

READ_GUIDE

XOR Gate

XOR ද්වාරය

Q = A ⊕ B

An XOR gate (exclusive OR) is a digital logic gate that outputs 1 when its inputs are DIFFERENT, and 0 when they are the same.

XOR ද්වාරයක් (Exclusive OR) යනු ආදාන දෙක එකිනෙකට වෙනස් වූ විට පමණක් ප්‍රතිදානය 1 ලබා දෙන ද්වාරයකි. ආදාන දෙකම සමාන වූ විට ප්‍රතිදානය 0 වේ.

READ_GUIDE

NAND Gate

NAND ද්වාරය (Universal Gate)

Q = (A · B)̅

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 ද්වාරයක් යනු සියලුම ආදාන 1 වූ විට පමණක් ප්‍රතිදානය 0 ලබා දෙන ද්වාරයකි (AND හි නිශේධනය). අනෙකුත් සියලු අවස්ථාවලදී ප්‍රතිදානය 1 වේ.

READ_GUIDE

NOR Gate

NOR ද්වාරය (Universal Gate)

Q = (A + B)̅

A NOR gate is a digital logic gate that outputs 1 only when ALL inputs are 0 — the exact opposite of OR.

NOR ද්වාරයක් යනු සියලුම ආදාන 0 වූ විට පමණක් ප්‍රතිදානය 1 ලබා දෙන ද්වාරයකි (OR හි නිශේධනය). අනෙකුත් සියලු අවස්ථාවලදී ප්‍රතිදානය 0 වේ.

READ_GUIDE

XNOR Gate

XNOR ද්වාරය

Q = (A ⊕ B)̅

An XNOR gate (exclusive-NOR) is a digital logic gate that outputs 1 when its inputs are EQUAL — both 0 or both 1.

XNOR ද්වාරයක් (Exclusive NOR) යනු ආදාන දෙක එක සමාන වූ විට (දෙකම 0 හෝ දෙකම 1 වූ විට) ප්‍රතිදානය 1 ලබා දෙන ද්වාරයකි (XOR හි නිශේධනය).

READ_GUIDE

Want the wider theory? Read the logic gates primer, the truth table method, or the Boolean algebra laws — then put it all into practice in the Logic Gate Sandbox.

වැඩිදුර සිද්ධාන්ත අවශ්‍යද? තාර්කික ද්වාර හැඳින්වීම, සත්‍යතා වගු ක්‍රමය, හෝ බූලීය වීජ ගණිත නීති කියවන්න — අනතුරුව Logic Gate Sandbox එකෙන් සජීවීව අත්හදා බලන්න.