An automated deep-sea research submersible is equipped with an emergency ballast release mechanism.
The mechanism's control system relies on three Boolean inputs:
hullStress (TRUE if structural strain exceeds safety limits, FALSE otherwise)depthMax (TRUE if depth is over 4000m, FALSE otherwise)powerOk (TRUE if main battery power is stable, FALSE if depleted/unstable)Construct a Boolean logic expression using the inputs hullStress, depthMax, and powerOk that will output TRUE when the emergency ballast release mechanism must be triggered.
The ballast release mechanism must be triggered when the structural strain exceeds safety limits, AND either the depth is over 4000m OR the main battery power is NOT stable.
15 exam-style questions on Edexcel GCSE Computer Science Operators, covering Using arithmetic operators, Using relational operators, and Using logical operators. Each one has a worked solution and a mark scheme showing where the marks go.