KS3 Computing/Logic/And

AND


With AND, the result is TRUE only when both A AND B are TRUE

Example


Cpt Jean-Luc Janeway is about to go on a space walk.
 * To leave the space ship Cpt Janeway must leave through the airlock, which contains an inner door and an outer door.
 * The inner door will only open when the outer door is closed AND the Airlock is pressurised.

Extra
Cpt Janeway is now inside the airlock...
 * The Outer Door can only be opened once the airlock is de-pressurised
 * The airlock can only be de-pressurised once the inner door is closed