Skip to content

Course home

Logic

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]
Markscheme

Logic Questions

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

10 exam-style questions on Edexcel IGCSE Computer Science Logic. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank