Skip to content

Course home

Sign up

Computational thinking

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
Question 92

A smart heating system activates eco-mode if the outdoor temperature is below 10°C, providing that the house has also been unoccupied for at least 2 hours or vacation mode is switched on.

This can be represented by the inputs:

  • TTT: Outdoor temperature is below 10°C
  • UUU: House has been unoccupied for at least 2 hours
  • VVV: Vacation mode is switched on

The logic rule can be written as: T and (U or V)T \text{ and } (U \text{ or } V)T and (U or V)

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

TTTUUUVVVU or VU \text{ or } VU or VT and (U or V)T \text{ and } (U \text{ or } V)T and (U or V)
0000[A]
010[B]0
0011[C]
01110
100[D]0
1101[E]
1011[F]
11111
[6]
Markscheme

Computational thinking Questions

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

Question bank