Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Program Problem Can some1 please help me

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Program Problem Can some1 please help me

    Programming project

    For this project you are to develop an object-oriented program for an online mail order bookstore. The bookstore sells books, music CDs, DVD videos and computer software. The following information needs to be available for each of these products:
    • Books: title, author, publisher, year published, edition, volume, SCN and price.
    • Music CDs: title, artist, publisher, year published, volume, SCN and price.
    • DVD videos: title, director, publisher, year published, actor(s) and/or actress(es), running time, SCN and price.
    • Computer software: title, publisher, year published, version, SCN and price.

    (SCN is the Stock Control Number, in the case of books ISBN numbers are used for the SCN while a barcode number is used in the case of music CDs, DVD videos and software.)

    Customers can be either private individuals or retailers, the following information is needed for each of these:
    • Individual: e-mail address, password, name, shipping address, billing address, telephone number and credit card details.
    • Retailers: e-mail address, password, company name, shipping address, billing address, name of contact person, telephone number and account number.
    Customers are uniquely identified by their e-mail addresses.

    Addresses contain the following fields: street and number, suburb, city, county and postcode.

    Each customer has a shopping cart as well as zero, one or more orders.

    The shopping cart is a temporary list of titles the customer intends to buy. The list also includes the number of each title the customer intends to buy.

    Orders are identified by an order number and contain:
    • List of titles (and numbers) ordered.
    • Date the order was placed.
    • Cost of all the titles ordered, postage, tax and total cost of the order.
    • Status of the order. The status of an order is not yet shipped or shipped.
    • Expected date or actual date of shipping.

    A customer would typically go through the following actions when placing an order:
    • Logon – if the customer does not have an id then (s)he would first create it.
    • Search or browse for titles.
    • While searching/browsing some titles may be selected – added to the shopping cart.
    • Once the customer is done searching (s)he displays his/her shopping cart and makes some changes.
    • The customer then confirms the order, billing address, shipping address and bank details or account number.
    • The customer then logs off.

    A customer can also do the following:
    • Change any of his/her details.
    • Check existing orders.
    • Save a shopping cart for a later date and return to that shopping cart.

    You should aim to develop a tiered design where the three basic components:
    • Data component - that is the data in the data store,
    • Business logic - the application that manipulates the data from the data store,
    • User interface
    are logically “de-coupled”. It is advisable to develop your project in the sequence: first data component then logic or application and only then user interface. Start of with a (simple!) text based or menu driven user interface and only when everything works change it to a GUI!

    Guidance on Deliverables

    • All of your source code should have consistent indentation and a clear style.
    • Each class should have a method main that instantiates that class and tests all the methods of the class.
    • Detailed UML diagrams. Diagrams to be included are: use case diagrams, class and object diagrams, sequence diagrams, collaboration diagrams, state-transition (statechart) diagrams and activity diagrams. Class diagrams are to contain all relationships that exist between classes.
    • All program listings and UML diagrams are to go into the students’ logbook.
    • All source code and data files to be stored in a directory named bookstore on a disk or CD.

    Marking Criteria for Programming project

    The following are indicative evidence for achieving the corresponding level. You must meet ALL the criteria for a level (as well as for all the previous levels!) to have reached that level.

    Missing: 0%

    • Printout and UML not given.

    10%

    • Does not compile or execute.
    • Method main of the different classes fails to instantiate objects of that class.
    • Method main does not test all the member methods.
    • No UML given.

    40%

    • Coherent sets of classes, which include derived classes, have been designed to fulfil the chosen project outline.
    • Method main of the different classes instantiates objects of that class.
    • Method main tests all the member methods.
    • Most of the methods are provided as requested.
    • Class diagrams, but no relationships, given.
    • Comments are relevant to the code
    • Single-tiered structure

    70%

    • A coherent set of classes, which includes derived classes, has been designed to fulfil the given project outline.
    • Polymorphic methods.
    • Class relationships given in class diagrams.
    • More, but not all UML diagrams given.
    • All functionality specified was implemented correctly.
    • Use of Javadoc to generate documentation.
    • Two-tiered structure.


    100%

    • Overriding of superclass methods (other than constructors).
    • Full UML diagrams.
    • File input/output is used with relevant data files.
    • Three-tiered structure.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,010
    Thanks
    52
    Thanked 2,276 Times in 2,247 Posts

    Default Re: Program Problem Can some1 please help me

    Nice assignment for someone. Are you going to do it? Why is it posted here?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,332
    Thanks
    181
    Thanked 829 Times in 772 Posts
    Blog Entries
    5

    Default Re: Program Problem Can some1 please help me

    Posting homework assignments is construed as fishing for someone to help you cheat, and that is not what these forums are for. I encourage you to post what you've tried and where you are stuck, as I'm locking this thread.

Similar Threads

  1. Problem with my poker program
    By aesguitar in forum What's Wrong With My Code?
    Replies: 18
    Last Post: March 25th, 2012, 03:59 PM
  2. Math program problem.
    By dylanka in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 27th, 2011, 03:44 PM
  3. ProcessBicycleGears Program Problem
    By welsh_rocker in forum What's Wrong With My Code?
    Replies: 2
    Last Post: February 10th, 2011, 02:45 PM
  4. help... is this right? need some1 to clarify...
    By gonfreecks in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 7th, 2010, 10:07 PM
  5. Tic-Tac-Toe program problem help
    By MuffinMcFluffin in forum What's Wrong With My Code?
    Replies: 3
    Last Post: December 25th, 2009, 09:14 PM