Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 4(i)

5 marks

Computer ScienceISC 2023 Computer Science Paper 1Truth tableBoolean Algebra

Answer the following.

A shopping mall allows customers to shop using cash or credit card of any nationalised bank. It…

A shopping mall allows customers to shop using cash or credit card of any nationalised bank. It awards bonus points to their customers on the basis of criteria given below: • The customer is an employee of the shopping mall and makes the payment using a credit card OR • The customer shops items which carry bonus points and makes the payment using a credit card with a shopping amount of less than ₹10,000/- OR • The customer is not an employee of the shopping mall and makes the payment not through a credit card but in cash for the shopping amount above ₹10,000/- The inputs are:
INPUTS
CPayment through a credit card
AShopping amount is above ₹10,000/-
EThe customer is an employee of the shopping mall
IItem carries a bonus point
(In all the above cases, 1 indicates yes and 0 indicates no.) Output: X [1 indicates bonus point awarded, 0 indicates bonus point not awarded for all cases] Draw the truth table for the inputs and outputs given above and write the POS expression for $X (C, A, E, I)$.
Open in the Boolean algebra solver

Answer

Answer

CAEIX
00000
00010
00100
00110
01001
01011
01100
01110
10000
10011
10101
10111
11000
11010
11101
11111
Condition 1: C.E. Condition 2: I.C.A'. Condition 3: E'.C'.A. So X = CE + CA'I + C'AE'. X(C, A, E, I) = Π(0, 1, 2, 3, 6, 7, 8, 12, 13) POS expression: X = (C + A + E + I)(C + A + E + I')(C + A + E' + I)(C + A + E' + I')(C + A' + E' + I)(C + A' + E' + I')(C' + A + E + I)(C' + A' + E + I)(C' + A' + E + I') The minimal POS is X = (C + A)(C + E')(C' + A' + E)(A + E + I).