الثنائية والمنطق البولياني
مُقدَّم
12:39
الرياضيات المتقطعة GAC024
يُحسب عضو المجموعة المكرر مرة واحدة، وقد يتجاوز الحمل الثنائي عرضًا ثابتًا، وقد لا تكون أقصر مسار بأقل حواف هو الأقل وزناً. الرياضيات المتقطعة…
سرد باللغة الإنجليزية · ترجمة نصية بالإنجليزية و中文 يمكنك التبديل بينهما
في هذا الدرس
| English | المعنى |
|---|---|
| Boolean algebra/ˈbuːlɪən ˈældʒɪbrə/ | جبر بولي |
| bit/bɪt/ | بت |
| binary arithmetic/ˈbaɪnəri əˈrɪθmətɪk/ | حساب ثنائيي |
| byte/baɪt/ | بايت |
| truth table/truːθ ˈteɪbl/ | جدول الحقيقة |
| logic gate/ˈlɒdʒɪk ɡeɪt/ | بوابة منطقية |
| logic circuit/ˈlɒdʒɪk ˈsɜːkɪt/ | دائرة منطقية |
A two-value rule can still have several inputs
- Boolean algebra 布尔代数 uses true and false with operations such as AND, inclusive OR and NOT.
- A processor can implement arithmetic using digital logic. Abstract Boolean reasoning examines a stated input/output rule, rather than proving every detail of a real computer.
Keep bit arithmetic and truth values distinct
- Binary arithmetic 二进制运算 carries at 2: binary $1+1=10$. A bit 位 is one binary digit and a byte 字节 is eight bits.
- A bit pattern can encode an unsigned value, a signed value or other information. Specify its width and interpretation before calling its value 255 or inverting it.

في الثنائية، ما هو 1 + 1؟
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
لا يوجد رقم اثنان، لذا يحدث حمل — نفس قاعدة 9 + 1 في العشري.
Evaluate every Boolean combination
- A truth table 真值表 for n unrestricted Boolean inputs has $2^n$ rows. Include intermediate expressions to make grouping visible.
- Identical outputs in every row prove two expressions equivalent for those Boolean inputs. That does not establish circuit timing, authentication security or physical reliability.
قلّب المدخلات وانظر المخرج
AND تكون صحيحة فقط عندما يكون كلاهما صحيحاً؛ OR تكون خاطئة فقط عندما يكون كلاهما خاطئاً.
كم عدد الصفوف في جدول الحقيقة بثلاثة مدخلات؟
الصعوبة 2/5 · 140 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
2³ = 8. كل مدخل جديد يضاعف عدد الاحتمالات.
لدينا تعابيران بوليان لهما جداول حقيقة متطابقة. ماذا يتبع من ذلك؟
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
مطابقة كل صف فوق نفس المدخلات البوليانية تثبت التكافؤ البولياني المجرد. لا establishes التوقيت الفيزيائي أو أمن النظام الحقيقي.
A complete two-input table. In row order 00, 01, 10, 11, AND outputs 0, 0, 0, 1; inclusive OR outputs 0, 1, 1, 1; NOT A outputs 1, 1, 0, 0. A single matching row is not enough to prove two expressions equivalent.
"A AND B" تكون صحيحة في صف واحد فقط من جدول الحقيقة الخاص بها.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
فقط الصف الذي يكون فيه كلا المدخلين 1. هذا الصف الوحيد هو التعريف بأكمله.
Follow connections through the circuit
- A logic gate 逻辑门 implements a specified operation. A logic circuit 逻辑电路 connects those operations, with outputs feeding later inputs.
- Build intermediate columns according to that dependency order. De Morgan can rewrite NOT of an AND as OR of the negated inputs, but must negate both inputs.
Simplify and verify separately. $(A\land B)\lor(A\land\neg B)=A$ by distributivity and $B\lor\neg B$ being true. Sheet 4.3 checks all four rows and separately tests fixed-width bitwise operations.
في المنطق، متى تكون "A OR B" خاطئة؟
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
OR الشامل يكون خاطئاً فقط عندما يكون كلا الإدخالين خاطئين. كلاهما صحيح يعطي صحيحاً؛ هذه السؤال تستخدم OR الشامل صراحةً.
Inclusive OR is true when both inputs are true. Bitwise NOT inverts only the stated positions: four-bit NOT of 1100 is 0011, unsigned 3, rather than an unspecified signed or infinite-width value.
ما المشكلة؟ لا يرى ذلك سوى فريق الموقع.