Sunteți pe pagina 1din 2

BITP3113 Object Oriented Programming

Semester 1 2012/2013
Mini Project

Assigned Date: Due Date:

Nov 23, 2012 Dec 24, 2012 before 5.00 p.m

(Light Rapid Transit)LRT route finder system Your group is to develop a lrt route finder program in Java for a lrt service company in Melaka. The company is in charge of five lrt stops in the Melaka. The users need to find routes and costs for journeys between these five stops. The following table (Table 1) provides the lrt stops and costs for the journeys. Table 1 Fare table Adult Single Journey 1. Melaka Sentral 2. Batu Berendam 3. Bukit Beruang 4. Ayer Keroh 5. Durian Tunggal Melaka Sentral 1.00 2.70 3.70 6.10

Batu Berendam 5.40 6.00 4.10

Bukit Beruang 7.00 7.50

Ayer Keroh 8.00

Durian Tunggal

Your program should have a main menu with four options Price, Route, Admin and End (which terminates the program). The Admin option takes to another menu with the following four options input route, save route, retrieve route and exit. Your program should also include appropriate error handling. Functionality for each of these menu options is explained below: Price: The cost of travelling between two stops. Route: Displays a list of stops that are available and user can choose which stop they wish. Administrator menu Input route: Allows the user to add as many stops as they like. For example, you might add Bukit Baru between Batu Berendam and Bukit Beruang.

Save route: Allows the user to save all the route information to a file. Retrieve route: Read in all the information on journey stops from a user selected file. Interface: You may produce a graphical user interface (GUI) or a simple text-based system in the command window. Please refer to marking scheme as outlined later in this sheet. Documentation: Your assignment should be submitted with appropriate documentation. Make sure you include an explanation of how your code should be run similarly like a user guide. Submission of code: You should email your .java text file(s) to me (mashanum@utem.edu.my) as an attachment before due date. The subject line of your email should include all your members name and BITP3113 Group work (for example, Mashanum Osman, BITP3113 Group work). I wont accept any programs after the date. Depending on how you have written your program (you should have produced a number of classes in different files) you may have several .java files to email to me just send them all as attachments to one email. The marking scheme is outlined as below. Functionality The cost of travel between two stops Add and view stops between two stops Save and retrieve route to file GUI Interface Documentation Appropriate classes Layout and comments Robustness eg error handling Total Weight Mark Comment 15% 15% 15% 20% 10% 15% 5% 5% 100%

S-ar putea să vă placă și