Skip to content
MathsGenie logo
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

Logic

EasyMedium
123456
Question 6

An automated garden watering system activates when the soil is dry and it is evening, or if the manual override switch is pressed.

The system inputs are defined as:

  • A: Soil is dry (1 = True, 0 = False)
  • B: It is evening (1 = True, 0 = False)
  • C: Manual override is pressed (1 = True, 0 = False)

The logic statement representing the system is:

Active=(A AND B) OR C \text{Active} = (A \text{ AND } B) \text{ OR } C Active=(A AND B) OR C

Complete the truth table to show the output for each combination. Two rows have been done for you.

ABCA AND B(A AND B) OR C
00000
001
010
011
100
101
110
11111
[3]

Logic Questions

  1. IGCSE
  2. /Computer Science
  3. /Logic