Units — Computer Science — Class 10
  1. Unit 1Problem Solving and Algorithm Designing
  2. Unit 2Basics of Programming in C++
  3. Unit 3Input/Output Handling in C++
  4. Unit 4Control Structure
  5. Unit 5Functions
  6. Unit 6Digital Logic and Design
  7. Unit 7Introduction to Scratch

Computer Science Class 10 — Unit 6: Digital Logic and Design

Read the lesson, check the fully solved exercise, then test yourself with the MCQs quiz. Teachers get a complete guide with this unit.

Sindh Textbook Board100 MCQs · 10 Practice Sets
🌐 Language:Default is English. Choose اردو or سنڌي — every sentence's translation and help will appear in that language.

← All Computer Science Class 10 Units · Computer Science — Class 10 · Unit 6 · Printed pages 107–122

Source: The Textbook of Computer Science for Class X, Sindh Textbook Board, Jamshoro (prepared by Association for Academic Quality — AFAQ).

About this source

Textbook text is reproduced for free educational study. All solutions, explanations, practice questions, diagrams and teacher's guides are original work by 100MCQs. 100MCQs is an independent site and is not affiliated with or endorsed by the Sindh Textbook Board. Read our Disclaimer.

📖 Lesson — Digital Logic and Design

This is the full lesson from your textbook (Unit 6, printed pages 107–122), part by part, in the book's own order. Difficult words are bold — their meanings are given under each part. Choose اردو or سنڌي above — the translation of every sentence will appear under it. Words marked ⭐ are the book's own important terms.

یہ آپ کی کتاب کا مکمل سبق ہے — مشکل الفاظ کے آسان معنی ہر حصے کے نیچے دیے گئے ہیں۔

هي توهان جي ڪتاب جو مڪمل سبق آهي — مشڪل لفظن جا آسان مطلب هر حصي هيٺ ڏنا ويا آهن۔

6.1 Data Representation in a Computer — two states are enough Printed p 108

A computer works with electrical signals, and the simplest reliable signal has just two states: a Low pulse and a High pulse. We write Low as 0 and High as 1. This two-value system is called binary, and every kind of data inside the computer — numbers, letters, pictures, sound — is represented with patterns of these 0s and 1s.

کمپیوٹر برقی اشاروں کے ساتھ کام کرتا ہے، اور سب سے سادہ قابلِ بھروسا اشارہ صرف دو حالتوں کا ہوتا ہے: ایک کم (Low) دھڑکن اور ایک زیادہ (High) دھڑکن۔ ہم Low کو 0 اور High کو 1 لکھتے ہیں۔ اس دو قدری نظام کو بائنری کہتے ہیں، اور کمپیوٹر کے اندر ہر قسم کا ڈیٹا — اعداد، حروف، تصویریں، آواز — انہی 0 اور 1 کے نمونوں سے ظاہر کیا جاتا ہے۔

ڪمپيوٽر برقي اشارن سان ڪم ڪري ٿو، ۽ سڀ کان سادو قابلِ ڀروسو اشارو رڳو ٻن حالتن جو هوندو آهي: هڪ گهٽ (Low) ڌڙڪن ۽ هڪ وڌيڪ (High) ڌڙڪن. اسين Low کي 0 ۽ High کي 1 لکون ٿا. هن ٻن قدرن واري نظام کي بائنري چيو وڃي ٿو، ۽ ڪمپيوٽر اندر هر قسم جو ڊيٽا — انگ، اکر، تصويرون، آواز — انهن ئي 0 ۽ 1 جي نمونن سان ظاهر ڪيو وڃي ٿو.

The book does not fix any particular voltage numbers, and neither do we: the actual Low and High voltage levels depend on the technology of the circuit. What matters for logic is the convention — in this book, Low stands for 0 and High stands for 1 (called positive logic).

کتاب کوئی خاص وولٹیج اعداد مقرر نہیں کرتی، اور ہم بھی نہیں کرتے: اصل Low اور High وولٹیج سطحیں سرکٹ کی ٹیکنالوجی پر منحصر ہوتی ہیں۔ منطق کے لیے جو بات اہم ہے وہ رواج ہے — اس کتاب میں Low سے مراد 0 اور High سے مراد 1 ہے (اسے مثبت منطق کہتے ہیں)۔

ڪتاب ڪي به خاص وولٽيج انگ مقرر نٿي ڪري، ۽ اسين به نٿا ڪريون: اصل Low ۽ High وولٽيج سطحون سرڪٽ جي ٽيڪنالاجي تي منحصر هونديون آهن. منطق لاءِ جيڪا ڳالهه اهم آهي اها رواج آهي — هن ڪتاب ۾ Low مان مراد 0 ۽ High مان مراد 1 آهي (ان کي مثبت منطق چيو وڃي ٿو).

In Boolean work the two values are also named True (1) and False (0), or Yes and No. The quantities that carry these values are called variables, and the book names them with letters: A, B, C, … and a, b, c, …. A variable always holds exactly one of the two values at a time.

بولین کام میں دو قدروں کو True (1) اور False (0)، یا ہاں اور نہیں بھی کہا جاتا ہے۔ جو مقداریں یہ قدریں رکھتی ہیں انہیں متغیرات کہتے ہیں، اور کتاب انہیں حروف سے نام دیتی ہے: A، B، C، … اور a، b، c، …۔ ایک متغیر ایک وقت میں دونوں قدروں میں سے بالکل ایک رکھتا ہے۔

بولين ڪم ۾ ٻن قدرن کي True (1) ۽ False (0)، يا ها ۽ نه به چيو وڃي ٿو. جيڪي مقدارون اهي قدرون رکن ٿيون انهن کي متغير چيو وڃي ٿو، ۽ ڪتاب انهن کي اکرن سان نالو ڏئي ٿي: A، B، C، … ۽ a، b، c، …. هڪ متغير هڪ وقت ۾ ٻنهي قدرن مان بلڪل هڪ رکي ٿو.

A logic gate is a circuit that takes one or more of these binary inputs and produces one binary output, following an exact rule. Because the rule is exact, we can write down in advance what the output will be for every possible input combination — that advance list is the gate's truth table, the subject of the next sections.

ایک لاجک گیٹ وہ سرکٹ ہے جو ان بائنری اِن پٹ میں سے ایک یا زیادہ لیتا ہے اور ایک پکے اصول کے مطابق ایک بائنری آؤٹ پٹ پیدا کرتا ہے۔ چونکہ اصول پکا ہوتا ہے، ہم پہلے سے لکھ سکتے ہیں کہ ہر ممکن اِن پٹ ترکیب پر آؤٹ پٹ کیا ہوگا — وہ پیشگی فہرست ہی گیٹ کی سچائی جدول ہے، جو اگلے حصوں کا موضوع ہے۔

هڪ لاجڪ گيٽ اهو سرڪٽ آهي جيڪو انهن بائنري اِن پٽن مان هڪ يا وڌيڪ وٺي ٿو ۽ هڪ پڪي اصول موجب هڪ بائنري آئوٽ پٽ پيدا ڪري ٿو. ڇاڪاڻ ته اصول پڪو هوندو آهي، اسين اڳ ۾ ئي لکي سگهون ٿا ته هر ممڪن اِن پٽ ترڪيب تي آئوٽ پٽ ڇا هوندو — اها اڳواٽ فہرست ئي گيٽ جي سچائي جدول آهي، جيڪا ايندڙ حصن جو موضوع آهي.

Worked check: if a signal is High, its binary value is 1; if the same wire later goes Low, its value is 0. Nothing in between is a third logic value in this system — a gate's input is always read as either 0 or 1.

حل شدہ جانچ: اگر کوئی اشارہ High ہے تو اس کی بائنری قدر 1 ہے؛ اگر وہی تار بعد میں Low ہو جائے تو اس کی قدر 0 ہے۔ درمیان کی کوئی حالت اس نظام میں تیسری منطقی قدر نہیں — گیٹ کا اِن پٹ ہمیشہ یا 0 یا 1 پڑھا جاتا ہے۔

حل ٿيل جاچ: جيڪڏهن ڪو اشارو High آهي ته ان جي بائنري قدر 1 آهي؛ جيڪڏهن اها ئي تار پوءِ Low ٿي وڃي ته ان جي قدر 0 آهي. وچ واري ڪا به حالت هن نظام ۾ ٽين منطقي قدر ناهي — گيٽ جو اِن پٽ هميشه يا 0 يا 1 پڙهيو وڃي ٿو.

Words in this part

binary — the two-value system using only 0 and 1 صرف 0 اور 1 استعمال کرنے والا دو قدری نظام رڳو 0 ۽ 1 استعمال ڪندڙ ٻن قدرن وارو نظام

logic gate — a circuit that produces one binary output from binary inputs by an exact rule وہ سرکٹ جو پکے اصول سے بائنری اِن پٹ سے ایک بائنری آؤٹ پٹ پیدا کرے اهو سرڪٽ جيڪو پڪي اصول سان بائنري اِن پٽ مان هڪ بائنري آئوٽ پٽ پيدا ڪري

truth table — the complete list of a gate's outputs for every input combination ہر اِن پٹ ترکیب کے لیے گیٹ کے آؤٹ پٹ کی مکمل فہرست هر اِن پٽ ترڪيب لاءِ گيٽ جي آئوٽ پٽ جي مڪمل فہرست

6.2.1 The AND gate — output 1 only when every input is 1 Printed p 109

The AND gate performs the Boolean AND operation. Its output Y is 1 only when all of its inputs are 1; if even one input is 0, the output is 0. The operation is written with a dot, like multiplication: Y = A.B, read “Y equals A AND B”.

AND گیٹ بولین AND عمل انجام دیتا ہے۔ اس کا آؤٹ پٹ Y صرف اسی وقت 1 ہوتا ہے جب اس کے تمام اِن پٹ 1 ہوں؛ اگر ایک بھی اِن پٹ 0 ہو تو آؤٹ پٹ 0 ہوتا ہے۔ یہ عمل نقطے سے لکھا جاتا ہے، ضرب کی طرح: Y = A.B، پڑھیں “Y برابر A AND B”۔

AND گيٽ بولين AND عمل انجام ڏئي ٿو. ان جو آئوٽ پٽ Y رڳو تڏهن 1 هوندو آهي جڏهن ان جا سمورا اِن پٽ 1 هجن؛ جيڪڏهن هڪ به اِن پٽ 0 هجي ته آئوٽ پٽ 0 هوندو آهي. هي عمل نقطي سان لکيو وڃي ٿو، ضرب وانگر: Y = A.B، پڙهو “Y برابر A AND B”.

Read the two-input truth table row by row: (A, B) = (0, 0) gives 0; (0, 1) gives 0; (1, 0) gives 0; and only (1, 1) gives 1. The book's own summary sentence says the same thing in words: “If any input is 0, then output Y becomes 0.”

دو اِن پٹ والی سچائی جدول کو صف بہ صف پڑھیں: (A, B) = (0, 0) پر 0؛ (0, 1) پر 0؛ (1, 0) پر 0؛ اور صرف (1, 1) پر 1 ملتا ہے۔ کتاب کا اپنا خلاصہ جملہ یہی بات الفاظ میں کہتا ہے: “اگر کوئی اِن پٹ 0 ہو تو آؤٹ پٹ Y، 0 ہو جاتا ہے۔”

ٻن اِن پٽن واري سچائي جدول کي صف بہ صف پڙهو: (A, B) = (0, 0) تي 0؛ (0, 1) تي 0؛ (1, 0) تي 0؛ ۽ رڳو (1, 1) تي 1 ملي ٿو. ڪتاب جو پنهنجو خلاصو جملو اها ئي ڳالهه لفظن ۾ چئي ٿو: “جيڪڏهن ڪو اِن پٽ 0 هجي ته آئوٽ پٽ Y، 0 ٿي وڃي ٿو.”

AND extends to more inputs in the same way: for three inputs, Y = A.B.C, and the output is 1 in exactly one of the eight rows — the row where A, B and C are all 1. Trace it: A = 1, B = 1, C = 0 gives Y = 1.1.0 = 0, because the single 0 controls the result.

AND اسی طرح زیادہ اِن پٹ تک پھیلتا ہے: تین اِن پٹ کے لیے Y = A.B.C، اور آؤٹ پٹ آٹھ صفوں میں سے بالکل ایک میں 1 ہوتا ہے — وہ صف جہاں A، B اور C تینوں 1 ہوں۔ سراغ لگائیں: A = 1، B = 1، C = 0 ہو تو Y = 1.1.0 = 0، کیونکہ واحد 0 نتیجے پر قابو رکھتا ہے۔

AND اهڙي طرح وڌيڪ اِن پٽن تائين پکڙجي ٿو: ٽن اِن پٽن لاءِ Y = A.B.C، ۽ آئوٽ پٽ اٺن صفن مان بلڪل هڪ ۾ 1 هوندو آهي — اها صف جتي A، B ۽ C ٽئي 1 هجن. سراغ لڳايو: A = 1، B = 1، C = 0 هجي ته Y = 1.1.0 = 0، ڇاڪاڻ ته واحد 0 نتيجي تي قابو رکي ٿو.

Common mistake: reading A.B as ordinary addition or as “A then B”. The dot is the AND operation itself, and AND is strict — every input must be 1. Application: a machine that starts only when its guard is closed and its start button is pressed behaves exactly like an AND gate.

عام غلطی: A.B کو عام جمع یا “A پھر B” پڑھنا۔ نقطہ خود AND عمل ہے، اور AND سخت ہے — ہر اِن پٹ 1 ہونا چاہیے۔ اطلاق: وہ مشین جو صرف اسی وقت چلتی ہے جب اس کا حفاظتی ڈھکن بند ہو اور اس کا اسٹارٹ بٹن دبایا جائے، بالکل AND گیٹ جیسا رویہ رکھتی ہے۔

عام غلطي: A.B کي عام جمع يا “A پوءِ B” پڙهڻ. نقطو پاڻ AND عمل آهي، ۽ AND سخت آهي — هر اِن پٽ 1 هجڻ گهرجي. اطلاق: اها مشين جيڪا رڳو تڏهن هلي ٿي جڏهن ان جو حفاظتي ڍڪ بند هجي ۽ ان جو اسٽارٽ بٽڻ دٻايو وڃي، بلڪل AND گيٽ جهڙو رويو رکي ٿي.

AND gate — Y = A.BABY = A.BTwo inputsABY000010100111Three inputs — Y = A.B.CABCY00000010010001101000101011001111The output is 1 only when EVERY input is 1.

The AND gate: standard D-shaped symbol and both printed truth tables. All twelve output cells in these two tables were re-verified for this page.

AND گیٹ: معیاری D نما علامت اور دونوں چھپی سچائی جدولیات۔ ان دو جدولوں کے تمام بارہ آؤٹ پٹ خانے اس صفحے کے لیے دوبارہ تصدیق کیے گئے ہیں۔

AND گيٽ: معياري D نما علامت ۽ ٻئي ڇپيل سچائي جدولون. انهن ٻن جدولن جا سمورا ٻارهن آئوٽ پٽ خانا هن صفحي لاءِ ٻيهر تصديق ڪيا ويا آهن.

Words in this part

AND gate — the gate whose output is 1 only when all inputs are 1; Y = A.B وہ گیٹ جس کا آؤٹ پٹ صرف اسی وقت 1 ہو جب تمام اِن پٹ 1 ہوں؛ Y = A.B اهو گيٽ جنهن جو آئوٽ پٽ رڳو تڏهن 1 هجي جڏهن سمورا اِن پٽ 1 هجن؛ Y = A.B

The OR gate — output 0 only when every input is 0 Printed p 111

The OR gate performs the Boolean OR operation, written with a plus sign: Y = A+B, read “Y equals A OR B”. Its output is 1 when at least one input is 1; the output is 0 only in the single case where every input is 0.

OR گیٹ بولین OR عمل انجام دیتا ہے، جو جمع کے نشان سے لکھا جاتا ہے: Y = A+B، پڑھیں “Y برابر A OR B”۔ اس کا آؤٹ پٹ 1 ہوتا ہے جب کم از کم ایک اِن پٹ 1 ہو؛ آؤٹ پٹ 0 صرف اس واحد صورت میں ہوتا ہے جب ہر اِن پٹ 0 ہو۔

OR گيٽ بولين OR عمل انجام ڏئي ٿو، جيڪو جمع جي نشان سان لکيو وڃي ٿو: Y = A+B، پڙهو “Y برابر A OR B”. ان جو آئوٽ پٽ 1 هوندو آهي جڏهن گهٽ ۾ گهٽ هڪ اِن پٽ 1 هجي؛ آئوٽ پٽ 0 رڳو ان واحد صورت ۾ هوندو آهي جڏهن هر اِن پٽ 0 هجي.

Trace the two-input table: (0, 0) → 0; (0, 1) → 1; (1, 0) → 1; (1, 1) → 1. Notice that (1, 1) still gives 1 — Boolean OR is inclusive: “A or B or both”. For three inputs, Y = A+B+C is 0 in only one of the eight rows and 1 in the other seven.

دو اِن پٹ جدول کا سراغ لگائیں: (0, 0) → 0؛ (0, 1) → 1؛ (1, 0) → 1؛ (1, 1) → 1۔ غور کریں کہ (1, 1) پر بھی 1 ملتا ہے — بولین OR شامل کنندہ ہے: “A یا B یا دونوں”۔ تین اِن پٹ کے لیے Y = A+B+C آٹھ صفوں میں سے صرف ایک میں 0 اور باقی سات میں 1 ہوتا ہے۔

ٻن اِن پٽن واري جدول جو سراغ لڳايو: (0, 0) → 0؛ (0, 1) → 1؛ (1, 0) → 1؛ (1, 1) → 1. غور ڪريو ته (1, 1) تي به 1 ملي ٿو — بولين OR شامل ڪندڙ آهي: “A يا B يا ٻئي”. ٽن اِن پٽن لاءِ Y = A+B+C اٺن صفن مان رڳو هڪ ۾ 0 ۽ باقي ستن ۾ 1 هوندو آهي.

Common mistake: treating A+B as ordinary arithmetic, so that 1+1 “should” be 2 or 10. In Boolean algebra the only values are 0 and 1, and 1+1 = 1 because at least one input is 1. Application: an alarm that rings when the front sensor or the back sensor is triggered behaves like an OR gate.

عام غلطی: A+B کو عام حساب سمجھنا، کہ 1+1 “ہونا چاہیے” 2 یا 10۔ بولین الجبرا میں صرف قدریں 0 اور 1 ہیں، اور 1+1 = 1 ہے کیونکہ کم از کم ایک اِن پٹ 1 ہے۔ اطلاق: وہ الارم جو اگلے حسّاس یا پچھلے حسّاس کے فعال ہونے پر بجے، OR گیٹ جیسا رویہ رکھتا ہے۔

عام غلطي: A+B کي عام حساب سمجهڻ، ته 1+1 “ٿيڻ گهرجي” 2 يا 10. بولين الجبرا ۾ رڳو قدرون 0 ۽ 1 آهن، ۽ 1+1 = 1 آهي ڇاڪاڻ ته گهٽ ۾ گهٽ هڪ اِن پٽ 1 آهي. اطلاق: اهو الارم جيڪو اڳين حساس يا پوئين حساس جي فعال ٿيڻ تي وڄي، OR گيٽ جهڙو رويو رکي ٿو.

OR gate — Y = A+BABY = A+BTwo inputsABY000011101111Three inputs — Y = A+B+CABCY00000011010101111001101111011111The output is 0 only when EVERY input is 0.

The OR gate: pointed symbol with a curved back, and both printed truth tables, re-verified cell by cell.

OR گیٹ: نوکیلی علامت مڑی ہوئی پشت کے ساتھ، اور دونوں چھپی سچائی جدولیات، خانہ بہ خانہ دوبارہ تصدیق شدہ۔

OR گيٽ: نوڪيلي علامت مڙيل پٺ سان، ۽ ٻئي ڇپيل سچائي جدولون، خانو بہ خانو ٻيهر تصديق ٿيل.

Series switches — AND behaviourcellABLLamp ON only when A AND B are both closed.Parallel switches — OR behaviourcellABLLamp ON when A OR B (or both) is closed.Open switch = 0 (OFF) · Closed switch = 1 (ON) — the model used in the book's Teacher's Notes.

The book's Teacher's Note model: switches in series behave like AND; switches in parallel behave like OR. An open switch is 0 and a closed switch is 1.

کتاب کے استاد کے نوٹ کا نمونہ: سلسلہ وار سوئچ AND جیسا اور متوازی سوئچ OR جیسا رویہ رکھتے ہیں۔ کھلا سوئچ 0 اور بند سوئچ 1 ہے۔

ڪتاب جي استاد جي نوٽ جو نمونو: سلسلي وار سوئچ AND جهڙو ۽ متوازي سوئچ OR جهڙو رويو رکن ٿا. کليل سوئچ 0 ۽ بند سوئچ 1 آهي.

📝 Textbook correction (TE-CS10-031): the Teacher's Note printed with the OR gate (p112) begins by announcing the implementation of the AND operation — but its own diagram shows the switches in parallel and its own lines speak of A+B, which is OR. Only the heading word is wrong: the note's content is a correct OR model, and it is taught that way here and in the Teacher's Guide. The AND note on p110 (series switches) is genuinely about AND and is correct.

Words in this part

OR gate — the gate whose output is 0 only when all inputs are 0; Y = A+B وہ گیٹ جس کا آؤٹ پٹ صرف اسی وقت 0 ہو جب تمام اِن پٹ 0 ہوں؛ Y = A+B اهو گيٽ جنهن جو آئوٽ پٽ رڳو تڏهن 0 هجي جڏهن سمورا اِن پٽ 0 هجن؛ Y = A+B

The NOT gate — the inverter Printed p 112

The NOT gate has exactly one input and one output, and it simply reverses the value: input 0 gives output 1, and input 1 gives output 0. Because it inverts the signal, it is also called an inverter. Its symbol is a triangle with a small circle — a bubble — at the output; the bubble is the sign of NOT.

NOT گیٹ کا بالکل ایک اِن پٹ اور ایک آؤٹ پٹ ہوتا ہے، اور یہ صرف قدر الٹ دیتا ہے: اِن پٹ 0 پر آؤٹ پٹ 1، اور اِن پٹ 1 پر آؤٹ پٹ 0۔ چونکہ یہ اشارہ الٹتا ہے، اسے انورٹر بھی کہتے ہیں۔ اس کی علامت ایک تکون ہے جس کے آؤٹ پٹ پر چھوٹا دائرہ — بلبلہ — ہوتا ہے؛ بلبلہ ہی NOT کا نشان ہے۔

NOT گيٽ جو بلڪل هڪ اِن پٽ ۽ هڪ آئوٽ پٽ هوندو آهي، ۽ هي رڳو قدر ابتي ڪري ٿو: اِن پٽ 0 تي آئوٽ پٽ 1، ۽ اِن پٽ 1 تي آؤٽ پٽ 0. ڇاڪاڻ ته هي اشارو ابتو ڪري ٿو، ان کي انورٽر به چيو وڃي ٿو. ان جي علامت هڪ ٽڪون آهي جنهن جي آئوٽ پٽ تي ننڍو دائرو — بلبلو — هوندو آهي؛ بلبلو ئي NOT جو نشان آهي.

NOT is written with a bar over the variable (or with a prime): Y = Ā, read “Y equals NOT A” or “A-bar”. The bar is the complement sign of this whole unit: wherever you see a bar — over one letter or over a whole bracketed expression — it means “take the opposite value of everything under the bar”.

NOT کو متغیر کے اوپر لکیر سے لکھا جاتا ہے (یا پرائم سے): Y = Ā، پڑھیں “Y برابر NOT A” یا “A-بار”۔ لکیر اس پورے یونٹ کا تکملہ نشان ہے: جہاں بھی لکیر نظر آئے — ایک حرف پر یا پوری قوسین والی عبارت پر — اس کا مطلب ہے “لکیر کے نیچے کی ہر چیز کی مخالف قدر لو”۔

NOT کي متغير جي مٿان لڪير سان لکيو وڃي ٿو (يا پرائم سان): Y = Ā، پڙهو “Y برابر NOT A” يا “A-بار”. لڪير هن سڄي يونٽ جو تڪملو نشان آهي: جتي به لڪير نظر اچي — هڪ اکر تي يا پوري قوسن واري عبارت تي — ان جو مطلب آهي “لڪير جي هيٺان هر شيءِ جي ابتي قدر وٺو”.

Trace: A = 0 → Ā = 1; A = 1 → Ā = 0. Applying NOT twice restores the value: the complement of Ā is A again — this is Rule 9 of Boolean algebra, met again in §6.3. Common mistake: giving NOT two inputs in a circuit — an inverter always has exactly one.

سراغ: A = 0 → Ā = 1؛ A = 1 → Ā = 0۔ NOT دو بار لگانے سے قدر بحال ہو جاتی ہے: Ā کا تکملہ پھر A ہے — یہ بولین الجبرا کا قانون 9 ہے، جو §6.3 میں دوبارہ ملے گا۔ عام غلطی: سرکٹ میں NOT کو دو اِن پٹ دینا — انورٹر کا ہمیشہ بالکل ایک اِن پٹ ہوتا ہے۔

سراغ: A = 0 → Ā = 1؛ A = 1 → Ā = 0. NOT ٻه ڀيرا لڳائڻ سان قدر بحال ٿي وڃي ٿي: Ā جو تڪملو وري A آهي — هي بولين الجبرا جو قانون 9 آهي، جيڪو §6.3 ۾ ٻيهر ملندو. عام غلطي: سرڪٽ ۾ NOT کي ٻه اِن پٽ ڏيڻ — انورٽر جو هميشه بلڪل هڪ اِن پٽ هوندو آهي.

NOT gate (Inverter) — Y = ĀAOne input only — the small circle (bubble) means NOTTruth tableAY = Ā0110The output is always the opposite (complement) of the input.

The NOT gate (inverter) and its two-row truth table.

NOT گیٹ (انورٹر) اور اس کی دو صفوں والی سچائی جدول۔

NOT گيٽ (انورٽر) ۽ ان جي ٻن صفن واري سچائي جدول.

📝 Textbook correction (EXT-U6-02): the caption printed under this truth table in the book says “using two input variables” — a copy-over error from the AND/OR captions. NOT has one input, as the table itself correctly shows, and it is taught that way here.

Words in this part

NOT gate / inverter — the one-input gate that outputs the opposite value; Y = Ā ایک اِن پٹ والا گیٹ جو مخالف قدر نکالتا ہے؛ Y = Ā هڪ اِن پٽ وارو گيٽ جيڪو ابتي قدر ڪڍي ٿو؛ Y = Ā

complement — the opposite Boolean value: the complement of 0 is 1 and of 1 is 0 مخالف بولین قدر: 0 کا تکملہ 1 اور 1 کا 0 ہے ابتِي بولين قدر: 0 جو تڪملو 1 ۽ 1 جو 0 آهي

6.2.2 Universal gates — NAND and NOR Printed p 112

A NAND gate is an AND gate followed by a NOT: first compute A.B, then complement the result. Its expression is Y = (A.B)̄ — notice the bar covers the whole product A.B. Its truth table is exactly the AND table turned upside down: 1, 1, 1, 0. The output is 0 only when both inputs are 1.

ایک NAND گیٹ ایک AND گیٹ ہے جس کے بعد NOT آتا ہے: پہلے A.B نکالیں، پھر نتیجے کا تکملہ لیں۔ اس کی عبارت ہے Y = (A.B)̄ — غور کریں لکیر پورے حاصل ضرب A.B پر ہے۔ اس کی سچائی جدول بالکل AND جدول کا الٹا ہے: 1، 1، 1، 0۔ آؤٹ پٹ 0 صرف اسی وقت ہوتا ہے جب دونوں اِن پٹ 1 ہوں۔

هڪ NAND گيٽ هڪ AND گيٽ آهي جنهن کان پوءِ NOT اچي ٿو: پهريان A.B ڪڍو، پوءِ نتيجي جو تڪملو وٺو. ان جي عبارت آهي Y = (A.B)̄ — غور ڪريو لڪير سڄي حاصل ضرب A.B تي آهي. ان جي سچائي جدول بلڪل AND جدول جو ابتو آهي: 1، 1، 1، 0. آئوٽ پٽ 0 رڳو تڏهن هوندو آهي جڏهن ٻئي اِن پٽ 1 هجن.

A NOR gate is an OR gate followed by a NOT: Y = (A+B)̄, the complement of the whole sum. Its table is the OR table complemented: 1, 0, 0, 0. The output is 1 only when both inputs are 0. In symbols, NAND is the AND shape with a bubble, and NOR is the OR shape with a bubble — the bubble always means “complement what came before”.

ایک NOR گیٹ ایک OR گیٹ ہے جس کے بعد NOT آتا ہے: Y = (A+B)̄، پورے مجموعے کا تکملہ۔ اس کی جدول OR جدول کا تکملہ ہے: 1، 0، 0، 0۔ آؤٹ پٹ 1 صرف اسی وقت ہوتا ہے جب دونوں اِن پٹ 0 ہوں۔ علامات میں، NAND بلبلے کے ساتھ AND شکل ہے، اور NOR بلبلے کے ساتھ OR شکل ہے — بلبلے کا مطلب ہمیشہ “جو پہلے آیا اس کا تکملہ لو” ہوتا ہے۔

هڪ NOR گيٽ هڪ OR گيٽ آهي جنهن کان پوءِ NOT اچي ٿو: Y = (A+B)̄، سڄي مجموعي جو تڪملو. ان جي جدول OR جدول جو تڪملو آهي: 1، 0، 0، 0. آئوٽ پٽ 1 رڳو تڏهن هوندو آهي جڏهن ٻئي اِن پٽ 0 هجن. علامتن ۾، NAND بلبل سان AND شڪل آهي، ۽ NOR بلبل سان OR شڪل آهي — بلبل جو مطلب هميشه “جيڪو اڳ آيو ان جو تڪملو وٺو” هوندو آهي.

NAND and NOR are called universal gates because each one, used on its own and repeated as needed, can build NOT, AND, OR and every other gate — so any logic circuit can be constructed from NAND gates alone, or from NOR gates alone. The three gates AND, OR and NOT are called the basic gates because every expression is first described with them.

NAND اور NOR کو آفاقی گیٹ کہا جاتا ہے کیونکہ ان میں سے ہر ایک، اکیلے استعمال ہو کر اور ضرورت کے مطابق دہرایا جا کر، NOT، AND، OR اور ہر دوسرا گیٹ بنا سکتا ہے — اس لیے کوئی بھی لاجک سرکٹ صرف NAND گیٹوں سے، یا صرف NOR گیٹوں سے بنایا جا سکتا ہے۔ تین گیٹ AND، OR اور NOT کو بنیادی گیٹ کہا جاتا ہے کیونکہ ہر عبارت پہلے انہی سے بیان کی جاتی ہے۔

NAND ۽ NOR کي آفاقي گيٽ چيو وڃي ٿو ڇاڪاڻ ته انهن مان هر هڪ، اڪيلو استعمال ٿي ۽ ضرورت موجب ورجائجي، NOT، AND، OR ۽ هر ٻيو گيٽ ٺاهي سگهي ٿو — تنهن ڪري ڪو به لاجڪ سرڪٽ رڳو NAND گيٽن سان، يا رڳو NOR گيٽن سان ٺاهي سگهجي ٿو. ٽن گيٽن AND، OR ۽ NOT کي بنيادي گيٽ چيو وڃي ٿو ڇاڪاڻ ته هر عبارت پهريان انهن ئي سان بيان ڪئي وڃي ٿي.

Trace: for A = 1, B = 0 — NAND gives (1.0)̄ = 0̄ = 1, and NOR gives (1+0)̄ = 1̄ = 0. Common mistake: reading (A.B)̄ as Ā.B̄ or as A.B̄ — the bar's scope decides everything: a bar over the whole bracket complements the whole result, never the letters one by one.

سراغ: A = 1، B = 0 کے لیے — NAND دیتا ہے (1.0)̄ = 0̄ = 1، اور NOR دیتا ہے (1+0)̄ = 1̄ = 0۔ عام غلطی: (A.B)̄ کو Ā.B̄ یا A.B̄ پڑھنا — لکیر کا دائرہ سب کچھ طے کرتا ہے: پورے قوس پر لکیر پورے نتیجے کا تکملہ لیتی ہے، حروف کا ایک ایک کر کے کبھی نہیں۔

سراغ: A = 1، B = 0 لاءِ — NAND ڏئي ٿو (1.0)̄ = 0̄ = 1، ۽ NOR ڏئي ٿو (1+0)̄ = 1̄ = 0. عام غلطي: (A.B)̄ کي Ā.B̄ يا A.B̄ پڙهڻ — لڪير جو دائرو سڀ ڪجهه طئي ڪري ٿو: سڄي قوس تي لڪير سڄي نتيجي جو تڪملو وٺي ٿي، اکرن جو هڪ هڪ ڪري ڪڏهن به نه.

NAND gate — Y = (A.B)̄ABAND shape + bubble = NOT-ANDABY001011101110NOR gate — Y = (A+B)̄ABOR shape + bubble = NOT-ORABY001010100110Each is called universal because every other gate can be built from copies of it alone.NAND gives 0 only when both inputs are 1; NOR gives 1 only when both inputs are 0.

NAND and NOR: each is its basic gate plus the NOT bubble, and each truth table is the basic gate's table complemented. All eight output cells re-verified.

NAND اور NOR: ہر ایک اس کا بنیادی گیٹ جمع NOT بلبلہ ہے، اور ہر سچائی جدول بنیادی گیٹ کی جدول کا تکملہ ہے۔ تمام آٹھ آؤٹ پٹ خانے دوبارہ تصدیق شدہ۔

NAND ۽ NOR: هر هڪ ان جو بنيادي گيٽ جمع NOT بلبلو آهي، ۽ هر سچائي جدول بنيادي گيٽ جي جدول جو تڪملو آهي. سمورا اٺ آئوٽ پٽ خانا ٻيهر تصديق ٿيل.

Words in this part

NAND gate — AND followed by NOT; Y = (A.B)̄ — a universal gate AND کے بعد NOT؛ Y = (A.B)̄ — ایک آفاقی گیٹ AND کان پوءِ NOT؛ Y = (A.B)̄ — هڪ آفاقي گيٽ

NOR gate — OR followed by NOT; Y = (A+B)̄ — a universal gate OR کے بعد NOT؛ Y = (A+B)̄ — ایک آفاقی گیٹ OR کان پوءِ NOT؛ Y = (A+B)̄ — هڪ آفاقي گيٽ

universal gate — a gate (NAND or NOR) from which every other gate can be built وہ گیٹ (NAND یا NOR) جس سے ہر دوسرا گیٹ بنایا جا سکے اهو گيٽ (NAND يا NOR) جنهن مان هر ٻيو گيٽ ٺاهي سگهجي

6.3 Boolean algebra — the algebra of 0 and 1 Printed p 114

Boolean algebra is the mathematics of the two values 0 and 1 and the operations AND, OR and NOT. It lets us write a logic circuit as an expression, simplify that expression with exact rules, and prove that two circuits do the same job — all before anything is built.

بولین الجبرا دو قدروں 0 اور 1 اور افعال AND، OR اور NOT کی ریاضی ہے۔ یہ ہمیں لاجک سرکٹ کو ایک عبارت کے طور پر لکھنے، اس عبارت کو پکے قوانین سے سادہ کرنے، اور یہ ثابت کرنے دیتا ہے کہ دو سرکٹ ایک ہی کام کرتے ہیں — یہ سب کچھ بنانے سے پہلے۔

بولين الجبرا ٻن قدرن 0 ۽ 1 ۽ فعلن AND، OR ۽ NOT جي رياضي آهي. هي اسان کي لاجڪ سرڪٽ کي هڪ عبارت طور لکڻ، ان عبارت کي پڪن قانونن سان سادو ڪرڻ، ۽ اهو ثابت ڪرڻ ڏئي ٿو ته ٻه سرڪٽ هڪ ئي ڪم ڪن ٿا — اهو سڀ ٺاهڻ کان اڳ.

George Boole introduced his algebraic approach to logic in The Mathematical Analysis of Logic (1847) and developed it further in The Laws of Thought (1854). (Reference: the Stanford Encyclopedia of Philosophy's article on George Boole.) His idea — reasoning written as algebra — is why this subject carries his name.

جارج بول نے منطق کے لیے اپنا الجبرائی طریقہ The Mathematical Analysis of Logic (1847) میں پیش کیا اور اسے The Laws of Thought (1854) میں مزید ترقی دی۔ (حوالہ: اسٹینفورڈ انسائیکلوپیڈیا آف فلسفی کا جارج بول پر مضمون۔) اس کا خیال — استدلال کو الجبرا کے طور پر لکھنا — ہی وجہ ہے کہ یہ مضمون اس کے نام سے ہے۔

جارج بول منطق لاءِ پنهنجو الجبرائي طريقو The Mathematical Analysis of Logic (1847) ۾ پيش ڪيو ۽ ان کي The Laws of Thought (1854) ۾ وڌيڪ ترقي ڏني. (حوالو: اسٽينفورڊ انسائيڪلوپيڊيا آف فلسفي جو جارج بول تي مضمون.) ان جو خيال — استدلال کي الجبرا طور لکڻ — ئي وجه آهي ته هي مضمون ان جي نالي سان آهي.

In this algebra, + means OR and . means AND, and the only numbers are 0 and 1 — so 1+1 = 1, and there is no subtraction or division. The next section lists the book's twelve rules; each one can be checked completely by trying every input combination in a truth table.

اس الجبرا میں + کا مطلب OR اور . کا مطلب AND ہے، اور صرف اعداد 0 اور 1 ہیں — اس لیے 1+1 = 1 ہے، اور کوئی تفریق یا تقسیم نہیں۔ اگلا حصہ کتاب کے بارہ قوانین درج کرتا ہے؛ ہر ایک کو سچائی جدول میں ہر اِن پٹ ترکیب آزما کر مکمل طور پر جانچا جا سکتا ہے۔

هن الجبرا ۾ + جو مطلب OR ۽ . جو مطلب AND آهي، ۽ رڳو انگ 0 ۽ 1 آهن — تنهن ڪري 1+1 = 1 آهي، ۽ ڪا به تفريق يا ورهاست ناهي. ايندڙ حصو ڪتاب جا ٻارهن قانون درج ڪري ٿو؛ هر هڪ کي سچائي جدول ۾ هر اِن پٽ ترڪيب آزمائي مڪمل طور جاچي سگهجي ٿو.

📝 Textbook correction (TE-CS10-032): the book prints that Boolean algebra “was invented by George Boole in 1954”. That year is wrong — Boole died in 1864, almost a century earlier. The corrected history above gives his two books and their years, 1847 and 1854, with the reference named; no unexplained date has been substituted.

Words in this part

Boolean algebra — the algebra of the values 0 and 1 with the operations AND, OR and NOT قدروں 0 اور 1 کا الجبرا، افعال AND، OR اور NOT کے ساتھ قدرن 0 ۽ 1 جو الجبرا، فعلن AND، OR ۽ NOT سان

Boolean expression — a logic statement written with variables, AND, OR, NOT and brackets, such as A.B + C̄ متغیرات، AND، OR، NOT اور قوسین سے لکھی گئی منطقی عبارت، جیسے A.B + C̄ متغيرن، AND، OR، NOT ۽ قوسن سان لکيل منطقي عبارت، جهڙوڪ A.B + C̄

6.3.1 The twelve rules of Boolean algebra Printed p 115

The book's twelve rules, in the book's own numbering: 1. A + 0 = A · 2. A + 1 = 1 · 3. A . 0 = 0 · 4. A . 1 = A · 5. A + A = A · 6. A + Ā = 1 · 7. A . A = A · 8. A . Ā = 0 · 9. the complement of Ā is A · 10. A + A.B = A · 11. A + Ā.B = A + B · 12. (A+B)(A+C) = A + B.C. These rule numbers belong to this textbook's table; other books may number the same laws differently, so always state the law itself, not only its number.

کتاب کے بارہ قوانین، کتاب کی اپنی نمبر بندی میں: 1. A + 0 = A · 2. A + 1 = 1 · 3. A . 0 = 0 · 4. A . 1 = A · 5. A + A = A · 6. A + Ā = 1 · 7. A . A = A · 8. A . Ā = 0 · 9. Ā کا تکملہ A ہے · 10. A + A.B = A · 11. A + Ā.B = A + B · 12. (A+B)(A+C) = A + B.C۔ یہ قوانین کے نمبر اس کتاب کی جدول کے ہیں؛ دوسری کتابیں انہی قوانین کو مختلف نمبر دے سکتی ہیں، اس لیے ہمیشہ خود قانون بیان کریں، صرف نمبر نہیں۔

ڪتاب جا ٻارهن قانون، ڪتاب جي پنهنجي نمبر بندي ۾: 1. A + 0 = A · 2. A + 1 = 1 · 3. A . 0 = 0 · 4. A . 1 = A · 5. A + A = A · 6. A + Ā = 1 · 7. A . A = A · 8. A . Ā = 0 · 9. Ā جو تڪملو A آهي · 10. A + A.B = A · 11. A + Ā.B = A + B · 12. (A+B)(A+C) = A + B.C. اهي قانونن جا نمبر هن ڪتاب جي جدول جا آهن؛ ٻيون ڪتابون انهن ئي قانونن کي مختلف نمبر ڏئي سگهن ٿيون، تنهن ڪري هميشه خود قانون بيان ڪريو، رڳو نمبر نه.

Rules 1–9 each involve a single variable, so trying A = 0 and A = 1 proves them completely. Rules 10 and 11 involve two variables and need all four combinations; Rule 12 involves three variables and needs all eight. For this page, every rule was checked over every combination — all twelve hold. The checking method is the real lesson: a Boolean identity is proved when both sides agree on every row.

قوانین 1–9 میں سے ہر ایک میں ایک ہی متغیر ہے، اس لیے A = 0 اور A = 1 آزمانا انہیں مکمل ثابت کرتا ہے۔ قوانین 10 اور 11 میں دو متغیرات ہیں اور تمام چار ترکیبیں چاہئیں؛ قانون 12 میں تین متغیرات ہیں اور تمام آٹھ چاہئیں۔ اس صفحے کے لیے ہر قانون ہر ترکیب پر جانچا گیا — تمام بارہ درست ہیں۔ جانچ کا طریقہ اصل سبق ہے: بولین مساوات اسی وقت ثابت ہوتی ہے جب دونوں طرفیں ہر صف میں متفق ہوں۔

قانون 1–9 مان هر هڪ ۾ هڪ ئي متغير آهي، تنهن ڪري A = 0 ۽ A = 1 آزمائڻ انهن کي مڪمل ثابت ڪري ٿو. قانون 10 ۽ 11 ۾ ٻه متغير آهن ۽ سموريون چار ترڪيبون گهرجن؛ قانون 12 ۾ ٽي متغير آهن ۽ سموريون اٺ گهرجن. هن صفحي لاءِ هر قانون هر ترڪيب تي جاچيو ويو — سمورا ٻارهن درست آهن. جاچ جو طريقو اصل سبق آهي: بولين مساوات تڏهن ثابت ٿئي ٿي جڏهن ٻئي طرفون هر صف ۾ متفق هجن.

Worked check, Rule 11 (A + Ā.B = A + B) on the combination the book skips, A = 0, B = 1: left side = 0 + 1.1 = 1; right side = 0 + 1 = 1. They agree — and the same agreement holds on the other three rows, which is what makes the rule true rather than merely plausible.

حل شدہ جانچ، قانون 11 (A + Ā.B = A + B) اس ترکیب پر جو کتاب چھوڑتی ہے، A = 0، B = 1: بائیں طرف = 0 + 1.1 = 1؛ دائیں طرف = 0 + 1 = 1۔ وہ متفق ہیں — اور یہی اتفاق باقی تین صفوں پر بھی ہے، جو قانون کو محض ممکن کے بجائے سچا بناتا ہے۔

حل ٿيل جاچ، قانون 11 (A + Ā.B = A + B) ان ترڪيب تي جيڪا ڪتاب ڇڏي ٿي، A = 0، B = 1: کاٻو طرف = 0 + 1.1 = 1؛ ساڄو طرف = 0 + 1 = 1. اهي متفق آهن — ۽ اهو ئي اتفاق باقي ٽن صفن تي به آهي، جيڪو قانون کي رڳو ممڪن جي بدران سچو بڻائي ٿو.

📝 Textbook corrections (R03 / TE-CS10-033 / EXT-U6-01): all twelve laws are true, but the book's printed demonstrations are incomplete for Rules 10, 11 and 12 — they test only two combinations each (Rule 12 needs eight). Worse, Rule 3's printed proof contains the line “If A = 1 ⟹ 1.0 = 1”, which is false arithmetic: 1.0 = 0. The law A.0 = 0 is correct; its printed proof line is corrected here. A valid law and a complete proof are two different things — the Teacher's Guide shows the full combination counts.

Words in this part

simplification — rewriting a Boolean expression in a shorter form that gives identical outputs on every row بولین عبارت کو مختصر صورت میں دوبارہ لکھنا جو ہر صف پر یکساں آؤٹ پٹ دے بولين عبارت کي مختصر صورت ۾ ٻيهر لکڻ جيڪا هر صف تي هڪجهڙا آئوٽ پٽ ڏئي

6.3.2.1 Simplification worked examples — and one printed identity that is false Printed p 116

Example (a): simplify AB + AB̄. Factor out A: A(B + B̄). By Rule 6, B + B̄ = 1, so we get A.1, and by Rule 4, A.1 = A. Result: AB + AB̄ = A. Check by rows: the expression is 1 exactly when A = 1 (whatever B is) — matching A. Two terms collapse into one because B and its complement together cover every case.

مثال (a): AB + AB̄ کو سادہ کریں۔ A مشترک لیں: A(B + B̄)۔ قانون 6 سے B + B̄ = 1، تو ملتا ہے A.1، اور قانون 4 سے A.1 = A۔ نتیجہ: AB + AB̄ = A۔ صفوں سے جانچیں: عبارت بالکل اسی وقت 1 ہے جب A = 1 (B کچھ بھی ہو) — A سے میل کھاتا ہے۔ دو اصطلاحیں ایک میں سمٹتی ہیں کیونکہ B اور اس کا تکملہ مل کر ہر صورت کا احاطہ کرتے ہیں۔

مثال (a): AB + AB̄ کي سادو ڪريو. A گڏيل وٺو: A(B + B̄). قانون 6 سان B + B̄ = 1، ته ملي ٿو A.1، ۽ قانون 4 سان A.1 = A. نتيجو: AB + AB̄ = A. صفن سان جاچيو: عبارت بلڪل تڏهن 1 آهي جڏهن A = 1 (B ڪجهه به هجي) — A سان ميل کائي ٿو. ٻه اصطلاحون هڪ ۾ سمائجن ٿيون ڇاڪاڻ ته B ۽ ان جو تڪملو ملي ڪري هر صورت جو احاطو ڪن ٿا.

Example (b) — handle with care. The book prints the identity (A+B) + (A+B̄) = A. As printed, with OR between the brackets, this is false: try A = 0, B = 0 — the left side is (0+0) + (0+1) = 0 + 1 = 1, but the right side is A = 0. In fact the left side equals 1 for every input, because one of B and B̄ is always 1, so one bracket is always 1. The full four-row table is in the Teacher's Guide.

مثال (b) — احتیاط سے لیں۔ کتاب یہ مساوات چھاپتی ہے (A+B) + (A+B̄) = A۔ جیسی چھپی ہے، قوسین کے درمیان OR کے ساتھ، یہ غلط ہے: A = 0، B = 0 آزمائیں — بائیں طرف (0+0) + (0+1) = 0 + 1 = 1 ہے، لیکن دائیں طرف A = 0 ہے۔ درحقیقت بائیں طرف ہر اِن پٹ پر 1 ہے، کیونکہ B اور B̄ میں سے ایک ہمیشہ 1 ہوتا ہے، اس لیے ایک قوس ہمیشہ 1 ہوتا ہے۔ مکمل چار صفوں والی جدول استاد کی رہنما میں ہے۔

مثال (b) — احتياط سان وٺو. ڪتاب هي مساوات ڇاپي ٿي (A+B) + (A+B̄) = A. جهڙي ڇپي آهي، قوسن جي وچ ۾ OR سان، هي غلط آهي: A = 0، B = 0 آزمايو — کاٻو طرف (0+0) + (0+1) = 0 + 1 = 1 آهي، پر ساڄو طرف A = 0 آهي. درحقيقت کاٻو طرف هر اِن پٽ تي 1 آهي، ڇاڪاڻ ته B ۽ B̄ مان هڪ هميشه 1 هوندو آهي، تنهن ڪري هڪ قوس هميشه 1 هوندو آهي. مڪمل چئن صفن واري جدول استاد جي رهنما ۾ آهي.

What the book's printed working actually proves is the product identity (A+B)(A+B̄) = A — its second line silently says “ANDing (Multiplication) of both expressions” and multiplies the brackets instead of adding them. That product identity is true: expanding gives AA + AB̄ + BA + BB̄ = A + AB̄ + BA + 0, and Rule 12 with C = B̄ gives the same result directly, A + B.B̄ = A + 0 = A. The lesson to keep: the statement and its proof must use the same operation — when a proof quietly changes + into ×, it is proving a different (here, the correct) statement.

کتاب کی چھپی حل کاری دراصل جو ثابت کرتی ہے وہ حاصل ضرب والی مساوات ہے (A+B)(A+B̄) = A — اس کی دوسری سطر خاموشی سے کہتی ہے “دونوں عبارتوں کی ANDing (ضرب)” اور قوسین کو جمع کے بجائے ضرب کرتی ہے۔ وہ حاصل ضرب مساوات درست ہے: کھولنے سے ملتا ہے AA + AB̄ + BA + BB̄ = A + AB̄ + BA + 0، اور C = B̄ کے ساتھ قانون 12 بھی براہِ راست یہی نتیجہ دیتا ہے، A + B.B̄ = A + 0 = A۔ یاد رکھنے والا سبق: بیان اور اس کے ثبوت کو ایک ہی عمل استعمال کرنا چاہیے — جب ثبوت خاموشی سے + کو × میں بدل دے تو وہ ایک مختلف (یہاں، درست) بیان ثابت کر رہا ہوتا ہے۔

ڪتاب جي ڇپيل حل ڪاري دراصل جيڪو ثابت ڪري ٿي اها حاصل ضرب واري مساوات آهي (A+B)(A+B̄) = A — ان جي ٻي سٽر خاموشي سان چئي ٿي “ٻنهي عبارتن جي ANDing (ضرب)” ۽ قوسن کي جمع جي بدران ضرب ڪري ٿي. اها حاصل ضرب مساوات درست آهي: کولڻ سان ملي ٿو AA + AB̄ + BA + BB̄ = A + AB̄ + BA + 0، ۽ C = B̄ سان قانون 12 به سڌو اهو ئي نتيجو ڏئي ٿو، A + B.B̄ = A + 0 = A. ياد رکڻ وارو سبق: بيان ۽ ان جي ثبوت کي هڪ ئي عمل استعمال ڪرڻ گهرجي — جڏهن ثبوت خاموشي سان + کي × ۾ بدلائي ڇڏي ته اهو هڪ مختلف (هتي، درست) بيان ثابت ڪري رهيو هوندو آهي.

📝 Textbook correction (TE-CS10-034): the printed OR identity (A+B)+(A+B̄) = A is false — its left side is always 1. The correct identity, the one the book's working proves, is the product form (A+B)(A+B̄) = A. Both truth tables are shown side by side in the Teacher's Guide so the difference can be checked row by row.

6.3.2.2 From expression to circuit Printed p 118

To draw the circuit of an expression, work from the inside out: complement single letters first, then build each bracket, and let the outermost operation be the last gate. Every bar must be drawn exactly over the part it covers — a NOT gate placed on a wire complements everything that wire carries.

کسی عبارت کا سرکٹ بنانے کے لیے اندر سے باہر کی طرف کام کریں: پہلے اکیلے حروف کا تکملہ، پھر ہر قوس بنائیں، اور سب سے بیرونی عمل آخری گیٹ ہو۔ ہر لکیر بالکل اسی حصے پر بنانی چاہیے جس کا وہ احاطہ کرتی ہے — تار پر لگا NOT گیٹ اس تار کی لے جائی گئی ہر چیز کا تکملہ لیتا ہے۔

ڪنهن عبارت جو سرڪٽ ٺاهڻ لاءِ اندر کان ٻاهر طرف ڪم ڪريو: پهريان اڪيلن اکرن جو تڪملو، پوءِ هر قوس ٺاهيو، ۽ سڀ کان ٻاهرين عمل آخري گيٽ هجي. هر لڪير بلڪل ان ئي حصي تي ٺاهڻ گهرجي جنهن جو اهو احاطو ڪري ٿي — تار تي لڳل NOT گيٽ ان تار جي کڻي ويل هر شيءِ جو تڪملو وٺي ٿو.

Figure 6.10 — Y = Ā.B.C . (A+D)̄. A passes through a NOT to give Ā; Ā, B and C enter a three-input AND; separately A and D enter an OR whose output passes through a NOT, giving (A+D)̄; a final AND multiplies the two results. Trace A = 0, B = 1, C = 1, D = 0: Ā = 1, so Ā.B.C = 1; (A+D) = 0, complemented to 1; Y = 1.1 = 1. Change only D to 1 and (A+D)̄ becomes 0, so Y = 0 — the complement branch controls the answer.

شکل 6.10 — Y = Ā.B.C . (A+D)̄۔ A ایک NOT سے گزر کر Ā دیتا ہے؛ Ā، B اور C ایک تین اِن پٹ AND میں جاتے ہیں؛ الگ سے A اور D ایک OR میں جاتے ہیں جس کا آؤٹ پٹ NOT سے گزر کر (A+D)̄ دیتا ہے؛ آخری AND دونوں نتائج کو ضرب کرتا ہے۔ سراغ A = 0، B = 1، C = 1، D = 0: Ā = 1، اس لیے Ā.B.C = 1؛ (A+D) = 0، تکملہ ہو کر 1؛ Y = 1.1 = 1۔ صرف D کو 1 کریں تو (A+D)̄، 0 ہو جاتا ہے، اس لیے Y = 0 — تکملہ شاخ جواب پر قابو رکھتی ہے۔

شڪل 6.10 — Y = Ā.B.C . (A+D)̄. A هڪ NOT مان گذري Ā ڏئي ٿو؛ Ā، B ۽ C هڪ ٽن اِن پٽن واري AND ۾ وڃن ٿا؛ الڳ A ۽ D هڪ OR ۾ وڃن ٿا جنهن جو آئوٽ پٽ NOT مان گذري (A+D)̄ ڏئي ٿو؛ آخري AND ٻنهي نتيجن کي ضرب ڪري ٿو. سراغ A = 0، B = 1، C = 1، D = 0: Ā = 1، تنهن ڪري Ā.B.C = 1؛ (A+D) = 0، تڪملو ٿي 1؛ Y = 1.1 = 1. رڳو D کي 1 ڪريو ته (A+D)̄، 0 ٿي وڃي ٿو، تنهن ڪري Y = 0 — تڪملي شاخ جواب تي قابو رکي ٿي.

Figure 6.11 — X = ( A.B.(C+D)̄ )̄. This expression carries two bars: an inner bar over (C+D) only, and an outer bar over the whole product. So C and D enter an OR and then a NOT; A, B and that result enter a three-input AND; and one final NOT complements the entire product. Trace A = 1, B = 1, C = 1, D = 0: (C+D)̄ = 1̄ = 0, the product is 0, and the outer NOT gives X = 1.

شکل 6.11 — X = ( A.B.(C+D)̄ )̄۔ اس عبارت میں دو لکیریں ہیں: ایک اندرونی لکیر صرف (C+D) پر، اور ایک بیرونی لکیر پورے حاصل ضرب پر۔ اس لیے C اور D ایک OR اور پھر NOT میں جاتے ہیں؛ A، B اور وہ نتیجہ ایک تین اِن پٹ AND میں جاتے ہیں؛ اور ایک آخری NOT پورے حاصل ضرب کا تکملہ لیتا ہے۔ سراغ A = 1، B = 1، C = 1، D = 0: (C+D)̄ = 1̄ = 0، حاصل ضرب 0 ہے، اور بیرونی NOT دیتا ہے X = 1۔

شڪل 6.11 — X = ( A.B.(C+D)̄ )̄. هن عبارت ۾ ٻه لڪيرون آهن: هڪ اندروني لڪير رڳو (C+D) تي، ۽ هڪ ٻاهرين لڪير سڄي حاصل ضرب تي. تنهن ڪري C ۽ D هڪ OR ۽ پوءِ NOT ۾ وڃن ٿا؛ A، B ۽ اهو نتيجو هڪ ٽن اِن پٽن واري AND ۾ وڃن ٿا؛ ۽ هڪ آخري NOT سڄي حاصل ضرب جو تڪملو وٺي ٿو. سراغ A = 1، B = 1، C = 1، D = 0: (C+D)̄ = 1̄ = 0، حاصل ضرب 0 آهي، ۽ ٻاهرين NOT ڏئي ٿو X = 1.

Common mistake: dropping the outer bar of Figure 6.11, or drawing the inner NOT over A.B as well. The circuit and the expression must match exactly — read the finished circuit back into an expression and compare, bar by bar, before accepting it.

عام غلطی: شکل 6.11 کی بیرونی لکیر چھوڑ دینا، یا اندرونی NOT کو A.B پر بھی بنا دینا۔ سرکٹ اور عبارت کا بالکل میل ہونا چاہیے — مکمل سرکٹ کو دوبارہ عبارت میں پڑھیں اور قبول کرنے سے پہلے لکیر بہ لکیر موازنہ کریں۔

عام غلطي: شڪل 6.11 جي ٻاهرين لڪير ڇڏي ڏيڻ، يا اندروني NOT کي A.B تي به ٺاهي ڇڏڻ. سرڪٽ ۽ عبارت جو بلڪل ميل هجڻ گهرجي — مڪمل سرڪٽ کي ٻيهر عبارت ۾ پڙهو ۽ قبول ڪرڻ کان اڳ لڪير بہ لڪير ڀيٽ ڪريو.

ABCDĀANDĀ.B.C(A+D)̄ANDYY = Ā.B.C . (A+D)̄ — the bar covers the WHOLE of (A+D); only A alone is complemented in Ā.

Figure 6.10 redrawn and verified: the circuit of Y = Ā.B.C . (A+D)̄.

شکل 6.10 دوبارہ بنائی گئی اور تصدیق شدہ: Y = Ā.B.C . (A+D)̄ کا سرکٹ۔

شڪل 6.10 ٻيهر ٺاهيل ۽ تصديق ٿيل: Y = Ā.B.C . (A+D)̄ جو سرڪٽ.

ABCD(C+D)̄ANDXX = ( A.B.(C+D)̄ )̄ — TWO bars: an inner bar over (C+D) only, and an outer bar over the whole product.

Figure 6.11 redrawn and verified: note the two separate complement bars — inner over (C+D), outer over the whole product.

شکل 6.11 دوبارہ بنائی گئی اور تصدیق شدہ: دو الگ تکملہ لکیروں پر غور کریں — اندرونی (C+D) پر، بیرونی پورے حاصل ضرب پر۔

شڪل 6.11 ٻيهر ٺاهيل ۽ تصديق ٿيل: ٻن الڳ تڪملي لڪيرن تي غور ڪريو — اندروني (C+D) تي، ٻاهرين سڄي حاصل ضرب تي.

From circuit to expression — reading a diagram back Printed p 119

To read a circuit, label each gate's output as you move from the inputs towards the final output, then combine the labels at each gate. Example (c): Q = A.B + (A+B)̄. The AND gate's output is A.B; the OR gate with a bubble is a NOR, whose output is (A+B)̄; the final OR gate adds the two branches, giving Q. Trace A = 0, B = 0: A.B = 0, (A+B)̄ = 1, so Q = 1. Trace A = 1, B = 0: A.B = 0 and (A+B)̄ = 0, so Q = 0.

سرکٹ پڑھنے کے لیے اِن پٹ سے آخری آؤٹ پٹ کی طرف بڑھتے ہوئے ہر گیٹ کے آؤٹ پٹ پر لیبل لگائیں، پھر ہر گیٹ پر لیبل ملائیں۔ مثال (c): Q = A.B + (A+B)̄۔ AND گیٹ کا آؤٹ پٹ A.B ہے؛ بلبلے والا OR گیٹ ایک NOR ہے، جس کا آؤٹ پٹ (A+B)̄ ہے؛ آخری OR گیٹ دونوں شاخوں کو جوڑتا ہے، Q دیتا ہے۔ سراغ A = 0، B = 0: A.B = 0، (A+B)̄ = 1، اس لیے Q = 1۔ سراغ A = 1، B = 0: A.B = 0 اور (A+B)̄ = 0، اس لیے Q = 0۔

سرڪٽ پڙهڻ لاءِ اِن پٽ کان آخري آئوٽ پٽ طرف وڌندي هر گيٽ جي آئوٽ پٽ تي ليبل لڳايو، پوءِ هر گيٽ تي ليبل ملايو. مثال (c): Q = A.B + (A+B)̄. AND گيٽ جو آئوٽ پٽ A.B آهي؛ بلبل وارو OR گيٽ هڪ NOR آهي، جنهن جو آئوٽ پٽ (A+B)̄ آهي؛ آخري OR گيٽ ٻنهي شاخن کي جوڙي ٿو، Q ڏئي ٿو. سراغ A = 0، B = 0: A.B = 0، (A+B)̄ = 1، تنهن ڪري Q = 1. سراغ A = 1، B = 0: A.B = 0 ۽ (A+B)̄ = 0، تنهن ڪري Q = 0.

The book's second worked circuit feeds A and B into two OR gates; the upper OR's output passes through a NOT, and both branches enter an AND. Reading the labels: the upper branch is (A+B)̄, the lower branch is (A+B), so Z = (A+B)̄ . (A+B). Its truth table (in the book, and correct) shows Z = 0 on every row — which the rules predict without any table: a quantity ANDed with its own complement is always 0, by Rule 8. The book does not remark on this; it is worth noticing, because spotting a term and its complement is one of the fastest simplification checks there is.

کتاب کا دوسرا حل شدہ سرکٹ A اور B کو دو OR گیٹوں میں دیتا ہے؛ اوپر والے OR کا آؤٹ پٹ NOT سے گزرتا ہے، اور دونوں شاخیں ایک AND میں جاتی ہیں۔ لیبل پڑھنے سے: اوپر والی شاخ (A+B)̄ ہے، نیچے والی (A+B)، اس لیے Z = (A+B)̄ . (A+B)۔ اس کی سچائی جدول (کتاب میں، اور درست) ہر صف پر Z = 0 دکھاتی ہے — جس کی پیش گوئی قوانین بغیر کسی جدول کے کرتے ہیں: کوئی مقدار اپنے تکملے کے ساتھ AND ہو تو ہمیشہ 0 ہوتی ہے، قانون 8 کے مطابق۔ کتاب اس پر کوئی تبصرہ نہیں کرتی؛ یہ غور کرنے کے قابل ہے، کیونکہ کسی اصطلاح اور اس کے تکملے کو پہچاننا سادگی کی تیز ترین جانچوں میں سے ایک ہے۔

ڪتاب جو ٻيو حل ٿيل سرڪٽ A ۽ B کي ٻن OR گيٽن ۾ ڏئي ٿو؛ مٿين OR جو آئوٽ پٽ NOT مان گذري ٿو، ۽ ٻئي شاخون هڪ AND ۾ وڃن ٿيون. ليبل پڙهڻ سان: مٿين شاخ (A+B)̄ آهي، هيٺين (A+B)، تنهن ڪري Z = (A+B)̄ . (A+B). ان جي سچائي جدول (ڪتاب ۾، ۽ درست) هر صف تي Z = 0 ڏيکاري ٿي — جنهن جي اڳڪٿي قانون سواءِ ڪنهن جدول جي ڪن ٿا: ڪا مقدار پنهنجي تڪملي سان AND ٿئي ته هميشه 0 هوندي آهي، قانون 8 موجب. ڪتاب ان تي ڪو تبصرو نٿي ڪري؛ هي غور ڪرڻ جوڳو آهي، ڇاڪاڻ ته ڪنهن اصطلاح ۽ ان جي تڪملي کي سڃاڻڻ سادگي جي تيز ترين جاچن مان هڪ آهي.

ABANDA.B(A+B)̄ORQQ = A.B + (A+B)̄ — the second branch is a NOR: an OR gate followed by a NOT bubble.

Worked example (c) redrawn and verified: Q = A.B + (A+B)̄.

حل شدہ مثال (c) دوبارہ بنائی گئی اور تصدیق شدہ: Q = A.B + (A+B)̄۔

حل ٿيل مثال (c) ٻيهر ٺاهيل ۽ تصديق ٿيل: Q = A.B + (A+B)̄.

ABA+B(A+B)̄A+BANDZZ = (A+B)̄ . (A+B) — a quantity ANDed with its own complement.

The book's circuit-to-expression example redrawn: Z = (A+B)̄ . (A+B), which is 0 on every row.

کتاب کی سرکٹ سے عبارت مثال دوبارہ بنائی گئی: Z = (A+B)̄ . (A+B)، جو ہر صف پر 0 ہے۔

ڪتاب جي سرڪٽ کان عبارت مثال ٻيهر ٺاهيل: Z = (A+B)̄ . (A+B)، جيڪا هر صف تي 0 آهي.

📝 Textbook numbering defects (EXT-U6-03, EXT-U6-04): the book's figure numbers in this unit jump from Fig. 6.6 to Fig. 6.8 — no Fig. 6.7 exists — and the example (c) circuit above is captioned “Fig. 6.1” in print, duplicating the Digital Signal figure's number. The worked example in this section is also numbered “6.3.3.3” in print, breaking the 6.3.2.x sequence; it belongs after 6.3.2.2. The circuits themselves are correct — only their labels are defective — so the figures here keep the book's content and are identified by their expressions instead.

Summary of the unit Printed p 120

Data inside a computer is represented by binary pulses — Low (0) and High (1). The three basic gates are AND (Y = A.B, 1 only when all inputs are 1), OR (Y = A+B, 0 only when all inputs are 0) and NOT (Y = Ā, the complement). A NOT gate at the output of an AND makes NAND, Y = (A.B)̄; at the output of an OR it makes NOR, Y = (A+B)̄ — and NAND and NOR are the universal gates.

کمپیوٹر کے اندر ڈیٹا بائنری دھڑکنوں سے ظاہر ہوتا ہے — Low (0) اور High (1)۔ تین بنیادی گیٹ AND (Y = A.B، 1 صرف اسی وقت جب تمام اِن پٹ 1 ہوں)، OR (Y = A+B، 0 صرف اسی وقت جب تمام اِن پٹ 0 ہوں) اور NOT (Y = Ā، تکملہ) ہیں۔ AND کے آؤٹ پٹ پر NOT گیٹ NAND بناتا ہے، Y = (A.B)̄؛ OR کے آؤٹ پٹ پر یہ NOR بناتا ہے، Y = (A+B)̄ — اور NAND اور NOR آفاقی گیٹ ہیں۔

ڪمپيوٽر اندر ڊيٽا بائنري ڌڙڪنن سان ظاهر ٿئي ٿو — Low (0) ۽ High (1). ٽي بنيادي گيٽ AND (Y = A.B، 1 رڳو تڏهن جڏهن سمورا اِن پٽ 1 هجن)، OR (Y = A+B، 0 رڳو تڏهن جڏهن سمورا اِن پٽ 0 هجن) ۽ NOT (Y = Ā، تڪملو) آهن. AND جي آئوٽ پٽ تي NOT گيٽ NAND ٺاهي ٿو، Y = (A.B)̄؛ OR جي آئوٽ پٽ تي هي NOR ٺاهي ٿو، Y = (A+B)̄ — ۽ NAND ۽ NOR آفاقي گيٽ آهن.

Boolean algebra, with its twelve rules in this book's numbering, simplifies expressions and designs circuits; a truth table lists every input combination — 2ⁿ rows for n variables — and proves an identity when both sides agree on all rows. An expression can be drawn as a circuit (inside out), and a circuit can be read back into an expression by labelling each gate's output.

بولین الجبرا، اس کتاب کی نمبر بندی میں اپنے بارہ قوانین کے ساتھ، عبارات کو سادہ کرتا اور سرکٹ بناتا ہے؛ سچائی جدول ہر اِن پٹ ترکیب درج کرتی ہے — n متغیرات کے لیے 2ⁿ صفیں — اور مساوات اسی وقت ثابت کرتی ہے جب دونوں طرفیں تمام صفوں پر متفق ہوں۔ عبارت کو سرکٹ کے طور پر بنایا جا سکتا ہے (اندر سے باہر)، اور سرکٹ کو ہر گیٹ کے آؤٹ پٹ پر لیبل لگا کر دوبارہ عبارت میں پڑھا جا سکتا ہے۔

بولين الجبرا، هن ڪتاب جي نمبر بندي ۾ پنهنجن ٻارهن قانونن سان، عبارتن کي سادو ڪري ٿو ۽ سرڪٽ ٺاهي ٿو؛ سچائي جدول هر اِن پٽ ترڪيب درج ڪري ٿي — n متغيرن لاءِ 2ⁿ صفن — ۽ مساوات تڏهن ثابت ڪري ٿي جڏهن ٻئي طرفون سمورن صفن تي متفق هجن. عبارت کي سرڪٽ طور ٺاهي سگهجي ٿو (اندر کان ٻاهر)، ۽ سرڪٽ کي هر گيٽ جي آئوٽ پٽ تي ليبل لڳائي ٻيهر عبارت ۾ پڙهي سگهجي ٿو.

📝 Textbook correction (EXT-U6-05): one bullet of the book's printed Summary is cut off mid-sentence — “A NOR Gate could be construct by connecting a NOT Gate at the output terminal of” — and the missing object never appears. Completed, it reads: a NOR gate is constructed by connecting a NOT gate at the output terminal of an OR gate (exactly as the parallel AND/NAND bullet above it is completed). The summary above teaches the completed version.

📚 Book Vocabulary — the unit's own important terms (must learn)

These terms are taken from this unit of your book — learn them first. This table always shows all three languages together.

Word ⭐Meaning (English)اردوسنڌي
Binary ⭐the two-value system of data representation using only 0 and 1صرف 0 اور 1 استعمال کرنے والا ڈیٹا نمائندگی کا دو قدری نظامرڳو 0 ۽ 1 استعمال ڪندڙ ڊيٽا نمائندگي جو ٻن قدرن وارو نظام
Logic gate ⭐a circuit that produces one binary output from binary inputs by an exact ruleوہ سرکٹ جو پکے اصول سے بائنری اِن پٹ سے ایک بائنری آؤٹ پٹ پیدا کرےاهو سرڪٽ جيڪو پڪي اصول سان بائنري اِن پٽ مان هڪ بائنري آئوٽ پٽ پيدا ڪري
Truth table ⭐the complete list of outputs for every combination of inputsاِن پٹ کی ہر ترکیب کے لیے آؤٹ پٹ کی مکمل فہرستاِن پٽ جي هر ترڪيب لاءِ آئوٽ پٽ جي مڪمل فہرست
AND gate ⭐the gate whose output is 1 only when all inputs are 1; Y = A.Bوہ گیٹ جس کا آؤٹ پٹ صرف اسی وقت 1 ہو جب تمام اِن پٹ 1 ہوں؛ Y = A.Bاهو گيٽ جنهن جو آئوٽ پٽ رڳو تڏهن 1 هجي جڏهن سمورا اِن پٽ 1 هجن؛ Y = A.B
OR gate ⭐the gate whose output is 0 only when all inputs are 0; Y = A+Bوہ گیٹ جس کا آؤٹ پٹ صرف اسی وقت 0 ہو جب تمام اِن پٹ 0 ہوں؛ Y = A+Bاهو گيٽ جنهن جو آئوٽ پٽ رڳو تڏهن 0 هجي جڏهن سمورا اِن پٽ 0 هجن؛ Y = A+B
NOT gate / Inverter ⭐the one-input gate that outputs the opposite value; Y = Āایک اِن پٹ والا گیٹ جو مخالف قدر نکالتا ہے؛ Y = Āهڪ اِن پٽ وارو گيٽ جيڪو ابتي قدر ڪڍي ٿو؛ Y = Ā
NAND gate ⭐AND followed by NOT; Y = (A.B)̄ — a universal gateAND کے بعد NOT؛ Y = (A.B)̄ — ایک آفاقی گیٹAND کان پوءِ NOT؛ Y = (A.B)̄ — هڪ آفاقي گيٽ
NOR gate ⭐OR followed by NOT; Y = (A+B)̄ — a universal gateOR کے بعد NOT؛ Y = (A+B)̄ — ایک آفاقی گیٹOR کان پوءِ NOT؛ Y = (A+B)̄ — هڪ آفاقي گيٽ
Universal gate ⭐a gate (NAND or NOR) from which every other gate can be builtوہ گیٹ (NAND یا NOR) جس سے ہر دوسرا گیٹ بنایا جا سکےاهو گيٽ (NAND يا NOR) جنهن مان هر ٻيو گيٽ ٺاهي سگهجي
Boolean algebra ⭐the algebra of the values 0 and 1 with the operations AND, OR and NOTقدروں 0 اور 1 کا الجبرا، افعال AND، OR اور NOT کے ساتھقدرن 0 ۽ 1 جو الجبرا، فعلن AND، OR ۽ NOT سان
Boolean expression ⭐a logic statement written with variables, AND, OR, NOT and bracketsمتغیرات، AND، OR، NOT اور قوسین سے لکھی گئی منطقی عبارتمتغيرن، AND، OR، NOT ۽ قوسن سان لکيل منطقي عبارت
Complement ⭐the opposite Boolean value, written with a bar: the complement of A is Āمخالف بولین قدر، لکیر سے لکھی جاتی ہے: A کا تکملہ Ā ہےابتي بولين قدر، لڪير سان لکبي آهي: A جو تڪملو Ā آهي
Simplification ⭐rewriting an expression in a shorter form with identical outputs on every rowعبارت کو مختصر صورت میں دوبارہ لکھنا جس کے آؤٹ پٹ ہر صف پر یکساں ہوںعبارت کي مختصر صورت ۾ ٻيهر لکڻ جنهن جا آئوٽ پٽ هر صف تي هڪجهڙا هجن

🌱 Extra Help Words

These words are NOT the book's listed terms. They are kept in a separate list only to help you read the lesson easily.

WordMeaning (English)اردوسنڌي
Pulsea brief electrical signal at a Low or High levelکم یا زیادہ سطح پر مختصر برقی اشارہگهٽ يا وڌيڪ سطح تي مختصر برقي اشارو
Voltagethe electrical level of a signal; logic uses Low and High levels, not fixed numbersاشارے کی برقی سطح؛ منطق کم اور زیادہ سطحیں استعمال کرتی ہے، مقررہ اعداد نہیںاشاري جي برقي سطح؛ منطق گهٽ ۽ وڌيڪ سطحون استعمال ڪري ٿي، مقرر انگ نه
Variablea letter such as A, B or C that holds one Boolean value, 0 or 1A، B یا C جیسا حرف جو ایک بولین قدر، 0 یا 1، رکھتا ہےA، B يا C جهڙو اکر جيڪو هڪ بولين قدر، 0 يا 1، رکي ٿو
Bubblethe small circle on a gate symbol that means NOT (complement)گیٹ کی علامت پر چھوٹا دائرہ جس کا مطلب NOT (تکملہ) ہےگيٽ جي علامت تي ننڍو دائرو جنهن جو مطلب NOT (تڪملو) آهي
Identity (law)an equation that holds for every value of its variables, proved by checking all combinationsوہ مساوات جو اپنے متغیرات کی ہر قدر پر درست ہو، تمام ترکیبیں جانچ کر ثابت کی جاتی ہےاها مساوات جيڪا پنهنجن متغيرن جي هر قدر تي درست هجي، سموريون ترڪيبون جاچي ثابت ڪئي وڃي ٿي
Input combinationone complete assignment of 0/1 values to all the inputs — one row of a truth tableتمام اِن پٹ کو 0/1 قدروں کی ایک مکمل تفویض — سچائی جدول کی ایک صفسمورن اِن پٽن کي 0/1 قدرن جي هڪ مڪمل تفويض — سچائي جدول جي هڪ صف

Help us improve this page. Spotted a mistake, or something that is not clear? Email us at [email protected] — every report helps the next student.