Practice question from chapter text
Design a truth table for an active-high smoke-or-heat warning.
ہائی پر فعال دھواں یا حرارت انتباہ کا صداقتی جدول بنائیں۔
Solution & explanation
Let S = 1 mean detected smoke and H = 1 detected heat. Alarm = S OR H. For SH = 00,01,10,11, alarm = 0,1,1,1. If sensors instead output active-low signals, invert or redesign the logic; always define sensor meanings first.
Independent study material · English-medium textbook p. 163–164 · Original book ↗