PRASHNIKAप्रश्निका
Back to the paper

An automated parking gate uses four binary sensors. The parking gate should open under any one of…

Computer Science20265 marksLong answer
An automated parking gate uses four binary sensors. The parking gate should open under any one of the following conditions: - Vehicle detected and parking slot available OR - Parking slot available and either payment confirmed or VIP access granted OR - Payment not confirmed but VIP access granted The inputs are:
INPUTS
VVehicle detected
SParking slot available
PPayment confirmed
IVIP access granted
(In all the above cases, 1 indicates YES and 0 indicates NO) Output: X - Denotes opening of the parking gate (1 = Open, 0 = Close) Draw the truth table for the inputs and outputs given above. Write the SOP expression for $X(V, S, P, I)$.

Answer

Answer

AI
$X(V,S,P,I) = V\cdot S \;+\; S\cdot(P+I) \;+\; P'\cdot I$ Truth Table:
VSPIX
00000
00011
00100
00110
01000
01011
01101
01111
10000
10011
10100
10110
11001
11011
11101
11111
SOP expression (from the given conditions): $X = V\cdot S + S\cdot P + S\cdot I + P'\cdot I$ (This reduces, by K-map, to the minimal SOP $X = I\cdot P' + P\cdot S + S\cdot V$, since the term $S\cdot I$ is a redundant consensus term.)
Boolean Algebra

From ISC 2026 Improvement Computer Science Paper 1, question 4(i).