Class diagram

Posted on 2012-09-10
Last Modified: 2012-10-16

I have the problem as below ,

Problem 2: Bus ticketing solution

This application issues tickets to passengers in the bus. Time of conductor is very important. He needs to issue tickets in as less time as possible which means reducing inputs required for issuing tickets.
•      Conductor inputs all the stops in the route before beginning of the journey. Input has the stop name and distance in KM from the start point.
•      Ticket price is calculated based on the distance.
•       If distance is less than 2KM then minimum of Rs. 10 is charged. If distance is more than two KM then Rs. 5 per KM is charged. Fare is rounded to whole number.
•      Conductor should be able to mark the stop which is crossed.
•      This is to enable the conductor to input only destination and quantity to issue a ticket. Ticket will be from the stop which is marked as crossed.
•      Conductor should be able to cancel a ticket.
•      Conductor should be able to print the collection during the trip.

Q)  how to identify the Required classes , methods and properties for the above problem

please suggest and provide me the class diagrams fro the above problem.
Question by:praveen1981
    LVL 18

    Expert Comment


    This looks like some sort of class assignment. It's against the rules for us to help with class work.

    Why don'y you attempt a solution and then we can help based on what you've done.



    Accepted Solution

    Architecure helped me in solving this problem.

    Author Closing Comment

    Architecute of my team guide me in solving this problem

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now