Skip to content

Course home

Sign up

Computational thinking

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
Question 30

An automated safety system on a cargo ship triggers an emergency bilge pump if water is detected in the lower hold, provided that the main engine is running or the manual override has been activated.

This can be represented by the inputs:

  • WWW: Water is detected in the lower hold
  • EEE: Main engine is running
  • MMM: Manual override has been activated

The logic rule for triggering the bilge pump is given by: W and (E or M)W \text{ and } (E \text{ or } M)W and (E or M)

Complete the truth table by identifying the missing values for [A], [B], [C], [D], [E], and [F].

WWWEEEMMME or ME \text{ or } ME or MW and (E or M)W \text{ and } (E \text{ or } M)W and (E or M)
0000[A]
001[B]0
0101[C]
01110
100[D]0
1011[E]
110[F]1
11111
[6]
Markscheme

Computational thinking Questions

  1. GCSE
  2. /Computer Science
  3. /Computational thinking

Question bank