Case study : online bookshop system, Software Engineering

Assignment Help:

A major book retailer is planning to develop a computer system to handle their new online bookshop: BooksUniverse.com. You have been chosen to do the analysis and design using Object-Oriented approach. The following requirements have been identified:

• Customers can search for books on the BooksUniverse.com website, either by author name, or words in the title. A list of all matching books is returned to customers. A customer does not need to be logged-in in order to search.

• The system records all the customers of the BooksUniverse.com who have ever logged in. A customer may be an individual customer or a business customer.

• Each customer has a username and password. Business customers may have several usernames and passwords, corresponding to different divisions within the business.

• When a customer has selected a book to buy at the BooksUniverse.com website. The system prompts for the customer's username and password. The customer enters these details. The system verifies the customer's identity and retrieves the customer's name and address, then prompts for credit card details. The customer enters these details. The system checks the credit card details. The system shows the customer the book and delivery price. The customer confirms the transaction.

• The system records all books available at BooksUniverse.com. For each book, the author, title and ISBN number are recorded. The number of each book in stock is also stored, along with the number on order by customers. Books may be temporarily unavailable.

• All books are stored in the BooksUniverse.com warehouse. The warehouse can be contacted via a secure Internet connection.

• For each customer, a permanent record of books bought by that customer is maintained. Likewise, for each book, a record of customers who have bought that book is kept.

• A customer order consists of one or more order lines, each corresponding to a particular book. A customer may choose to defer the shipment of an order until all the order lines have been filled.

• When the warehouse fills all or part of customer order, an email is sent to the customer informing them of what has been shipped.

• If a book ordered by a customer turns out to be unavailable, the corresponding order line is flagged and an email is sent to the customer informing them of the problem. At this stage the customer can cancel this order line.

• Although BooksUniverse.com will initially sell only books, it is envisaged that in future it will offer further products, such as CDs and DVDs. The list of possible future products has not yet been finalized.

Questions:

Based on the above case study, produce the following UML diagrams

(a) A use case diagram describing the tasks that take place in this system and the actors that stimulate and take part in the system. Provide descriptions for any two use cases only.

(b) A class diagram showing the classes involved in the system, their attributes, methods, relationships and relationship multiplicity. Add any required attribute(s) or method(s) for consistency. Show at least one example of each of the following concepts: inheritance, association and aggregation.

(c) A sequence diagram, which shows one particular sequence of events for the ‘Purchase a book from the Website' use case.

(d) A state transition diagram for the class Book.


Related Discussions:- Case study : online bookshop system

What is constant, What is Constant? In software or software testing, a c...

What is Constant? In software or software testing, a constant is a meaningful name that shown a number, or string, that does not alter. Constants are variables that remain the s

Discuss about rad model, Discuss about RAD Model Rapid Application D...

Discuss about RAD Model Rapid Application Development Model is the one type of incremental model. Gains the high speed development utilising component based construction.

State the strategies of software testing, State the strategies of Software ...

State the strategies of Software testing Two testing strategies are present. i) Code Testing: Code testing strategy examines the logic of the system.  In this, analyst deve

How does the risk factor affect the spiral model, Q. How does the risk fact...

Q. How does the risk factor affect the spiral model of software development? Ans: Risk Analysis phase is the most vital part of Spiral Model. In this phase all probable (and

Evaluate the total costs for johns project, Question: (a) Show two mai...

Question: (a) Show two main approaches to identify risk in a project. (b) John finds that IOE recovers some overheads as oncosts on direct staff costs although others are

How will you convince the ceo that crm will make improvement, Marketing and...

Marketing and Sales (M/S) is the focal point of many of Hawkins Cookers Ltd, because they are responsible for selling the company's product (a) Consider you are the Chief Inform

What are the benefits of smoke testing, What are the benefits of smoke test...

What are the benefits of smoke testing? Integration risk is minimized. The quality of the end-product is improved. Error diagnosis and correction are simplified. Asses

What is software engineering, What is software engineering? Software en...

What is software engineering? Software engineering is a regulation in which theories, methods and tools are applied to make professional software.

Graphical design notation, Explain any two graphical design notations used ...

Explain any two graphical design notations used in procedural design

Define partitioning, Partitioning:- Problems are often too large and diffi...

Partitioning:- Problems are often too large and difficult to be understood as a whole. For this reason, we tend to partition such difficulties into parts that can be easily unders

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd