Draw the sequence diagram for the scenario, Programming Languages

Draw the sequence diagram for the following scenario of eBroker.

Sell Stock

  1. The user enters the username and password
  2. The system checks that the user is a valid user using information from the user database.
  3. The user enters the stock symbol.
  4. The system displays current price information for the stock.
  5. The user enters sale transaction data such as number of stocks to sell and price
  6. The system checks whether the user has adequate number of stocks in his account to sell.
  7. The system creates a new sale transaction.
  8. The system informs the stock exchange about the sale transaction.
  9. The stock exchange informs the system (eBroker) when the sale is executed.
  10. The system updates the user's account.
  11. The system terminates the sale transaction created in step 7.

Assume the following classes: stock, sale transaction, account. You can add any other classes you deem necessary.

Posted Date: 4/6/2013 5:23:20 AM | Location : United States







Related Discussions:- Draw the sequence diagram for the scenario, Assignment Help, Ask Question on Draw the sequence diagram for the scenario, Get Answer, Expert's Help, Draw the sequence diagram for the scenario Discussions

Write discussion on Draw the sequence diagram for the scenario
Your posts are moderated
Related Questions
Create a visualization (programming project) and demonstrate it in the class. The project should be related to distributed systems. (A distributed system consists of multiple auton

Write a script called 'prob3.m' that does the same thing as the previous question except that it makes use of a switch-case construct instead of an if-else. In the file 'hw4.m'

i have a database having field name title and comm. I want to search by name and get the all data remaining title and comm(comm is integer)

Lexical Analyzer: Symbol Table - Holds the symbols accepted by the lexical analyzer or parser.  Each symbol may be a terminal or a non-terminal.  Terminal symbols are listed

i attached the assignment document only i need your help with following three parts: accessible areas, accessible cul-de-sacs that are all connected, entry-exit path with no in

Your task is to write an application to analyse texts in a file.  Your application will employ  several kinds of text-analyser objects (which you also have to implement)  as descri

What will be the output for the following instruction if CX=9087H and AX=9090H? 1) BTR AH,2? 10010000=10010000 2) BTC CX,9?1001000010000111=1001000110000111 3) NEG AX?

Write a program that repeatedly prompts for and reads a positive integer value n and then calculates and displays the nth Fibonacci number

System.in and System.out should not be used anywhere in the programs except in main and only for testing purposes.  All calculations should be done in a method.  Note:  To use J

Create a DTD which describes the structure of the document which you prepared in Question 1. Make sure that you use all appropriate DTD ingredients to constrain valid documents as