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
In this activity, you are going to place components on a sheet and connect them with virtual wires to create a simple digital circuit. You will simulate the circuit to verify the c

The following are required for this lesson: Complete the Project "Adding New Payments," which is the Karate Payments that includes the Adding New Payments, Deleting Payments,

In this section we need to take a brief look at systems of differential equations which are larger than 2 x 2. The problem now is not like the first few sections where we looked at

Write your own version of the strcmp function string_compare. Supply a main program that will test each of the 3 differing outcomes. int string_compare(char *s, cha

1. Write a program that reads a minimum of three command line arguments and displays the program's results. a. Command Line arguments:  i. The first argument will be the program

Suppose L is a context-free language and L' is regular. Show that L∩ L' is a context- free language. Specifically, if you're given a PDA diagram of L and a DFA diagram for L' , des


Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

You will soon receive in an email a personalized assignment that tells you the nature of the "Empirical Data" you are to produce with a Pascal program for HW3. HW3 is about generat

(a) (i) What do you meant  by a function? Are functions required when writing a C program? (ii) State one of the advantages to the use of functions. (iii) What do you meant by a