Draw the sequence diagram for the scenario, Programming Languages

Assignment Help:

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.


Related Discussions:- Draw the sequence diagram for the scenario

Define a procedure that takes a list as a single argument, (a) Define a pro...

(a) Define a procedure (subsets x) that takes a list as a single argument and returns all 2^n subsets of that list, i.e. the power set of the list; e.g. (subsets '(a b c)) ==> (

Unix Shell, #quFollow the my shell programming guidelines as in the other a...

#quFollow the my shell programming guidelines as in the other assignments. Write a shell script to send a customized mail message to the users listed on the command line by login (

Str_concat procedure, Write a procedure named Str_concat that concatenates ...

Write a procedure named Str_concat that concatenates a source string to the end of a target string. Sufficient space must exist in the target string to accommodate the new characte

C++, Have the user input two values. Store them in variables called saving...

Have the user input two values. Store them in variables called savings and expenses, both of data type double. If expenses is less than savings, subtract expenses from savings, o

Example problem of modularity, Example problem Imagine that  you  requ...

Example problem Imagine that  you  require  to create  a robot  that  will  roll up  close to a light  lamp  and  stop  a fixed distance from it.  The first question is, how w

Simulation algorithm, Please remember to read and follow all of the assignm...

Please remember to read and follow all of the assignment guidelines. This assignment will expand upon the simulation algorithm given in class to produce a program which may be u

Perform dbscan clustering and k means, Perform Dbscan Clustering and K mean...

Perform Dbscan Clustering and K means I have a simple array of data. I need to perform dbscan clustering and k means based on the values in the array.detailed description  bel

Shell script to print the name of file that has maximum size, Normal 0 ...

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

Amazon login, I want to set up automatic Amazon login

I want to set up automatic Amazon login

Shell script to print pyramid, Normal 0 false false false ...

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

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