Menu Close

An-online-trading-company-wants-to-offer-discounts-to-customers-The-company-has-recently-emailed-the-discount-codes-to-customers-New-customers-must-have-the-code-to-be-eligible-but-returning-cust




Question Number 135348 by nadovic last updated on 12/Mar/21
An online trading company wants to  offer discounts to customers. The   company has recently emailed the  discount codes to customers. New   customers must have the code to be   eligible but returning customers are  not eligible for the discount.        Let   A − Returning Customer                  B −  Discount Code  (a) Draw a truth table to represent          vwhen a customer has a discout  (b) From your table in (a), produce a         Boolean expression to represent         discounted customer (Q) for the         trading company.
$$\mathrm{An}\:\mathrm{online}\:\mathrm{trading}\:\mathrm{company}\:\mathrm{wants}\:\mathrm{to} \\ $$$$\mathrm{offer}\:\mathrm{discounts}\:\mathrm{to}\:\mathrm{customers}.\:\mathrm{The}\: \\ $$$$\mathrm{company}\:\mathrm{has}\:\mathrm{recently}\:\mathrm{emailed}\:\mathrm{the} \\ $$$$\mathrm{discount}\:\mathrm{codes}\:\mathrm{to}\:\mathrm{customers}.\:\mathrm{New}\: \\ $$$$\mathrm{customers}\:\mathrm{must}\:\mathrm{have}\:\mathrm{the}\:\mathrm{code}\:\mathrm{to}\:\mathrm{be}\: \\ $$$$\mathrm{eligible}\:\mathrm{but}\:\mathrm{returning}\:\mathrm{customers}\:\mathrm{are} \\ $$$$\mathrm{not}\:\mathrm{eligible}\:\mathrm{for}\:\mathrm{the}\:\mathrm{discount}. \\ $$$$\:\:\:\:\:\:{Let}\:\:\:{A}\:−\:{Returning}\:{Customer} \\ $$$$\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:{B}\:−\:\:{Discount}\:{Code} \\ $$$$\left({a}\right)\:\mathrm{Draw}\:\mathrm{a}\:\mathrm{truth}\:\mathrm{table}\:\mathrm{to}\:\mathrm{represent} \\ $$$$\:\:\:\:\:\:\:\:\mathrm{vwhen}\:\mathrm{a}\:\mathrm{customer}\:\mathrm{has}\:\mathrm{a}\:\mathrm{discout} \\ $$$$\left({b}\right)\:\mathrm{From}\:\mathrm{your}\:\mathrm{table}\:\mathrm{in}\:\left({a}\right),\:\mathrm{produce}\:\mathrm{a} \\ $$$$\:\:\:\:\:\:\:\mathrm{Boolean}\:\mathrm{expression}\:\mathrm{to}\:\mathrm{represent} \\ $$$$\:\:\:\:\:\:\:\mathrm{discounted}\:\mathrm{customer}\:\left({Q}\right)\:\mathrm{for}\:\mathrm{the} \\ $$$$\:\:\:\:\:\:\:\mathrm{trading}\:\mathrm{company}. \\ $$

Leave a Reply

Your email address will not be published. Required fields are marked *