© 2026 schoolict.net (Ruwan Mangala Suraweera)
4.2 Solving Real-World Problems with Logic Gatesතාර්කික ද්වාර භාවිතයෙන් සැබෑ ලෝක ගැටලු විසඳීම
G.C.E. O/L Grade 10 ICT · Lesson 4G.C.E. O/L ICT · 10 ශ්රේණිය · පාඩම 4
In this videoමේ වීඩියෝවේ
- List inputs (sensors) and the output first.පළමුව ආදාන (sensors) සහ ප්රතිදානය ලියන්න.
- Decide what 1 and 0 mean for each input.එක් එක් ආදානයට 1 සහ 0 අර්ථය තීරණය කරන්න.
- “and” → AND, “or” → OR, “not” → NOT.“සහ” → AND, “හෝ” → OR, “නැත” → NOT.
- Block diagram → expression → logic diagram.Block diagram → ප්රකාශනය → logic diagram.
- Check with a truth table.සත්යතා වගුවකින් පරීක්ෂා කරන්න.
Notesසටහන්
Logic gates are not only for exams – they control car alarms, door locks, smart home lights, greenhouse water pumps and even decide who gets a scholarship. In this note you will learn a simple step-by-step method: turn a problem written in words into a block diagram, then into a Boolean expression, a logic circuit and a truth table. You will also learn to read a circuit and derive its expression and truth table.තාර්කික ද්වාර විභාගයට පමණක් නොවේ – ඒවා මෝටර් රථ alarm, දොර අගුළු, smart home විදුලි පහන්, හරිතාගාර ජල පොම්ප පාලනය කරන අතර ශිෂ්යත්වයක් ලබන්නේ කවුද යන්න ද තීරණය කරයි. වචනවලින් ලියූ ගැටලුවක් block diagram එකක් බවටත්, පසුව බූලීය ප්රකාශනයක්, තාර්කික පරිපථයක් සහ සත්යතා වගුවක් බවටත් හරවන සරල පියවර ක්රමයක් මේ සටහනෙන් ඉගෙන ගමු. පරිපථයක් කියවා එහි ප්රකාශනය සහ සත්යතා වගුව ව්යුත්පන්න කිරීම ද ඉගෙන ගමු.
1. The 5-step method1. පියවර 5 ක්රමය
2. Example 1 – Car alarm system2. උදාහරණය 1 – මෝටර් රථ alarm පද්ධතිය
Problem: The siren of a car alarm sounds when the alarm is switched ON and either a door is opened or a window is broken.ගැටලුව: Alarm එක ON කර ඇති විට, දොරක් විවෘත කළොත් හෝ කවුළුවක් බිඳුණොත් car alarm siren එක නාද වේ.
| Letterඅකුර | Input / outputආදානය / ප්රතිදානය | 1 means1 යනු | 0 means0 යනු |
|---|---|---|---|
| SS | Alarm switchAlarm ස්විචය | ONON | OFFOFF |
| DD | Door sensorදොර sensor | Door openදොර විවෘත | Door closedදොර වසා ඇත |
| WW | Window sensorකවුළු sensor | Glass brokenවීදුරු බිඳී ඇත | Glass OKවීදුරු හොඳයි |
| SirenSiren | Outputප්රතිදානය | Soundsනාද වේ | Silentනිහඬයි |
In words: Siren = S AND (D OR W). Expression: Siren = S.(D+W). Logic circuit:වචනවලින්: Siren = S AND (D OR W). ප්රකාශනය: Siren = S.(D+W). තාර්කික පරිපථය:
| SS | DD | WW | D+WD+W | SirenSiren |
|---|---|---|---|---|
| 00 | 00 | 00 | 00 | 00 |
| 00 | 00 | 11 | 11 | 00 |
| 00 | 11 | 00 | 11 | 00 |
| 00 | 11 | 11 | 11 | 00 |
| 11 | 00 | 00 | 00 | 00 |
| 11 | 00 | 11 | 11 | 11 |
| 11 | 11 | 00 | 11 | 11 |
| 11 | 11 | 11 | 11 | 11 |
The siren sounds in 3 of the 8 cases – only when S = 1 and at least one sensor is 1.පේළි 8න් 3 කදී siren නාද වේ – S = 1 සහ අවම වශයෙන් එක් sensor එකක් 1 වූ විට පමණි.
3. Example 2 – Selection criteria (scholarship)3. උදාහරණය 2 – තේරීම් නිර්ණායක (ශිෂ්යත්වය)
Problem: A school gives a scholarship to a student who has passed the O/L exam (P) and who has either a low family income (I) or a talent in sport (T).ගැටලුව: O/L විභාගය සමත් (P) සහ අඩු පවුල් ආදායමක් (I) හෝ ක්රීඩා දක්ෂතාවයක් (T) ඇති සිසුවෙකුට පාසල ශිෂ්යත්වයක් දෙයි.
| PP | II | TT | I+TI+T | X = P.(I+T)X = P.(I+T) |
|---|---|---|---|---|
| 00 | 00 | 00 | 00 | 00 |
| 00 | 00 | 11 | 11 | 00 |
| 00 | 11 | 00 | 11 | 00 |
| 00 | 11 | 11 | 11 | 00 |
| 11 | 00 | 00 | 00 | 00 |
| 11 | 00 | 11 | 11 | 11 |
| 11 | 11 | 00 | 11 | 11 |
| 11 | 11 | 11 | 11 | 11 |
4. Example 3 – Smart home light (uses NOT)4. උදාහරණය 3 – Smart home විදුලි පහන (NOT භාවිතය)
Problem: A garden lamp switches ON when motion is detected (M = 1) and it is dark. The light sensor gives L = 1 when it is bright, so “dark” means NOT L.ගැටලුව: චලනයක් හඳුනාගත් විට (M = 1) සහ අඳුරු විට වත්තේ පහන දැල්වේ. ආලෝක sensor එක දීප්තිමත් විට L = 1 දෙයි, එබැවින් “අඳුරු” යනු NOT L.
| MM | LL | L’L’ | LampLamp |
|---|---|---|---|
| 00 | 00 | 11 | 00 |
| 00 | 11 | 00 | 00 |
| 11 | 00 | 11 | 11 |
| 11 | 11 | 00 | 00 |
5. Example 4 – Greenhouse / IoT smart agriculture5. උදාහරණය 4 – හරිතාගාරය / IoT smart agriculture
Problem: In a smart greenhouse the water pump turns ON when the soil is dry (D) and it is not raining (R) and the water tank is not empty (T). Not raining and not empty = NOT (R OR T) = a NOR gate.ගැටලුව: Smart හරිතාගාරයක පස වියළි (D) සහ වැසි නොමැති (R) සහ ජල ටැංකිය හිස් නොවූ (T) විට ජල පොම්පය ON වේ. වැසි නැත සහ හිස් නැත = NOT (R OR T) = NOR ද්වාරයකි.
| DD | RR | TT | (R+T)’(R+T)’ | PumpPump |
|---|---|---|---|---|
| 00 | 00 | 00 | 11 | 00 |
| 00 | 00 | 11 | 00 | 00 |
| 00 | 11 | 00 | 00 | 00 |
| 00 | 11 | 11 | 00 | 00 |
| 11 | 00 | 00 | 11 | 11 |
| 11 | 00 | 11 | 00 | 00 |
| 11 | 11 | 00 | 00 | 00 |
| 11 | 11 | 11 | 00 | 00 |
The pump runs in only one case: D = 1, R = 0, T = 0. This saves water and protects the pump – a real use of IoT in Sri Lankan farming.පොම්පය ක්රියා කරන්නේ එක් අවස්ථාවක පමණි: D = 1, R = 0, T = 0. මෙය ජලය ඉතිරි කර පොම්පය ආරක්ෂා කරයි – ශ්රී ලංකා ගොවිතැනේ IoT සැබෑ භාවිතයකි.
6. Example 5 – Electronic door lock6. උදාහරණය 5 – ඉලෙක්ට්රොනික දොර අගුල
Problem: An office door unlocks when a valid card (C) is shown and the correct PIN (K) is typed, or when the fire alarm (F) is ON (so people can escape).ගැටලුව: වලංගු කාඩ්පතක් (C) පෙන්වා නිවැරදි PIN (K) ඇතුළත් කළ විට, හෝ ගිනි alarm (F) ON වූ විට (මිනිසුන්ට පලා යාමට) කාර්යාල දොර අගුළු හැරේ.
| CC | KK | FF | C.KC.K | UnlockUnlock |
|---|---|---|---|---|
| 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 |
7. Reading a circuit: derive the expression and truth table7. පරිපථයක් කියවීම: ප්රකාශනය සහ සත්යතා වගුව ව්යුත්පන්න කිරීම
Go gate by gate from left to right. Write the output expression beside each gate, then combine them. Finally evaluate the expression for every row.වමේ සිට දකුණට ද්වාරයෙන් ද්වාරයට යන්න. සෑම ද්වාරයක් අසලම ප්රතිදාන ප්රකාශනය ලියා ඒවා එකතු කරන්න. අවසානයේ සෑම පේළියක් සඳහාම ප්රකාශනය ගණනය කරන්න.
- NAND gate output = (A.B)’NAND ද්වාර ප්රතිදානය = (A.B)’
- NOT gate output = C’NOT ද්වාර ප්රතිදානය = C’
- AND gate: X = (A.B)’.C’AND ද්වාරය: X = (A.B)’.C’
| AA | BB | CC | (A.B)’(A.B)’ | C’C’ | X = (A.B)’.C’X = (A.B)’.C’ |
|---|---|---|---|---|---|
| 00 | 00 | 00 | 11 | 11 | 11 |
| 00 | 00 | 11 | 11 | 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 | 00 | 11 | 00 |
| 11 | 11 | 11 | 00 | 00 | 00 |
| AA | BB | CC | (A+B)’(A+B)’ | X = (A+B)’+CX = (A+B)’+C |
|---|---|---|---|---|
| 00 | 00 | 00 | 11 | 11 |
| 00 | 00 | 11 | 11 | 11 |
| 00 | 11 | 00 | 00 | 00 |
| 00 | 11 | 11 | 00 | 11 |
| 11 | 00 | 00 | 00 | 00 |
| 11 | 00 | 11 | 00 | 11 |
| 11 | 11 | 00 | 00 | 00 |
| 11 | 11 | 11 | 00 | 11 |
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1List the steps to solve a real-world problem with logic gates.තාර්කික ද්වාර මගින් සැබෑ ගැටලුවක් විසඳීමේ පියවර ලියන්න.
2What is the difference between a block diagram and a logic diagram?Block diagram සහ logic diagram අතර වෙනස?
3A car siren sounds when the alarm is ON (S) and a door (D) or window (W) is opened. Write the expression.Alarm ON (S) වී දොරක් (D) හෝ කවුළුවක් (W) විවෘත කළ විට siren නාද වේ. ප්රකාශනය ලියන්න.
4Why is a NOT gate needed in the smart light circuit?Smart light පරිපථයට NOT ද්වාරයක් අවශ්ය ඇයි?
5For Unlock = C.K + F, will the door open if C = 0, K = 1, F = 1?Unlock = C.K + F හි C = 0, K = 1, F = 1 නම් දොර විවෘත වේද?
6How do you derive the expression from a given circuit?දී ඇති පරිපථයකින් ප්රකාශනය ව්යුත්පන්න කරන්නේ කෙසේද?
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1In a problem, the word “either … or” usually means which gate?ගැටලුවක “… හෝ …” යන්නෙන් සාමාන්යයෙන් අදහස් වන ද්වාරය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Either/or → OR.හෝ → OR.
2“Both the card and the PIN must be correct” is best shown by:“කාඩ්පත සහ PIN දෙකම නිවැරදි විය යුතුය” හොඳින්ම දක්වන්නේ:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Both → AND.දෙකම → AND.
3A block diagram shows:Block diagram එකක් පෙන්වන්නේ:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
It is a simple overview before drawing gates.ද්වාර ඇඳීමට පෙර සරල දළ විශ්ලේෂණයකි.
4Siren = S.(D+W). What happens when S = 0, D = 1, W = 1?Siren = S.(D+W). S = 0, D = 1, W = 1 විට?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
S = 0 so the AND output is 0.S = 0 නිසා AND ප්රතිදානය 0.
5In Siren = S.(D+W), how many of the 8 rows give Siren = 1?Siren = S.(D+W) හි පේළි 8න් Siren = 1 වන්නේ කීයක?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
S = 1 with D, W = 01, 10, 11.S = 1 සමග D, W = 01, 10, 11.
6A garden lamp turns on when there is motion (M) and it is dark. The sensor L = 1 when bright. The expression is:චලනය (M) සහ අඳුරු විට පහන දැල්වේ. දීප්තිමත් විට L = 1. ප්රකාශනය:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Dark = NOT L.අඳුරු = NOT L.
7Lamp = M.L’. Which input turns the lamp ON?Lamp = M.L’. පහන දල්වන ආදානය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Lamp = 1.0′ = 1.1 = 1.Lamp = 1.0′ = 1.1 = 1.
8Pump = D.(R+T)’. For how many input combinations does the pump run?Pump = D.(R+T)’. පොම්පය ක්රියා කරන ආදාන සංයෝජන කීයද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Only D=1, R=0, T=0.D=1, R=0, T=0 පමණි.
9“Not raining and tank not empty” = NOT (R OR T). Which single gate does this?“වැසි නැත සහ ටැංකිය හිස් නැත” = NOT (R OR T). මෙය කරන තනි ද්වාරය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
NOT OR = NOR.NOT OR = NOR.
10Unlock = C.K + F. Which input keeps the door LOCKED (0)?Unlock = C.K + F. දොර අගුළු දමා (0) තබන ආදානය?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
C.K = 0 and F = 0 → 0.C.K = 0, F = 0 → 0.
11A circuit has a NAND gate with inputs A and B, a NOT gate on C, and an AND gate joining both. The expression is:A, B සඳහා NAND, C මත NOT, දෙකම එක් කරන AND ඇති පරිපථයේ ප්රකාශනය:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Write each gate output, then AND them.එක් එක් ද්වාර ප්රතිදානය ලියා AND කරන්න.
12For X = (A.B)’.C’, what is X when A = 0, B = 0, C = 0?X = (A.B)’.C’ හි A = 0, B = 0, C = 0 විට X?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
(0.0)’ = 1, C’ = 1, 1.1 = 1.(0.0)’ = 1, C’ = 1, 1.1 = 1.
13X = (A+B)’ + C. What is X when A = 1, B = 0, C = 0?X = (A+B)’ + C. A = 1, B = 0, C = 0 විට X?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
(1+0)’ = 0; 0 + 0 = 0.(1+0)’ = 0; 0 + 0 = 0.
14Scholarship X = P.(I+T). A student passed (P=1), has no low income (I=0) but has sport talent (T=1). X =ශිෂ්යත්වය X = P.(I+T). සමත් (P=1), අඩු ආදායම නැත (I=0), ක්රීඩා දක්ෂ (T=1). X =
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
1.(0+1) = 1.1.(0+1) = 1.
15Which is the BEST first step when solving a logic problem?තාර්කික ගැටලුවක් විසඳීමේ හොඳම පළමු පියවර?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Inputs/outputs come first.ආදාන/ප්රතිදාන පළමුව.
MCQ answer keyMCQ පිළිතුරු
- B – Either/or → OR.හෝ → OR.
- D – Both → AND.දෙකම → AND.
- A – It is a simple overview before drawing gates.ද්වාර ඇඳීමට පෙර සරල දළ විශ්ලේෂණයකි.
- B – S = 0 so the AND output is 0.S = 0 නිසා AND ප්රතිදානය 0.
- A – S = 1 with D, W = 01, 10, 11.S = 1 සමග D, W = 01, 10, 11.
- C – Dark = NOT L.අඳුරු = NOT L.
- A – Lamp = 1.0′ = 1.1 = 1.Lamp = 1.0′ = 1.1 = 1.
- D – Only D=1, R=0, T=0.D=1, R=0, T=0 පමණි.
- B – NOT OR = NOR.NOT OR = NOR.
- A – C.K = 0 and F = 0 → 0.C.K = 0, F = 0 → 0.
- C – Write each gate output, then AND them.එක් එක් ද්වාර ප්රතිදානය ලියා AND කරන්න.
- C – (0.0)’ = 1, C’ = 1, 1.1 = 1.(0.0)’ = 1, C’ = 1, 1.1 = 1.
- B – (1+0)’ = 0; 0 + 0 = 0.(1+0)’ = 0; 0 + 0 = 0.
- D – 1.(0+1) = 1.1.(0+1) = 1.
- C – Inputs/outputs come first.ආදාන/ප්රතිදාන පළමුව.
Structured Questionsව්යුහගත ප්රශ්න
1A car alarm siren sounds when the alarm switch is ON (S) and a door is opened (D) or a window is broken (W).
(i) Draw a block diagram. (2 marks)
(ii) Write the Boolean expression. (1 mark)
(iii) Draw the logic circuit. (2 marks)Alarm ස්විචය ON (S) වී දොරක් විවෘත කළ (D) හෝ කවුළුවක් බිඳුණු (W) විට car alarm siren නාද වේ.
(i) Block diagram එකක් අඳින්න. (ලකුණු 2)
(ii) බූලීය ප්රකාශනය ලියන්න. (ලකුණු 1)
(iii) තාර්කික පරිපථය අඳින්න. (ලකුණු 2) (5 marksලකුණු 5)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
2Complete the truth table for Siren = S.(D+W). Include a column for D+W. (4 marks)Siren = S.(D+W) සඳහා සත්යතා වගුව සම්පූර්ණ කරන්න. D+W තීරුවක් ද ඇතුළත් කරන්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
| SS | DD | WW | D+WD+W | SirenSiren |
|---|---|---|---|---|
| 00 | 00 | 00 | 00 | 00 |
| 00 | 00 | 11 | 11 | 00 |
| 00 | 11 | 00 | 11 | 00 |
| 00 | 11 | 11 | 11 | 00 |
| 11 | 00 | 00 | 00 | 00 |
| 11 | 00 | 11 | 11 | 11 |
| 11 | 11 | 00 | 11 | 11 |
| 11 | 11 | 11 | 11 | 11 |
3A smart garden lamp (Lamp) turns on when motion is detected (M = 1) and it is dark. The light sensor gives L = 1 when bright.
(i) Write the expression. (1 mark)
(ii) Draw the logic circuit. (2 marks)
(iii) Draw the truth table. (2 marks)චලනය හඳුනාගත් (M = 1) සහ අඳුරු විට smart garden පහන දැල්වේ. දීප්තිමත් විට ආලෝක sensor එක L = 1 දෙයි.
(i) ප්රකාශනය ලියන්න. (ලකුණු 1)
(ii) පරිපථය අඳින්න. (ලකුණු 2)
(iii) සත්යතා වගුව අඳින්න. (ලකුණු 2) (5 marksලකුණු 5)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
| MM | LL | L’L’ | LampLamp |
|---|---|---|---|
| 00 | 00 | 11 | 00 |
| 00 | 11 | 00 | 00 |
| 11 | 00 | 11 | 11 |
| 11 | 11 | 00 | 00 |
4A greenhouse pump runs when the soil is dry (D) and it is not raining (R) and the tank is not empty (T).
(i) Show that the condition can be written as Pump = D.(R+T)’. (2 marks)
(ii) Draw the circuit using a NOR gate. (2 marks)
(iii) In which case does the pump run? (1 mark)පස වියළි (D), වැසි නොමැති (R) සහ ටැංකිය හිස් නොවූ (T) විට හරිතාගාර පොම්පය ක්රියා කරයි.
(i) කොන්දේසිය Pump = D.(R+T)’ ලෙස ලිවිය හැකි බව පෙන්වන්න. (ලකුණු 2)
(ii) NOR ද්වාරයක් යොදා පරිපථය අඳින්න. (ලකුණු 2)
(iii) පොම්පය ක්රියා කරන්නේ කුමන අවස්ථාවේද? (ලකුණු 1) (5 marksලකුණු 5)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
| DD | RR | TT | PumpPump |
|---|---|---|---|
| 00 | 00 | 00 | 00 |
| 00 | 00 | 11 | 00 |
| 00 | 11 | 00 | 00 |
| 00 | 11 | 11 | 00 |
| 11 | 00 | 00 | 11 |
| 11 | 00 | 11 | 00 |
| 11 | 11 | 00 | 00 |
| 11 | 11 | 11 | 00 |
5Study the circuit: a NAND gate with inputs A and B, a NOT gate with input C, and an AND gate whose inputs are the two outputs.
(i) Write the expression for X. (2 marks)
(ii) Complete the truth table. (4 marks)පරිපථය අධ්යයනය කරන්න: A සහ B ආදාන සහිත NAND, C ආදානය සහිත NOT, සහ ප්රතිදාන දෙක ආදාන වන AND ද්වාරයක්.
(i) X සඳහා ප්රකාශනය ලියන්න. (ලකුණු 2)
(ii) සත්යතා වගුව සම්පූර්ණ කරන්න. (ලකුණු 4) (6 marksලකුණු 6)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
| AA | BB | CC | (A.B)’(A.B)’ | C’C’ | X = (A.B)’.C’X = (A.B)’.C’ |
|---|---|---|---|---|---|
| 00 | 00 | 00 | 11 | 11 | 11 |
| 00 | 00 | 11 | 11 | 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 | 00 | 11 | 00 |
| 11 | 11 | 11 | 00 | 00 | 00 |
6An office door unlocks when a valid card (C) and the correct PIN (K) are given, or when the fire alarm (F) is ON.
(i) Write the expression. (1 mark)
(ii) Draw the logic circuit. (2 marks)
(iii) Explain why F is joined with an OR gate. (1 mark)වලංගු කාඩ්පත (C) සහ නිවැරදි PIN (K) දුන් විට, හෝ ගිනි alarm (F) ON විට කාර්යාල දොර අගුළු හැරේ.
(i) ප්රකාශනය ලියන්න. (ලකුණු 1)
(ii) පරිපථය අඳින්න. (ලකුණු 2)
(iii) F, OR ද්වාරයකින් එක් කරන්නේ ඇයි? (ලකුණු 1) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- Real problems are solved in 5 steps: inputs/output → letters → block diagram → expression and circuit → truth table.සැබෑ ගැටලු පියවර 5කින්: ආදාන/ප්රතිදාන → අකුරු → block diagram → ප්රකාශනය සහ පරිපථය → සත්යතා වගුව.
- Words give the gate: and/both → AND; or/either → OR; not/dark → NOT.වචන ද්වාරය කියයි: සහ/දෙකම → AND; හෝ → OR; නැත/අඳුරු → NOT.
- Always state what 1 and 0 mean for each input.සෑම ආදානයකටම 1 සහ 0 යන්නෙහි අර්ථය සඳහන් කරන්න.
- A block diagram shows boxes; a logic diagram shows the gates.Block diagram පෙට්ටි පෙන්වයි; logic diagram ද්වාර පෙන්වයි.
- Car alarm: Siren = S.(D+W); smart light: Lamp = M.L’.Car alarm: Siren = S.(D+W); smart light: Lamp = M.L’.
- “Not A and not B” = (A+B)’ – a NOR gate.“A නැත සහ B නැත” = (A+B)’ – NOR ද්වාරයකි.
- To read a circuit, write each gate’s output from left to right, then build the truth table.පරිපථයක් කියවීමට වමේ සිට දකුණට සෑම ද්වාර ප්රතිදානයක්ම ලියා සත්යතා වගුව සාදන්න.
- IoT, smart homes and security systems use these Yes/No decisions every day.IoT, smart homes සහ ආරක්ෂක පද්ධති දිනපතා මෙම ඔව්/නැත තීරණ භාවිතා කරයි.
Downloadsබාගත කිරීම්
Full Lesson 4 PDFසම්පූර්ණ පාඩම 4 PDF: English · සිංහල
Next: Lesson 4 O/L Exam Practiceඊළඟට: පාඩම 4 O/L විභාග පුහුණුව →
