☰ Year plan · Communication Technology

Gates in decisions: NAND, NOR and XOR

Week 14 · Unit 2 Topic 10: employing logic gates in life decisions; the book's conclusion; NAND, NOR and XOR named in the unit introduction · 3 lessons
Answers are for parents and teachers.
1
A cupboard opens when the code is right and the lock is not jammed. Write the inputs as questions, the output, the formula and the table (A for the code, B for jammed).
2
Show on all four rows that NOT (A AND B) equals (NOT A) OR (NOT B).
3
Which gate gives the output 1 for exactly the rows 00 and 11?
4
What does this PHP line print? echo (int)!(1 && 0), " ", (int)!(0 || 0), " ", 1 ^ 1;
5
What do Console.WriteLine(True Xor True) and Console.WriteLine(Not (True Or False)) print in VB.NET?