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

A school intends to select candidates for an Inter-School Essay Competition as per the criteria…

Computer Science20175 marksLong answer
A school intends to select candidates for an Inter-School Essay Competition as per the criteria given below: • The student has participated in an earlier competition and is very creative. OR • The student is very creative and has excellent general awareness, but has not participated in any competition earlier. OR • The student has excellent general awareness and has won prize in an inter-house competition. The inputs are:
INPUTS
Aparticipated in a competition earlier
Bis very creative
Cwon prize in an inter-house competition
Dhas excellent general awareness
(In all the above cases 1 indicates yes and 0 indicates no). Output : X [1 indicates yes, 0 indicates no for all cases] Draw the truth table for the inputs and outputs given above and write the POS expression for $X(A, B, C, D)$.

Answer

Answer

AI
From the criteria: X = 1 when (A.B) OR (A'.B.D) OR (C.D), i.e. $X = AB + A'BD + CD$. Truth table (verified with the boolean tool):
ABCDX
00000
00010
00100
00111
01000
01011
01100
01111
10000
10010
10100
10111
11001
11011
11101
11111
POS expression (product of the maxterms where X = 0, i.e. rows 0, 1, 2, 4, 6, 8, 9, 10): $X(A,B,C,D) = \pi(0,1,2,4,6,8,9,10) = (A+B+C+D)(A+B+C+D')(A+B+C'+D)(A+B'+C+D)(A+B'+C'+D)(A'+B+C+D)(A'+B+C+D')(A'+B+C'+D)$ In reduced form this is $X = (A + D)(B + C)(B + D)$.
Boolean Algebra

From ISC 2017 Computer Science Paper 1, question 5(a).