Designing Digital Circuits: From Everyday Needs to Logic Gates – Grade 12 A/L ICT Notes 4.3

© 2026 schoolict.net (Ruwan Mangala Suraweera)

4.3 Designing Digital Circuits: From Everyday Needs to Logic Gatesසංඛ්‍යාංක පරිපථ නිර්මාණය: එදිනෙදා අවශ්‍යතාවල සිට තර්ක ද්වාර දක්වා

Grade 12 A/L ICT · Lesson 412 ශ්‍රේණිය A/L ICT · පාඩම 4

Prints all tabs in the language you are reading. Use “Save as PDF” in the print window to keep a copy.ඔබ කියවන භාෂාවෙන් සියලු tabs මුද්‍රණය වේ. පිටපතක් තියාගන්න print window එකේ “Save as PDF” තෝරන්න.
🎬Video coming soon in this language. Switch language to watch the other video.මේ භාෂාවෙන් වීඩියෝව ඉක්මනින් එනවා. අනෙක් වීඩියෝව බලන්න භාෂාව මාරු කරන්න.

In this videoමේ වීඩියෝවේ

  • Design flow: need → truth table → simplify expression → draw gates.නිර්මාණ ප්‍රවාහය: අවශ්‍යතාව → සත්‍යතා වගුව → ප්‍රකාශනය සරල කරන්න → ද්වාර අඳින්න.
  • Door alarm: F = D · N (one AND).දොර එලාමය: F = D · N (AND එකක්).
  • Majority: F = AB + BC + AC (also full-adder carry).බහුතරය: F = AB + BC + AC (සම්පූර්ණ එකතුකරන්නාගේ carry ද).
  • Seatbelt warning: F = E · S′ (NOT then AND).Seatbelt අනතුරු ඇඟවීම: F = E · S′ (NOT පසු AND).
  • Syllabus designs use at most three inputs (8-row truth tables).විෂය නිර්දේශ නිර්මාණ ආදාන තුනක් දක්වා භාවිත කරයි (පේළි 8 වගු).
Digital circuit designInput variableOutput functionMajority functionAlarm circuitGate-level circuitSimplification before drawing

Notesසටහන්

Syllabus 4.3. Now you design small circuits yourself. You pick a real situation (a door alarm, a majority vote, a car seatbelt light), write its truth table (up to three inputs), turn the table into a Boolean expression, simplify it, and finally draw the gate circuit. This is how engineers start every digital design.විෂය නිර්දේශය 4.3. දැන් ඔබ කුඩා පරිපථ නිර්මාණය කරයි. සැබෑ අවස්ථාවක් තෝරා (දොර එලාමයක්, බහුතර ඡන්දයක්, මෝටර් රථ seatbelt එළියක්), එහි සත්‍යතා වගුව ලියා (ආදාන තුනක් දක්වා), වගුව බූලියානු ප්‍රකාශනයකට හරවා, සරල කර, අවසානයේ ද්වාර පරිපථය අඳින්න. ඉංජිනේරුවන් සෑම සංඛ්‍යාංක නිර්මාණයක්ම අරඹන්නේ මෙසේය.

1. The design steps1. නිර්මාණ පියවර

Four clear steps take you from a need to a working circuit:අවශ්‍යතාවක සිට ක්‍රියාකාරී පරිපථයක් දක්වා පැහැදිලි පියවර හතරක් ඇත:

Needඅවශ්‍යතාවTruth tableසත්‍යතා වගුවExpressionප්‍රකාශනයCircuitපරිපථය
Need → truth table → expression → circuitඅවශ්‍යතාව → සත්‍යතා වගුව → ප්‍රකාශනය → පරිපථය
1
1. Identify the need1. අවශ්‍යතාව හඳුනාගන්න
Name the inputs and the one output in everyday words.එදිනෙදා වචන වලින් ආදාන සහ එක් ප්‍රතිදානය නම් කරන්න.
2
2. Truth table2. සත්‍යතා වගුව
List every input mix (2ⁿ rows) and the required output.සෑම ආදාන මිශ්‍රණයක්ම (පේළි 2ⁿ) සහ අවශ්‍ය ප්‍රතිදානය ලැයිස්තුගත කරන්න.
3
3. Expression3. ප්‍රකාශනය
Write SOP (or POS), then simplify with laws or a K-map.SOP (හෝ POS) ලියා නියම හෝ K-map මගින් සරල කරන්න.
4
4. Draw the circuit4. පරිපථය අඳින්න
Replace each · with AND, each + with OR, each ′ with NOT.සෑම · AND ලෙසද, සෑම + OR ලෙසද, සෑම ′ NOT ලෙසද ප්‍රතිස්ථාපනය කරන්න.

2. Example A – Door alarm at night2. උදාහරණය A – රාත්‍රියේ දොර එලාමය

A house alarm should sound when the door is open (D = 1) AND it is night (N = 1). By day, or when the door is shut, the alarm stays off.නිවසක එලාමය දොර විවෘත (D = 1) සහ රාත්‍රිය (N = 1) වූ විට නාද විය යුතුය. දවසේ හෝ දොර වැසී ඇති විට එලාමය නිහඬව තිබේ.

🧮 Worked exampleවිසඳූ උදාහරණය Write the truth table and the Boolean expression for the door alarm.දොර එලාමය සඳහා සත්‍යතා වගුව සහ බූලියානු ප්‍රකාශනය ලියන්න.
DN: 00→0, 01→0, 10→0, 11→1. So F = D · N. The circuit is a single AND gate.DN: 00→0, 01→0, 10→0, 11→1. එබැවින් F = D · N. පරිපථය එක් AND ද්වාරයකි.
D (door)D (දොර)N (night)N (රාත්‍රිය)Alarm Fඑලාම F
000000
001100
110000
111111

3. Example B – Majority of three votes3. උදාහරණය B – ඡන්ද තුනක බහුතරය

Three people A, B, C vote yes (1) or no (0). The decision F is yes when at least two vote yes – the majority function.පුද්ගලයින් තිදෙනෙක් A, B, C ඔව් (1) හෝ නැත (0) ඡන්දය දෙති. අවම වශයෙන් දෙදෙනෙක් ඔව් කිවූ විට තීරණය F ඔව් වේ – බහුතර ශ්‍රිතය.

🧮 Worked exampleවිසඳූ උදාහරණය Write F for the majority of A, B, C and list when F = 1.A, B, C හි බහුතරය සඳහා F ලියා F = 1 වන විට ලැයිස්තුගත කරන්න.
F = A·B + B·C + A·C. F = 1 for ABC = 011, 101, 110, 111 (the rows with two or three 1s).F = A·B + B·C + A·C. F = 1 වන්නේ ABC = 011, 101, 110, 111 (1 දෙකක් හෝ තුනක් ඇති පේළි).
AABBCCFF
00000000
00001100
00110000
00111111
11000000
11001111
11110011
11111111
💡 The majority circuit uses three AND gates (one per pair) and one OR gate that joins their outputs. It is also the carry logic inside a full adder (4.4).බහුතර පරිපථය AND ද්වාර තුනක් (යුගලයකට එකක්) සහ ඒවායේ ප්‍රතිදාන එකතු කරන OR ද්වාර එකක් භාවිත කරයි. එය සම්පූර්ණ එකතුකරන්නා තුළ carry තර්කයද වේ (4.4).

4. Example C – Seatbelt warning light4. උදාහරණය C – Seatbelt අනතුරු එළිය

A car warning light turns on when the engine is on (E = 1) AND the seatbelt is not fastened (S = 0). So F = E · S′.මෝටර් රථ අනතුරු එළිය එන්ජිම ක්‍රියාත්මක (E = 1) සහ seatbelt අමුණා නැත (S = 0) වූ විට දැල්වේ. එබැවින් F = E · S′.

🧮 Worked exampleවිසඳූ උදාහරණය Draw the truth table for F = E · S′ and name the gates you need.F = E · S′ සඳහා සත්‍යතා වගුව අඳින්න සහ අවශ්‍ය ද්වාර නම් කරන්න.
ES: 00→0, 01→0, 10→1, 11→0. Gates: one NOT on S, then one AND with E.ES: 00→0, 01→0, 10→1, 11→0. ද්වාර: S මත NOT එකක්, පසුව E සමඟ AND එකක්.

5. Turning an expression into a circuit5. ප්‍රකාශනයක් පරිපථයක් බවට හරවන ආකාරය

Reading an expression left to right: every ′ becomes a NOT bubble (or a NOT gate), every · becomes an AND gate, every + becomes an OR gate. Draw inputs on the left, output on the right. Share NOT gates when the same inverted signal is used twice.ප්‍රකාශනයක් වමේ සිට දකුණට කියවීම: සෑම ′ NOT කවයක් (හෝ NOT ද්වාරයක්) වේ, සෑම · AND ද්වාරයක් වේ, සෑම + OR ද්වාරයක් වේ. ආදාන වමේද, ප්‍රතිදානය දකුණේද අඳින්න. එකම පෙරළුණු සංඥාව දෙවරක් භාවිත වේ නම් NOT ද්වාර බෙදා ගන්න.

🧮 Worked exampleවිසඳූ උදාහරණය For F = A·B + A′·C, list the gates required after simplifying is not needed.F = A·B + A′·C සඳහා සරල කිරීම අවශ්‍ය නොවන විට අවශ්‍ය ද්වාර ලැයිස්තුගත කරන්න.
One NOT (for A′), two AND gates (A·B and A′·C), one OR gate joining them – 4 gates total.NOT එකක් (A′ සඳහා), AND ද්වාර දෙකක් (A·B සහ A′·C), ඒවා එකතු කරන OR ද්වාර එකක් – මුළු ද්වාර 4.
💡 Always simplify before you draw. F = A·B + A·B′ looks like two ANDs and an OR (3 gates), but it is just A (0 extra gates beyond a wire).ඇඳීමට පෙර සැමවිටම සරල කරන්න. F = A·B + A·B′ AND දෙකක් සහ OR එකක් ලෙස පෙනේ (ද්වාර 3), නමුත් එය හුදෙක් A වේ.
🚀 Beyond the syllabus (2026 update)🚀 විෂය නිර්දේශයෙන් ඔබ්බට (2026 යාවත්කාලීනය) Not required for the exam – read for interest.විභාගයට අවශ්‍ය නැත – දැනුම සඳහා කියවන්න. Real products combine these tiny designs into HDL code (Verilog / VHDL). In 2026, students and makers also use low-cost FPGA boards (e.g. Lattice iCE40, Xilinx / AMD Spartan) to download a truth table and watch the LEDs follow the circuit you designed on paper.සැබෑ නිෂ්පාදන මෙම කුඩා නිර්මාණ HDL කේතයට (Verilog / VHDL) එකතු කරයි. 2026 දී ශිෂ්‍යයින් සහ නිර්මාණකරුවන් අඩු මිල FPGA පුවරු (උදා: Lattice iCE40, Xilinx / AMD Spartan) භාවිතයෙන් සත්‍යතා වගුවක් download කර කඩදාසියේ නිර්මාණය කළ පරිපථයට LED අනුගමනය කරන ආකාරය නරඹති.

Key Wordsප්‍රධාන පද

Digital circuit designසංඛ්‍යාංක පරිපථ නිර්මාණය
Turning a real need into a truth table, expression and gate circuit.සැබෑ අවශ්‍යතාවක් සත්‍යතා වගුවක්, ප්‍රකාශනයක් සහ ද්වාර පරිපථයක් බවට හැරවීම.
Input variableආදාන විචල්‍යය
A binary signal that feeds a circuit (door, night, vote, …).පරිපථයකට පෝෂණය වන ද්වීමය සංඥාවක් (දොර, රාත්‍රිය, ඡන්දය, …).
Output functionප්‍රතිදාන ශ්‍රිතය
The single binary result the circuit must produce.පරිපථය නිපදවිය යුතු එකම ද්වීමය ප්‍රතිඵලය.
Majority functionබහුතර ශ්‍රිතය
Output is 1 when at least two of three inputs are 1. F = AB+BC+AC.ආදාන තුනෙන් අවම වශයෙන් දෙකක් 1 වූ විට ප්‍රතිදානය 1 වේ.
Alarm circuitඑලාම පරිපථය
Example: F = D · N (door open AND night).උදා: F = D · N (දොර විවෘත සහ රාත්‍රිය).
Gate-level circuitද්වාර-මට්ටමේ පරිපථය
A drawing that shows each AND, OR and NOT gate.සෑම AND, OR සහ NOT ද්වාරයක්ම පෙන්වන ඇඳීමකි.
Simplification before drawingඇඳීමට පෙර සරල කිරීම
Reduce the expression so the circuit uses fewer gates.අඩු ද්වාර භාවිත වන සේ ප්‍රකාශනය අඩු කරන්න.
Three-input designආදාන තුනේ නිර්මාණය
Syllabus limit: truth tables with at most three inputs (8 rows).විෂය නිර්දේශ සීමාව: ආදාන තුනක් දක්වා සත්‍යතා වගු (පේළි 8).
Seatbelt warningSeatbelt අනතුරු ඇඟවීම
F = E · S′ – engine on and belt not fastened.F = E · S′ – එන්ජිම ක්‍රියාත්මක සහ පටිය අමුණා නැත.
Shared inverterබෙදාගත් පෙරළනය
One NOT gate reused when the same inverted signal is needed twice.එකම පෙරළුණු සංඥාව දෙවරක් අවශ්‍ය වූ විට නැවත භාවිත කරන NOT ද්වාරයක්.
Applicationයෙදුම
A real-life situation that a logic circuit can control.තර්ක පරිපථයකට පාලනය කළ හැකි සැබෑ ජීවිත අවස්ථාවක්.
Boolean to gatesබූලියානුවෙන් ද්වාර වෙත
· → AND, + → OR, ′ → NOT.· → AND, + → OR, ′ → NOT.

Sample Q&Aආදර්ශ ප්‍රශ්න සහ පිළිතුරු

1List the four steps of digital circuit design.සංඛ්‍යාංක පරිපථ නිර්මාණයේ පියවර හතර ලැයිස්තුගත කරන්න.

Answerපිළිතුර: Need → truth table → Boolean expression (simplified) → draw gates.අවශ්‍යතාව → සත්‍යතා වගුව → බූලියානු ප්‍රකාශනය (සරල කළ) → ද්වාර අඳින්න.

2What is the Boolean expression for a door-open-at-night alarm?රාත්‍රියේ දොර විවෘත එලාමයේ බූලියානු ප්‍රකාශනය කුමක්ද?

Answerපිළිතුර: F = D · N.F = D · N.

3Write the majority function of three inputs.ආදාන තුනක බහුතර ශ්‍රිතය ලියන්න.

Answerපිළිතුර: F = A·B + B·C + A·C.F = A·B + B·C + A·C.

4How many rows does a 3-input design truth table have?ආදාන 3 ක නිර්මාණ සත්‍යතා වගුවක පේළි කීයක්ද?

Answerපිළිතුර: 8 rows.පේළි 8 ක්.

5Why simplify before drawing the circuit?පරිපථය ඇඳීමට පෙර සරල කරන්නේ ඇයි?

Answerපිළිතුර: A simpler expression needs fewer gates, so the circuit is cheaper and smaller.සරල ප්‍රකාශනයකට අඩු ද්වාර අවශ්‍ය වේ, එබැවින් පරිපථය ලාභදායක සහ කුඩා වේ.

6For F = E · S′, which gates do you need?F = E · S′ සඳහා අවශ්‍ය ද්වාර මොනවාද?

Answerපිළිතුර: One NOT on S and one AND with E.S මත NOT එකක් සහ E සමඟ AND එකක්.

MCQබහුවරණ ප්‍රශ්න

Choose the correct answer for each question.සෑම ප්‍රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.

Scoreලකුණු: 0 / 20

1The first step in designing a digital circuit isසංඛ්‍යාංක පරිපථයක් නිර්මාණය කිරීමේ පළමු පියවර

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Start from the real-world need.සැබෑ ලෝක අවශ්‍යතාවෙන් අරඹන්න.

2Door alarm F = D · N uses which gate?දොර එලාම F = D · N භාවිත කරන ද්වාරය

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

AND of door and night.දොර සහ රාත්‍රියේ AND.

3Majority of A,B,C equalsA,B,C හි බහුතරය සමාන වන්නේ

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

At least two inputs are 1.අවම වශයෙන් ආදාන දෙකක් 1.

4A 3-input truth table hasආදාන 3 ක සත්‍යතා වගුවක

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

2³ = 8.2³ = 8.

5F = E · S′ needsF = E · S′ ට අවශ්‍ය

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Invert S, then AND with E.S පෙරළා E සමඟ AND.

6· in a Boolean expression becomes which gate?බූලියානු ප්‍රකාශනයක · යනු කුමන ද්වාරයද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

· denotes AND.· යනු AND.

7+ in a Boolean expression becomes which gate?බූලියානු ප්‍රකාශනයක + යනු කුමන ද්වාරයද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

+ denotes OR.+ යනු OR.

8For the alarm, F is 1 only whenඑලාමය සඳහා F 1 වන්නේ

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Both D and N must be 1.D සහ N දෙකම 1 විය යුතුය.

9The majority circuit is also used asබහුතර පරිපථය භාවිත වන්නේ

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Cout = majority(A,B,Cin).Cout = බහුතර(A,B,Cin).

10Simplifying F = A·B + A·B′ before drawing savesඇඳීමට පෙර F = A·B + A·B′ සරල කිරීමෙන් ඉතිරි වන්නේ

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

A·B + A·B′ = A.A·B + A·B′ = A.

11Syllabus designs are limited to how many inputs?විෂය නිර්දේශ නිර්මාණ ආදාන කීයකට සීමාද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Up to three inputs.ආදාන තුනක් දක්වා.

12Shared inverters are used whenබෙදාගත් පෙරළන භාවිත වන්නේ

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Reuse one NOT.NOT එකක් නැවත භාවිත කරන්න.

13Which term means: “Turning a real need into a truth table, expression and gate circuit”?“සැබෑ අවශ්‍යතාවක් සත්‍යතා වගුවක්, ප්‍රකාශනයක් සහ ද්වාර පරිපථයක් බවට හැරවීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Digital circuit design – Turning a real need into a truth table, expression and gate circuit.සංඛ්‍යාංක පරිපථ නිර්මාණය – සැබෑ අවශ්‍යතාවක් සත්‍යතා වගුවක්, ප්‍රකාශනයක් සහ ද්වාර පරිපථයක් බවට හැරවීම.

14Which term means: “A binary signal that feeds a circuit (door, night, vote, …)”?“පරිපථයකට පෝෂණය වන ද්වීමය සංඥාවක් (දොර, රාත්‍රිය, ඡන්දය, …)” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Input variable – A binary signal that feeds a circuit (door, night, vote, …).ආදාන විචල්‍යය – පරිපථයකට පෝෂණය වන ද්වීමය සංඥාවක් (දොර, රාත්‍රිය, ඡන්දය, …).

15Which term means: “The single binary result the circuit must produce”?“පරිපථය නිපදවිය යුතු එකම ද්වීමය ප්‍රතිඵලය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Output function – The single binary result the circuit must produce.ප්‍රතිදාන ශ්‍රිතය – පරිපථය නිපදවිය යුතු එකම ද්වීමය ප්‍රතිඵලය.

16Which term means: “Output is 1 when at least two of three inputs are 1. F = AB+BC+AC”?“ආදාන තුනෙන් අවම වශයෙන් දෙකක් 1 වූ විට ප්‍රතිදානය 1 වේ” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Majority function – Output is 1 when at least two of three inputs are 1. F = AB+BC+AC.බහුතර ශ්‍රිතය – ආදාන තුනෙන් අවම වශයෙන් දෙකක් 1 වූ විට ප්‍රතිදානය 1 වේ.

17Which term means: “Example: F = D · N (door open AND night)”?“උදා: F = D · N (දොර විවෘත සහ රාත්‍රිය)” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Alarm circuit – Example: F = D · N (door open AND night).එලාම පරිපථය – උදා: F = D · N (දොර විවෘත සහ රාත්‍රිය).

18Which term means: “A drawing that shows each AND, OR and NOT gate”?“සෑම AND, OR සහ NOT ද්වාරයක්ම පෙන්වන ඇඳීමකි” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Gate-level circuit – A drawing that shows each AND, OR and NOT gate.ද්වාර-මට්ටමේ පරිපථය – සෑම AND, OR සහ NOT ද්වාරයක්ම පෙන්වන ඇඳීමකි.

19Which term means: “Reduce the expression so the circuit uses fewer gates”?“අඩු ද්වාර භාවිත වන සේ ප්‍රකාශනය අඩු කරන්න” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Simplification before drawing – Reduce the expression so the circuit uses fewer gates.ඇඳීමට පෙර සරල කිරීම – අඩු ද්වාර භාවිත වන සේ ප්‍රකාශනය අඩු කරන්න.

20Which term means: “Syllabus limit: truth tables with at most three inputs (8 rows)”?“විෂය නිර්දේශ සීමාව: ආදාන තුනක් දක්වා සත්‍යතා වගු (පේළි 8)” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Three-input design – Syllabus limit: truth tables with at most three inputs (8 rows).ආදාන තුනේ නිර්මාණය – විෂය නිර්දේශ සීමාව: ආදාන තුනක් දක්වා සත්‍යතා වගු (පේළි 8).

MCQ answer keyMCQ පිළිතුරු

  1. B – Start from the real-world need.සැබෑ ලෝක අවශ්‍යතාවෙන් අරඹන්න.
  2. C – AND of door and night.දොර සහ රාත්‍රියේ AND.
  3. D – At least two inputs are 1.අවම වශයෙන් ආදාන දෙකක් 1.
  4. B – 2³ = 8.2³ = 8.
  5. E – Invert S, then AND with E.S පෙරළා E සමඟ AND.
  6. E – · denotes AND.· යනු AND.
  7. A – + denotes OR.+ යනු OR.
  8. C – Both D and N must be 1.D සහ N දෙකම 1 විය යුතුය.
  9. A – Cout = majority(A,B,Cin).Cout = බහුතර(A,B,Cin).
  10. B – A·B + A·B′ = A.A·B + A·B′ = A.
  11. A – Up to three inputs.ආදාන තුනක් දක්වා.
  12. E – Reuse one NOT.NOT එකක් නැවත භාවිත කරන්න.
  13. D – Digital circuit design – Turning a real need into a truth table, expression and gate circuit.සංඛ්‍යාංක පරිපථ නිර්මාණය – සැබෑ අවශ්‍යතාවක් සත්‍යතා වගුවක්, ප්‍රකාශනයක් සහ ද්වාර පරිපථයක් බවට හැරවීම.
  14. D – Input variable – A binary signal that feeds a circuit (door, night, vote, …).ආදාන විචල්‍යය – පරිපථයකට පෝෂණය වන ද්වීමය සංඥාවක් (දොර, රාත්‍රිය, ඡන්දය, …).
  15. C – Output function – The single binary result the circuit must produce.ප්‍රතිදාන ශ්‍රිතය – පරිපථය නිපදවිය යුතු එකම ද්වීමය ප්‍රතිඵලය.
  16. A – Majority function – Output is 1 when at least two of three inputs are 1. F = AB+BC+AC.බහුතර ශ්‍රිතය – ආදාන තුනෙන් අවම වශයෙන් දෙකක් 1 වූ විට ප්‍රතිදානය 1 වේ.
  17. C – Alarm circuit – Example: F = D · N (door open AND night).එලාම පරිපථය – උදා: F = D · N (දොර විවෘත සහ රාත්‍රිය).
  18. D – Gate-level circuit – A drawing that shows each AND, OR and NOT gate.ද්වාර-මට්ටමේ පරිපථය – සෑම AND, OR සහ NOT ද්වාරයක්ම පෙන්වන ඇඳීමකි.
  19. B – Simplification before drawing – Reduce the expression so the circuit uses fewer gates.ඇඳීමට පෙර සරල කිරීම – අඩු ද්වාර භාවිත වන සේ ප්‍රකාශනය අඩු කරන්න.
  20. E – Three-input design – Syllabus limit: truth tables with at most three inputs (8 rows).ආදාන තුනේ නිර්මාණය – විෂය නිර්දේශ සීමාව: ආදාන තුනක් දක්වා සත්‍යතා වගු (පේළි 8).

Structured Questionsව්‍යුහගත ප්‍රශ්න

1Describe the four design steps with a short example.කෙටි උදාහරණයක් සමඟ නිර්මාණ පියවර හතර විස්තර කරන්න. (4 marksලකුණු 4)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Need (e.g. night door alarm) (1); truth table (1); expression F=D·N (1); draw AND gate (1).අවශ්‍යතාව (උදා: රාත්‍රි දොර එලාමය) (1); සත්‍යතා වගුව (1); ප්‍රකාශනය F=D·N (1); AND ද්වාරය අඳින්න (1).

2Build the truth table and expression for a light that is ON when either switch A or switch B is ON (or both).ස්විච A හෝ B (හෝ දෙකම) ON වූ විට එළිය ON වන සත්‍යතා වගුව සහ ප්‍රකාශනය සාදන්න. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
AB: 00→0, 01→1, 10→1, 11→1 (1); F = A + B (1); circuit = OR gate (1).AB: 00→0, 01→1, 10→1, 11→1 (1); F = A + B (1); පරිපථය = OR ද්වාරය (1).

3For the majority function, state F and say for which of ABC = 101 and 100 the output is 1.බහුතර ශ්‍රිතය සඳහා F ප්‍රකාශ කර ABC = 101 සහ 100 න් කුමක් සඳහා ප්‍රතිදානය 1 දැයි කියන්න. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
F = AB+BC+AC (1); 101 → 1 (two 1s) (1); 100 → 0 (only one 1) (1).F = AB+BC+AC (1); 101 → 1 (1); 100 → 0 (1).

4Design F = E · S′ (seatbelt warning): truth table, expression already given, gates needed.F = E · S′ (seatbelt අනතුරු ඇඟවීම) නිර්මාණය කරන්න: සත්‍යතා වගුව, ද්වාර. (2 marksලකුණු 2)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Table ES: 00→0, 01→0, 10→1, 11→0 (2); gates NOT + AND (1).වගුව ES: 00→0, 01→0, 10→1, 11→0 (2); ද්වාර NOT + AND (1).

5Explain why you should simplify A·B + A·B′ before drawing, and state the simplified form.ඇඳීමට පෙර A·B + A·B′ සරල කළ යුත්තේ ඇයිදැයි පැහැදිලි කර සරල ආකාරය කියන්න. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Unsimplified needs 2 AND + 1 OR (1); simplified is A – just a wire (1); saves gates/cost (1).සරල නොකළ විට AND 2 + OR 1 (1); සරල කළ විට A – කම්බියක් පමණි (1); ද්වාර/පිරිවැය ඉතිරි වේ (1).

🎮 Game🎮 ක්‍රීඩා

Pick a game. Each one uses words from this lesson.ක්‍රීඩාවක් තෝරන්න. හැම එකක්ම මේ පාඩමේ වචන පාවිච්චි කරනවා.

Summary & Downloadsසාරාංශය සහ බාගත කිරීම්

Key pointsප්‍රධාන කරුණු

  • Design flow: need → truth table → simplify expression → draw gates.නිර්මාණ ප්‍රවාහය: අවශ්‍යතාව → සත්‍යතා වගුව → ප්‍රකාශනය සරල කරන්න → ද්වාර අඳින්න.
  • Door alarm: F = D · N (one AND).දොර එලාමය: F = D · N (AND එකක්).
  • Majority: F = AB + BC + AC (also full-adder carry).බහුතරය: F = AB + BC + AC (සම්පූර්ණ එකතුකරන්නාගේ carry ද).
  • Seatbelt warning: F = E · S′ (NOT then AND).Seatbelt අනතුරු ඇඟවීම: F = E · S′ (NOT පසු AND).
  • Syllabus designs use at most three inputs (8-row truth tables).විෂය නිර්දේශ නිර්මාණ ආදාන තුනක් දක්වා භාවිත කරයි (පේළි 8 වගු).

Downloadsබාගත කිරීම්

Full Lesson 4 PDFසම්පූර්ණ පාඩම 4 PDF: English · සිංහල

Next noteඊළඟ සටහන 4.4 →

© 2026 schoolict.net (Ruwan Mangala Suraweera). All rights reserved.සියලු හිමිකම් ඇවිරිණි.