☰ خطة العام · تكنولوجيا المعلومات والاتصالات (بالإنجليزية)

The OR gate

الأسبوع 11 · الوحدة ٢ الموضوع الرابع: بوابة OR: مفتاحان على التوازي والرمز وعدد الاحتمالات وجدول الحقيقة والصيغة البولية · 3 دروس
Answers are for parents and teachers.
1
A cupboard lock opens with the red key or the blue key. Name the inputs and the output and write the truth table with rows in counting order.
2
An OR gate has five inputs. How many rows has its truth table, and how many of them have the output 1?
3
A pupil says: “When A = 1 and B = 1 an OR gate cancels itself and gives 0.” Correct the sentence.
4
Three switches are side by side: A is closed, B and C are open. Is the lamp lit? Why?
5
What does this PHP line print? echo 0 | 1, " ", 1 | 1, " ", 0 | 0;