A student is allowed to borrow a book from the Library, only if they do not have an overdue book, and they either have a library card or a teacher confirms they can borrow.
The logic expression for this is: (NOT A) AND (B OR C)
Where:
A = The student has an overdue book
B = The student has a library card
C = A teacher confirms the student can borrow a book
Complete the truth table on the right to show the outputs.
A school allows Wi-Fi access only to responsible or senior students; those in Year 11 or who hold a responsible position.
However, if a student has been suspended for any reason Wi-Fi access is withdrawn.
In this scenario:
A = The student is in Year 11
B = The student holds a position of responsibility
C = The student has been suspended
Work out the logic expression for this scenario and then complete the truth table.
A student can enter the computer room if they have a permission slip or are on an approved list , and a teacher is supervising.
In this scenario:
A = The student has a permission slip
B = The student is on the approved list
C = A teacher is present in the room
Work out the logic expression for this scenario and then complete the truth table.