rizwanvu

rizwanvu

  • NA
  • 7
  • 0

please answer this question in detail

Jul 21 2004 1:35 AM
the question is : Read the following text and do as directed below. SWEET SHOP There is a big sweet shop with separate doors for “Entry” & “Exit.” It has various kinds of sweets displayed in neat trays which are placed in showcases. The showcases are arranged with plenty of space in between for customers to walk and choose their favorite sweets easily. One salesman stands behind each showcase to serve the customers. Once the customer makes a choice, the salesman packs the sweets in the box and sends it to the main counter. The customer stands in a queue for payment. When he makes payment, he is given a receipt with “Paid” printed on it along with his box of sweets. The arrangement of sweets in the showcases is such that when a fresh stock arrives, it is placed before the old stock so that the fresh sweets may be sold prior to old ones. If a customer does not want to wait for his turn and needs quick service, he can get his sweets from the counter by paying 10% extra amount. The condition of 10% extra charges not only ensure speedy service for customers in a rush but also discourage any abuse of this facility. ________________ In the above text, the writer has described different aspects of a sweet shop. Now you have to find which data structure is appropriate for a particular aspect and why. Do you think there is a better alternative to improve the stock procedure of the sweet shop?