‹ Back to the paper
D(A,U,P,F) = Σm(6,7,9,11,12,13,14,15)
SOP expression:
D(A,U,P,F) = A'UPF' + A'UPF + AU'P'F + AU'PF + AUP'F' + AUP'F + AUPF' + AUPF
A food delivery app offers free home delivery to its customers who meet any of the following…
A food delivery app offers free home delivery to its customers who meet any of the following criteria.
• The order is above ₹ 1000 and payment is made through UPI
OR
• Food is ordered from a partner restaurant and payment is made through UPI
OR
• The customer uses the app for the first time and places order above ₹ 1000
The inputs are:
(In all the above cases, 1 indicates YES, 0 indicates NO)
Output: D - Denotes free home delivery [1 indicates YES and 0 indicates NO in all cases]
Draw a truth table for the inputs and the outputs given above. Write the SOP expression for D(A, U, P, F).
| INPUTS | |
|---|---|
| A | Order is above ₹ 1000 |
| U | Payment is done through UPI |
| P | Food is ordered from a partner restaurant |
| F | Customer uses the app for the first time |
Answer
Answer
AI| A | U | P | F | D |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |
From ISC 2025 Improvement Computer Science Paper 1, question 3(i).