English

A shopping mall announces a special discount on all its products as a festival offer only to those who satisfy any one of the following conditions. If he/she is an employee of the mall and has a - Computer Science (Theory)

Advertisements
Advertisements

Question

A shopping mall announces a special discount on all its products as a festival offer only to those who satisfy any one of the following conditions.

  • If he/she is an employee of the mall and has a service of more than 10 years.
                                     OR
  • A regular customer of the mall whose age is less than 65 years and should not be an employee of the mall.
                                     OR
  • If he/she is a senior citizen but not a regular customer of the mall.

The inputs are:

INPUTS  
E Employee of the mall
R Regular customer of the mall
S Service of the employee is more than 10 years
C Senior citizen of 65 years or above

(In all the above cases, 1 indicates yes and 0 indicates no.)

Output: X - Denotes eligible for discount [1 indicates YES and 0 indicates NO in all cases]

Draw the truth table for the inputs and outputs given above and write the SOP expression for X ( E, R, S, C ).

Answer in Brief

Solution

E R S C X
Employee of the mall Regular customer of the mall Service of the employee is more than 10 years Senior citizen of 65 years or above OUTPUT
0 0 0 0 0
0 0 0 1 1
0 0 1 0 0
0 0 1 1 1
0 1 0 0 1
0 1 0 1 0
0 1 1 0 1
0 1 1 1 0
1 0 0 0 0
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 0
1 1 0 1 0
1 1 1 0 1
1 1 1 1 1

X (E,R,S,C) = ∑ (1,3,4,6,9,10,11,14,15)

= E’R’S’C + E’R’SC + E’RS’C’ + E’RSC’ + ER’S’C+ ER’SC’ + ER’SC + ERSC’ + ERSC

shaalaa.com
Reducing Boolean Expression (SOP and POS) to Its Minimal Form
  Is there an error in this question or solution?
2024-2025 (April) Specimen Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×