Question

In: Computer Science

Alameen is a railway system and wants to install Ticket Vending Machines (TVMs) on the platforms...

Alameen is a railway system and wants to install Ticket Vending Machines (TVMs) on the platforms of all rail stations in Peshawar. The TVMs will allow the passenger to buy a ticket/pass using cash, coins, debit cards, or credit cards. The interface of the TVMs should be very easy for the passengers to buy their tickets.

This system should be designed in such a way that the passenger first selects the ticket type, transaction mode, and then get a pass/ticket. Passengers can be adult, senior/disabled citizens, child (5-14 years old), high school, or college students. Ticket type can be either a two-hour pass, midday pass, or AM pass (Monday through Friday from 09:30 am to 02:30 pm), a PM pass (noon through the end of service on the date purchased), a day pass, a 7-day pass, or a 31-day pass. There will be no ticket fare for senior or disabled citizens. The only thing they have to show during traveling is the valid ID and ticket. The ticket fare for a child (5-14 years old), high school or college students will be reduced, and they will have to show valid Id along with ticket (reduced fare) to the ticket checking authority.     

The system should restrict the unauthorized users from using the system. The system should be fast enough that it should accept the input from the user in less than 1 second. The system should be fast enough to print the ticket to the user within 3 to 5 secs when user inserts all the required information. The system should be available 24 hours a day and 7 days a week. The system will also be used by the operator to know the cash and coins inside the machine and withdraw or deposit cash when required. The system is designed in such a way to allow admin to generate reports. The reports include how many tickets are sold, the number of transactions, cash or coins collected, change fares, cash, or coins dispensed.    

Read the above-mentioned scenario and answer the following questions which are as follows:

  1. Draw a complete class diagram for above-mentioned scenario

Solutions

Expert Solution


Related Solutions

Alameen is a railway system and wants to install Ticket Vending Machines (TVMs) on the platforms...
Alameen is a railway system and wants to install Ticket Vending Machines (TVMs) on the platforms of all rail stations in Peshawar. The TVMs will allow the passenger to buy a ticket/pass using cash, coins, debit cards, or credit cards. The interface of the TVMs should be very easy for the passengers to buy their tickets. This system should be designed in such a way that the passenger first selects the ticket type, transaction mode, and then get a pass/ticket....
Cafeteria is planning to install vending machines with a cost of $300,000.  It is estimated...
Cafeteria is planning to install vending machines with a cost of $300,000.  It is estimated that these vending machines will generate annual sales of 20,000 cups with a price of $10 per cup.  Cash variable costs are $4 per cup while cash fixed costs are expected to be $50,000 per year.  The vending machine’s estimated economic life would be 5 years with a salvage value of $50,000 and depreciated using the straight-line method.  BANE is subject...
Simon Teguh is considering investing in a vending machine operation involving 20 vending machines located in...
Simon Teguh is considering investing in a vending machine operation involving 20 vending machines located in various plants around the city. The machine manufacturer reports that similar vending machine routes have produced a sales volume ranging from 600 to 800 units per machine per month. The following information is made available to Teguh in evaluating the possible profitability of the operation. An investment of $45,000 will be required, $9,000 for merchandise and $36,000 for the 20 machines. The machines have...
1. Explain the difference in between snack machines and newspaper vending machines (in case you are...
1. Explain the difference in between snack machines and newspaper vending machines (in case you are not familiar with newspaper vending machines you put money in the slot, the door opens and all of the newspapers are available) based on the ideas and concepts used in this module. 1. All-U Can Eat Buffet restaurants would not succeed if what economic concept covered in this module was not true? Explain.
Railway Reservation System is a system used for booking railway tickets over the Internet. Any Customer...
Railway Reservation System is a system used for booking railway tickets over the Internet. Any Customer can book tickets for different trains. The Customer can book a ticket only if it is available. Thus, he first checks the availability of tickets, and then if the tickets are available he books the tickets after filling details in a form. The Customer can print the form when booking a ticket. Note that to book a ticket the customer has to checkout by...
Discuss the many real–world systems which are modeled as FSMs (Finite State Machines) (ex. Vending machines,...
Discuss the many real–world systems which are modeled as FSMs (Finite State Machines) (ex. Vending machines, ATMs, Online purchase systems, etc.)
The State Patrol Ticket Processing System The purpose of the state patrol ticket processing system is...
The State Patrol Ticket Processing System The purpose of the state patrol ticket processing system is to record driver violations, to keep records of the fines paid by drivers when they plead guilty or are found guilty of moving violations by the courts, and to notify the court that a warrant should be issued when such fines are not paid in a timely manner. The system does not maintain data on accidents, insurance, driving history and driver's licenses. These data...
A distributor of soft drink vending machines knows fromexperience that the mean number of drinks...
A distributor of soft drink vending machines knows from experience that the mean number of drinks a machine will sell per day varies according to the location of the machine. At a local mall, two machines are placed in what the distributor believes to be two optimal locations (Location A and B). The number of drinks sold per day for each machine is recorded for a random sample of 20 days. For each day, the number of drinks purchased at...
As we’re well aware, vending machines are used to sell snacks and beverages, whereas newspapers are...
As we’re well aware, vending machines are used to sell snacks and beverages, whereas newspapers are sold out of a box that allows anyone to take more than one paper. ·         How does the concept of diminishing marginal utility explain the different distribution techniques for newspapers vs. snacks and beverages? ·         Identify two additional examples of an item whose diminishing marginal utility is high. Remember: Marginal utility is the change in total utility that results from a one-unit increase in...
You might be surprised to know that each year vending machines kill more people in the...
You might be surprised to know that each year vending machines kill more people in the USA (on average) than sharks do. Identify three different possible “accident” scenarios with vending machines and apply risk assessment criteria. Define the accident, state and defend your choice for severity and occurrence of each accident.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT