Skip to content

Course home

Sign up

Truth tables

EasyMedium
12345678
Question 4

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

Truth tables Questions

  1. GCSE
  2. /Computer Science
  3. /Truth tables

15 exam-style questions on Edexcel GCSE Computer Science Truth tables, covering Applying logical operators in truth tables. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank