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

The OR gate in VB.NET and PHP

الأسبوع 12 · الوحدة ٢ الموضوعان الخامس والسادس: محاكاة بوابة OR بلغة VB.NET وبلغة PHP · 3 دروس
Answers are for parents and teachers.
1
Trace the OR simulator for the clicks B, B, A, B from the start state and write the state after each click.
2
The buggy click code of this week is used and the state is On On. Which click shows a wrong lamp, and what does it show?
3
Write the PHP test for a page with three lists $x, $y and $z that lights the lamp when at least one list is on.
4
The OR function of this week gets Apply with list1 = on and list2 = “yes”. What does it return?
5
What does 10 | 3 give in PHP, and how do you find it?