© 2026 schoolict.net (Ruwan Mangala Suraweera)
4.1 Logic Gates, Boolean Operators and Truth Tablesතාර්කික ද්වාර, බූලීය කාරක සහ සත්යතා වගු
G.C.E. O/L Grade 10 ICT · Lesson 4G.C.E. O/L ICT · 10 ශ්රේණිය · පාඩම 4
In this videoමේ වීඩියෝවේ
- Boolean logic uses only 1 (true) and 0 (false).බූලීය තර්කනය 1 (සත්ය) සහ 0 (අසත්ය) පමණක් භාවිතා කරයි.
- AND = A.B: 1 only if all inputs are 1.AND = A.B: සියලු ආදාන 1 නම් පමණක් 1.
- OR = A+B: 1 if any input is 1.OR = A+B: ඕනෑම ආදානයක් 1 නම් 1.
- NOT = A’: reverses the input.NOT = A’: ආදානය ප්රතිලෝම කරයි.
- NAND = (A.B)’, NOR = (A+B)’; truth table rows = 2ⁿ.NAND = (A.B)’, NOR = (A+B)’; පේළි = 2ⁿ.
Notesසටහන්
Inside every computer, calculator and phone there are millions of tiny switches called logic gates. A gate takes one or more inputs that are 1 (true / ON) or 0 (false / OFF) and gives one output. In this note you will learn the Boolean operators AND, OR and NOT, the gates AND, OR, NOT, NAND and NOR, their standard (ANSI) symbols, how to write them in Boolean notation (A.B, A+B, A’), and how to build truth tables with up to three inputs.සෑම පරිගණකයක, ගණක යන්ත්රයක සහ දුරකථනයක ඇතුළත තාර්කික ද්වාර (logic gates) නම් කුඩා ස්විච මිලියන ගණනක් තිබේ. ද්වාරයක් 1 (සත්ය / ON) හෝ 0 (අසත්ය / OFF) වන ආදාන එකක් හෝ කිහිපයක් ගෙන එක් ප්රතිදානයක් දෙයි. මේ සටහනෙන් AND, OR, NOT බූලීය කාරක, AND, OR, NOT, NAND, NOR ද්වාර, ඒවායේ සම්මත (ANSI) සංකේත, බූලීය අංකනය (A.B, A+B, A’) සහ ආදාන තුනක් දක්වා සත්යතා වගු සාදන හැටි ඉගෙන ගමු.
1. Boolean logic – only two values1. බූලීය තර්කනය – අගයන් දෙකක් පමණි
Boolean logic is named after the English mathematician George Boole (1815–1864). In Boolean logic a statement is either true (1) or false (0) – nothing in between. Computers use this because a circuit can easily be ON (1) or OFF (0).බූලීය තර්කනය නම් කර ඇත්තේ ඉංග්රීසි ගණිතඥ George Boole (1815–1864) අනුවයි. බූලීය තර්කනයේදී ප්රකාශයක් සත්ය (1) හෝ අසත්ය (0) පමණි – අතරමැද අගයක් නැත. පරිපථයක් පහසුවෙන් ON (1) හෝ OFF (0) විය හැකි නිසා පරිගණක මෙය භාවිතා කරයි.
| Meaningඅර්ථය | Value 1අගය 1 | Value 0අගය 0 |
|---|---|---|
| Logicතර්කය | Trueසත්ය | Falseඅසත්ය |
| Switch / lampස්විචය / බල්බය | ONON (දැල්වේ) | OFFOFF (නිවී ඇත) |
| Voltageවෝල්ටීයතාව | High (about 5 V)ඉහළ (5 + පමණ) | Low (about 0 V)පහළ (0 + පමණ) |
| Answer to a questionප්රශ්නයකට පිළිතුර | Yesඔව් | Noනැත |
A logic gate is an electronic circuit that performs one Boolean operation. Inputs are usually named A, B, C and the output X (or Q / F).තාර්කික ද්වාරයක් යනු එක් බූලීය මෙහෙයුමක් කරන ඉලෙක්ට්රොනික පරිපථයකි. ආදාන සාමාන්යයෙන් A, B, C ලෙසත් ප්රතිදානය X (හෝ Q / F) ලෙසත් නම් කරයි.
2. The three basic Boolean operators2. මූලික බූලීය කාරක තුන
| Operatorකාරකය | Boolean notationබූලීය අංකනය | Read asකියවන්නේ | Output is 1 when…ප්රතිදානය 1 වන්නේ… |
|---|---|---|---|
| ANDAND | X = A.BX = A.B | A and BA සහ B | all inputs are 1සියලු ආදාන 1 නම් |
| OROR | X = A+BX = A+B | A or BA හෝ B | at least one input is 1අවම වශයෙන් එක් ආදානයක් 1 නම් |
| NOTNOT | X = A’ (or Ā)X = A’ (or Ā) | not A / A barNOT A / A bar | the input is 0ආදානය 0 නම් |
3. AND gate3. AND ද්වාරය
The output of an AND gate is 1 only when all inputs are 1. If any input is 0, the output is 0. Think of two switches in series: the lamp lights only when both switches are ON.AND ද්වාරයක ප්රතිදානය 1 වන්නේ සියලු ආදාන 1 වූ විට පමණි. ඕනෑම ආදානයක් 0 නම් ප්රතිදානය 0 යි. ශ්රේණිගතව සවි කළ ස්විච දෙකක් ගැන හිතන්න: ස්විච දෙකම ON වූ විට පමණක් බල්බය දැල්වේ.
| AA | BB | X = A.BX = A.B |
|---|---|---|
| 00 | 00 | 00 |
| 00 | 11 | 00 |
| 11 | 00 | 00 |
| 11 | 11 | 11 |
4. OR gate4. OR ද්වාරය
The output of an OR gate is 1 when at least one input is 1. It is 0 only when all inputs are 0. Think of two switches in parallel: either switch can light the lamp.OR ද්වාරයක ප්රතිදානය අවම වශයෙන් එක් ආදානයක් 1 නම් 1 යි. 0 වන්නේ සියලු ආදාන 0 වූ විට පමණි. සමාන්තරව සවි කළ ස්විච දෙකක් ගැන හිතන්න: ඕනෑම ස්විචයකින් බල්බය දැල්විය හැක.
| AA | BB | X = A+BX = A+B |
|---|---|---|
| 00 | 00 | 00 |
| 00 | 11 | 11 |
| 11 | 00 | 11 |
| 11 | 11 | 11 |
5. NOT gate (inverter)5. NOT ද්වාරය (inverter)
A NOT gate has only one input. It inverts (reverses) the input: 1 becomes 0 and 0 becomes 1. The small circle (bubble) on a symbol always means NOT.NOT ද්වාරයට ඇත්තේ එක් ආදානයක් පමණි. එය ආදානය ප්රතිලෝම කරයි: 1 → 0, 0 → 1. සංකේතයක ඇති කුඩා රවුම (bubble) හැම විටම NOT අදහස් කරයි.
| AA | X = A’X = A’ |
|---|---|
| 00 | 11 |
| 11 | 00 |
6. NAND gate (NOT AND)6. NAND ද්වාරය (NOT AND)
NAND is an AND gate followed by a NOT gate. Its output is the opposite of AND: it is 0 only when all inputs are 1.NAND යනු AND ද්වාරයකට පසු NOT ද්වාරයකි. එහි ප්රතිදානය AND හි විරුද්ධය: සියලු ආදාන 1 වූ විට පමණක් 0 යි.
| AA | BB | A.BA.B | X = (A.B)’X = (A.B)’ |
|---|---|---|---|
| 00 | 00 | 00 | 11 |
| 00 | 11 | 00 | 11 |
| 11 | 00 | 00 | 11 |
| 11 | 11 | 11 | 00 |
7. NOR gate (NOT OR)7. NOR ද්වාරය (NOT OR)
NOR is an OR gate followed by a NOT gate. Its output is the opposite of OR: it is 1 only when all inputs are 0.NOR යනු OR ද්වාරයකට පසු NOT ද්වාරයකි. එහි ප්රතිදානය OR හි විරුද්ධය: සියලු ආදාන 0 වූ විට පමණක් 1 යි.
| AA | BB | A+BA+B | X = (A+B)’X = (A+B)’ |
|---|---|---|---|
| 00 | 00 | 00 | 11 |
| 00 | 11 | 11 | 00 |
| 11 | 00 | 11 | 00 |
| 11 | 11 | 11 | 00 |
8. All five gates together8. ද්වාර පහම එකට
| AA | BB | AND A.BAND A.B | OR A+BOR A+B | NAND (A.B)’NAND (A.B)’ | NOR (A+B)’NOR (A+B)’ | NOT A A’NOT A A’ |
|---|---|---|---|---|---|---|
| 00 | 00 | 00 | 00 | 11 | 11 | 11 |
| 00 | 11 | 00 | 11 | 11 | 00 | 11 |
| 11 | 00 | 00 | 11 | 11 | 00 | 00 |
| 11 | 11 | 11 | 11 | 00 | 00 | 00 |
9. Truth tables with three inputs9. ආදාන තුනක් සහිත සත්යතා වගු
A truth table lists every possible input combination and the output for each. With n inputs there are 2ⁿ rows: 1 input → 2 rows, 2 inputs → 4 rows, 3 inputs → 8 rows. Write the inputs in binary counting order (000, 001, 010 … 111) so you never miss a row.සත්යතා වගුවක හැකි සෑම ආදාන සංයෝජනයක්ම සහ එක් එක් සඳහා ප්රතිදානය දැක්වේ. ආදාන n ක් ඇත්නම් පේළි 2ⁿ ක්: ආදාන 1 → පේළි 2, ආදාන 2 → පේළි 4, ආදාන 3 → පේළි 8. කිසිම පේළියක් මඟ නොහැරීමට ආදාන binary ගණන් කිරීමේ පිළිවෙළට (000, 001, 010 … 111) ලියන්න.
| AA | BB | CC | X = A.B.CX = A.B.C |
|---|---|---|---|
| 00 | 00 | 00 | 00 |
| 00 | 00 | 11 | 00 |
| 00 | 11 | 00 | 00 |
| 00 | 11 | 11 | 00 |
| 11 | 00 | 00 | 00 |
| 11 | 00 | 11 | 00 |
| 11 | 11 | 00 | 00 |
| 11 | 11 | 11 | 11 |
| AA | BB | CC | X = A+B+CX = A+B+C |
|---|---|---|---|
| 00 | 00 | 00 | 00 |
| 00 | 00 | 11 | 11 |
| 00 | 11 | 00 | 11 |
| 00 | 11 | 11 | 11 |
| 11 | 00 | 00 | 11 |
| 11 | 00 | 11 | 11 |
| 11 | 11 | 00 | 11 |
| 11 | 11 | 11 | 11 |
A 3-input AND gives 1 in only one row (1,1,1). A 3-input OR gives 0 in only one row (0,0,0).ආදාන 3 AND එක 1 දෙන්නේ එක් පේළියක පමණි (1,1,1). ආදාන 3 OR එක 0 දෙන්නේ එක් පේළියක පමණි (0,0,0).
10. Circuits with two or three gates10. ද්වාර දෙකක් හෝ තුනක් සහිත පරිපථ
Gates can be joined: the output of one gate becomes the input of the next. To find the output, work from left to right and write the expression at each gate.ද්වාර එකට සම්බන්ධ කළ හැක: එක් ද්වාරයක ප්රතිදානය ඊළඟ ද්වාරයේ ආදානය වේ. ප්රතිදානය සෙවීමට වමේ සිට දකුණට ගොස් එක් එක් ද්වාරයේ ප්රකාශනය ලියන්න.
| AA | BB | A’A’ | X = A’.BX = A’.B |
|---|---|---|---|
| 00 | 00 | 11 | 00 |
| 00 | 11 | 11 | 11 |
| 11 | 00 | 00 | 00 |
| 11 | 11 | 00 | 00 |
| AA | BB | CC | A.BA.B | X = A.B+CX = A.B+C |
|---|---|---|---|---|
| 00 | 00 | 00 | 00 | 00 |
| 00 | 00 | 11 | 00 | 11 |
| 00 | 11 | 00 | 00 | 00 |
| 00 | 11 | 11 | 00 | 11 |
| 11 | 00 | 00 | 00 | 00 |
| 11 | 00 | 11 | 00 | 11 |
| 11 | 11 | 00 | 11 | 11 |
| 11 | 11 | 11 | 11 | 11 |
| AA | BB | CC | A+BA+B | C’C’ | X = (A+B).C’X = (A+B).C’ |
|---|---|---|---|---|---|
| 00 | 00 | 00 | 00 | 11 | 00 |
| 00 | 00 | 11 | 00 | 00 | 00 |
| 00 | 11 | 00 | 11 | 11 | 11 |
| 00 | 11 | 11 | 11 | 00 | 00 |
| 11 | 00 | 00 | 11 | 11 | 11 |
| 11 | 00 | 11 | 11 | 00 | 00 |
| 11 | 11 | 00 | 11 | 11 | 11 |
| 11 | 11 | 11 | 11 | 00 | 00 |
Brackets matter: (A.B)’ (NAND – NOT of the whole AND) is different from A’.B’ (NOT A AND NOT B). Check one row: A=1, B=0 gives (A.B)’ = 1 but A’.B’ = 0.වරහන් වැදගත්: (A.B)’ (NAND – සම්පූර්ණ AND හි NOT) සහ A’.B’ (NOT A සහ NOT B) වෙනස්. A=1, B=0 පේළිය බලන්න: (A.B)’ = 1 නමුත් A’.B’ = 0.
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1What is a logic gate?තාර්කික ද්වාරයක් යනු කුමක්ද?
2Write the Boolean expressions for AND, OR and NOT.AND, OR, NOT සඳහා බූලීය ප්රකාශන ලියන්න.
3How many rows does a truth table with three inputs have?ආදාන තුනක් ඇති සත්යතා වගුවක පේළි කීයද?
4What is the difference between an AND gate and a NAND gate?AND සහ NAND ද්වාර අතර වෙනස කුමක්ද?
5For which input combination does a NOR gate give 1?NOR ද්වාරයක් 1 දෙන්නේ කුමන ආදාන සංයෝජනයටද?
6Find X = A.B + C when A = 0, B = 1, C = 1.A = 0, B = 1, C = 1 වන විට X = A.B + C සොයන්න.
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1Boolean logic uses how many values?බූලීය තර්කනය අගයන් කීයක් භාවිතා කරයිද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Only true (1) and false (0).සත්ය (1) සහ අසත්ය (0) පමණි.
2In the Sri Lankan O/L notation, A.B means:ශ්රී ලංකා O/L අංකනයේ A.B යනු:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
The dot means AND.තිත (.) යනු AND.
3Which expression represents a NOT gate?NOT ද්වාරයක් නිරූපණය කරන ප්රකාශනය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
A’ (or Ā) is NOT A.A’ (හෝ Ā) යනු NOT A.
4An AND gate has inputs A = 1 and B = 0. The output is:AND ද්වාරයක A = 1, B = 0. ප්රතිදානය:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
AND needs all inputs 1.AND ට සියලු ආදාන 1 විය යුතුය.
5An OR gate has inputs A = 0 and B = 1. The output is:OR ද්වාරයක A = 0, B = 1. ප්රතිදානය:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
One input is 1, so OR gives 1.එක් ආදානයක් 1 නිසා OR 1 දෙයි.
6Which gate gives output 0 ONLY when all inputs are 1?සියලු ආදාන 1 වූ විට පමණක් 0 දෙන ද්වාරය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
NAND = NOT AND.NAND = NOT AND.
7Which gate gives output 1 ONLY when all inputs are 0?සියලු ආදාන 0 වූ විට පමණක් 1 දෙන ද්වාරය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
NOR = NOT OR.NOR = NOT OR.
8A gate symbol is a triangle with a small circle at the tip. It is:කෙළවරේ කුඩා රවුමක් ඇති ත්රිකෝණ සංකේතය:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Triangle + bubble = NOT (inverter).ත්රිකෝණය + bubble = NOT.
9The small circle (bubble) on a gate symbol means:ද්වාර සංකේතයක කුඩා රවුම (bubble) යනු:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
A bubble inverts the output.Bubble මගින් ප්රතිදානය ප්රතිලෝම කරයි.
10How many rows are in the truth table of a 3-input gate?ආදාන 3ක ද්වාරයක සත්යතා වගුවේ පේළි කීයද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
2³ = 8.2³ = 8.
11In the truth table of a 3-input AND gate, how many rows give output 1?ආදාන 3 AND ද්වාරයේ සත්යතා වගුවේ ප්රතිදානය 1 වන පේළි කීයද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Only 1,1,1 gives 1.1,1,1 පමණක් 1 දෙයි.
12What is the output of X = (A+B)’ when A = 0 and B = 0?A = 0, B = 0 වන විට X = (A+B)’ හි ප්රතිදානය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
A+B = 0, NOT 0 = 1.A+B = 0, NOT 0 = 1.
13For X = A.B + C, which input gives X = 0?X = A.B + C සඳහා X = 0 දෙන ආදානය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
A.B = 0 and C = 0 → X = 0.A.B = 0, C = 0 → X = 0.
14In X = (A+B).C’, what is X when A = 1, B = 0, C = 1?X = (A+B).C’ හි A = 1, B = 0, C = 1 වන විට X?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
C’ = 0, so the AND output is 0.C’ = 0 නිසා AND ප්රතිදානය 0.
15Which statement about Boolean OR is correct?බූලීය OR ගැන නිවැරදි ප්රකාශය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
OR gives 1 if any input is 1.ඕනෑම ආදානයක් 1 නම් OR 1 දෙයි.
MCQ answer keyMCQ පිළිතුරු
- A – Only true (1) and false (0).සත්ය (1) සහ අසත්ය (0) පමණි.
- C – The dot means AND.තිත (.) යනු AND.
- C – A’ (or Ā) is NOT A.A’ (හෝ Ā) යනු NOT A.
- A – AND needs all inputs 1.AND ට සියලු ආදාන 1 විය යුතුය.
- B – One input is 1, so OR gives 1.එක් ආදානයක් 1 නිසා OR 1 දෙයි.
- D – NAND = NOT AND.NAND = NOT AND.
- C – NOR = NOT OR.NOR = NOT OR.
- B – Triangle + bubble = NOT (inverter).ත්රිකෝණය + bubble = NOT.
- A – A bubble inverts the output.Bubble මගින් ප්රතිදානය ප්රතිලෝම කරයි.
- C – 2³ = 8.2³ = 8.
- D – Only 1,1,1 gives 1.1,1,1 පමණක් 1 දෙයි.
- A – A+B = 0, NOT 0 = 1.A+B = 0, NOT 0 = 1.
- B – A.B = 0 and C = 0 → X = 0.A.B = 0, C = 0 → X = 0.
- D – C’ = 0, so the AND output is 0.C’ = 0 නිසා AND ප්රතිදානය 0.
- B – OR gives 1 if any input is 1.ඕනෑම ආදානයක් 1 නම් OR 1 දෙයි.
Structured Questionsව්යුහගත ප්රශ්න
1(i) Draw the ANSI symbols of the AND, OR and NOT gates. (3 marks)
(ii) Write the Boolean expression for each. (3 marks)(i) AND, OR, NOT ද්වාරවල ANSI සංකේත අඳින්න. (ලකුණු 3)
(ii) එක් එක් සඳහා බූලීය ප්රකාශනය ලියන්න. (ලකුණු 3) (6 marksලකුණු 6)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(ii) AND X = A.B; OR X = A+B; NOT X = A’.(i) AND – පැතලි පිටුපස, වටකුරු ඉදිරිපස; OR – වක්ර පිටුපස, උල් ඉදිරිපස; NOT – bubble සහිත ත්රිකෝණය (පහත සංකේත බලන්න).
(ii) AND X = A.B; OR X = A+B; NOT X = A’.
2Copy and complete the truth table for a 2-input NAND gate and a 2-input NOR gate. (4 marks)ආදාන 2 NAND සහ ආදාන 2 NOR ද්වාර සඳහා සත්යතා වගුව සම්පූර්ණ කරන්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
| AA | BB | NAND (A.B)’NAND (A.B)’ | NOR (A+B)’NOR (A+B)’ |
|---|---|---|---|
| 00 | 00 | 11 | 11 |
| 00 | 11 | 11 | 00 |
| 11 | 00 | 11 | 00 |
| 11 | 11 | 00 | 00 |
3Draw the truth table of a 3-input OR gate (X = A+B+C). (4 marks)ආදාන 3 OR ද්වාරයේ (X = A+B+C) සත්යතා වගුව අඳින්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
| AA | BB | CC | X = A+B+CX = A+B+C |
|---|---|---|---|
| 00 | 00 | 00 | 00 |
| 00 | 00 | 11 | 11 |
| 00 | 11 | 00 | 11 |
| 00 | 11 | 11 | 11 |
| 11 | 00 | 00 | 11 |
| 11 | 00 | 11 | 11 |
| 11 | 11 | 00 | 11 |
| 11 | 11 | 11 | 11 |
4For the circuit X = A.B + C: (i) draw the logic circuit (2 marks) (ii) complete the truth table (4 marks).X = A.B + C පරිපථය සඳහා: (i) තාර්කික පරිපථය අඳින්න (ලකුණු 2) (ii) සත්යතා වගුව සම්පූර්ණ කරන්න (ලකුණු 4). (6 marksලකුණු 6)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
| AA | BB | CC | A.BA.B | X = A.B+CX = A.B+C |
|---|---|---|---|---|
| 00 | 00 | 00 | 00 | 00 |
| 00 | 00 | 11 | 00 | 11 |
| 00 | 11 | 00 | 00 | 00 |
| 00 | 11 | 11 | 00 | 11 |
| 11 | 00 | 00 | 00 | 00 |
| 11 | 00 | 11 | 00 | 11 |
| 11 | 11 | 00 | 11 | 11 |
| 11 | 11 | 11 | 11 | 11 |
5(i) Explain why NAND is called a universal gate. (2 marks)
(ii) Show that a NAND gate followed by a NOT gate works like an AND gate. (3 marks)(i) NAND සර්වත්ර ද්වාරයක් ලෙස හඳුන්වන්නේ ඇයි? (ලකුණු 2)
(ii) NAND ද්වාරයකට පසු NOT ද්වාරයක් AND ද්වාරයක් ලෙස ක්රියා කරන බව පෙන්වන්න. (ලකුණු 3) (5 marksලකුණු 5)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
| AA | BB | (A.B)’(A.B)’ | XX |
|---|---|---|---|
| 00 | 00 | 11 | 00 |
| 00 | 11 | 11 | 00 |
| 11 | 00 | 11 | 00 |
| 11 | 11 | 00 | 11 |
6Find the output X of X = (A+B).C’ for (i) A=0, B=0, C=0 (ii) A=1, B=1, C=0 (iii) A=0, B=1, C=1. Show working. (3 marks)X = (A+B).C’ හි ප්රතිදානය X සොයන්න: (i) A=0, B=0, C=0 (ii) A=1, B=1, C=0 (iii) A=0, B=1, C=1. ක්රියාවලිය පෙන්වන්න. (ලකුණු 3) (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- Boolean logic has only two values: 1 (true/ON) and 0 (false/OFF).බූලීය තර්කනයට ඇත්තේ අගයන් දෙකයි: 1 (සත්ය/ON) සහ 0 (අසත්ය/OFF).
- Notation: A.B = AND, A+B = OR, A’ or Ā = NOT.අංකනය: A.B = AND, A+B = OR, A’ හෝ Ā = NOT.
- AND → 1 only if all inputs are 1; OR → 1 if any input is 1.AND → සියලු ආදාන 1 නම් පමණක් 1; OR → ඕනෑම ආදානයක් 1 නම් 1.
- NOT has one input and reverses it.NOT ට එක් ආදානයක්; එය ප්රතිලෝම කරයි.
- NAND = NOT AND; NOR = NOT OR. A bubble on a symbol means NOT.NAND = NOT AND; NOR = NOT OR. සංකේතයේ bubble එක NOT යි.
- n inputs → 2ⁿ truth-table rows (3 inputs → 8 rows), written in binary order.ආදාන n → සත්යතා වගු පේළි 2ⁿ (ආදාන 3 → පේළි 8), binary පිළිවෙළට.
- For circuits, work left to right and add a column for each middle output.පරිපථ සඳහා වමේ සිට දකුණට ගොස් සෑම මැද ප්රතිදානයකටම තීරුවක් එක් කරන්න.
- NAND and NOR are universal gates.NAND සහ NOR සර්වත්ර ද්වාර වේ.
