Question

In: Computer Science

When a contractor buys materials, he or she takes them to the contractor checkout desk. The...

When a contractor buys materials, he or she takes them to the contractor checkout
desk. The clerk enters the contractor name into the system. The system displays
the contractor information, including his/her current credit standing.
The clerk then opens up a new ticket (sale) for the contractor. Next, the clerk then
scans in each item to be purchased. The system finds the price of the item and
adds the item to the ticket. At the end of the purchase, the clerk indicates end of
sale. The system compares the total amount against the contractor’s current credit
limit, and if it is acceptable, finalizes the sale. The system creates an electronic
ticket for the items, and the contractor’s credit limit is reduced by the amount of
the sale. Some contractors like to keep a record of their purchases, so they request
that the ticket details be printed out. Others aren’t interested in a printout.

Given the above scenario, do the following:
a. Develop an activity diagram for case 2.

Solutions

Expert Solution

Note:

- There is no input/output pairing for the message total; the text doesn’t specify one but it could be specified as an input message “finish” and written under the line shown.

- The “[receipt?]” represents a conditional input (“if receipt is requested?”).

Case Study: DownTown Video Rental System                     

DownTown Videos is a chain of 11 video stores scattered throughout a major metropolitan area in the Midwest. The chain started with a single store several years ago and has grown to its present size. Paul Lowes, the owner of the chain, knows that to compete with the national chains will require a state-of-the-art movie rental system. You have been asked to develop the system requirements for the new system.

Each store has a stock of movies and video games for rent. It is important to keep track of each movie title to know and to identify its category (classical, drama, comedy, and so on), its rental type (new release, standard), movie rating, and other general information such as movie producer, release date, cost, and so

forth. In addition to tracking each title, the business must track each individual copy to note its purchase date, its condition, and its rental status. User functions must be provided to maintain this inventory information.

Customers, the lifeblood of the business, are also tracked. DownTown considers each family to be a customer, so special mailings and promotions are offered to each household. For any given customer, several people may be authorized to rent videos and games. The primary contact for each customer can also establish rental parameters for other members of the household. For example, if a parent wants to limit a child’s rental authorization to only PG and PG-13 movies, the system will track that.

Each time a movie is rented, the system must keep track of which copies of which movies and games are rented; the rental date and time and the return date and time; and the household and person renting the movie. Each rental is considered to be open until all of the movies and games have been returned. Customers pay for rentals when checking out videos at the store.

3. Activity Diagram for the Rent Movie (Check-Out) use case in Movie Rental System

at DownTown Videos

4. Global System Sequence Diagram for the Rent Movie (Check-Out) use case in Movie Rental System

at DownTown Videos and for the Return Movie (Check-In) use case

note: plzzz don't give dislike.....plzzz comment if you have any problem i will try to solve your problem.....plzzz give thumbs up i am in need....


Related Solutions

Heather Marks is a trader on the principal investing desk at Barclay’s Bank. She buys 1,000...
Heather Marks is a trader on the principal investing desk at Barclay’s Bank. She buys 1,000 units a 7-year, 7% annual fixed coupon mortgage-backed security at par ($1,000). She finances 50% of the purchase with the bank’s equity and the rest through the repo market. She holds the securities for one year and then resells them at even par after receiving the coupon. Assume that the implied average “repo” rate was 3% for the year. 1) What is the net...
A home buyer buys a house for $ 1630000. She pays​ 20% cash, and takes a​...
A home buyer buys a house for $ 1630000. She pays​ 20% cash, and takes a​ fixed-rate mortgage for ten years at 8.75​% APR. If she makes​ semi-monthly payments, which of the following is closest to each of her​ payment? A. $ 9794.42 B. $ 6529.62 C. $ 8162.02 D. $ 8978.22
3. Kareem Adiagbo buys a house for $285,000. He pays $60,000 down and takes out a...
3. Kareem Adiagbo buys a house for $285,000. He pays $60,000 down and takes out a mortgage at 6.5% compounded bi-weekly on the balance. Find his bi-weekly payment and the total amount of interest he will pay if the length of the mortgage is 15 years. Fill the following amortization table for the first two payments. What is the amount against the principal in the second payment? What is the balance at the end of the second period? What is...
If an investor buys enough stocks, he or she can, through diversification, eliminate most of the...
If an investor buys enough stocks, he or she can, through diversification, eliminate most of the market risk and company-specific risk and inherent in owning stocks. (why is false the correct answer?) True. False
Michael Bruce buys a house for $375,00. He pays $65,000 down and takes out. a 30-year...
Michael Bruce buys a house for $375,00. He pays $65,000 down and takes out. a 30-year mortgage on the balance. if the i interest rate on the loan is 6.5% what are his monthly payments. write variable/ values used and the formula expression needed to calculate the answer formula abbreviation such as PVOA
Sheila runs a café. She regularly takes drawings from cash and records them in a notebook...
Sheila runs a café. She regularly takes drawings from cash and records them in a notebook she keeps by the till. However, the notebook has been lost and she cannot remember how much cash drawings she took during the year to 31 December 2019. She estimates that she made a mark-up of 35% during the year. The cost of sales were €100,000. Bank statements show that cash takings of €110,000 lodged during 2019. There were no trade receivables at the...
When an investor buys a stock or bond, does the price he is willing to pay...
When an investor buys a stock or bond, does the price he is willing to pay depend on whether he intends to resell his investment in 2 years or in 30 years? Why or why not?
Andy loves buying raincoats (c) and oxford shoes (s) and he buys them in fixed proportions....
Andy loves buying raincoats (c) and oxford shoes (s) and he buys them in fixed proportions. He buys two coats with every pair of shoes he buys. A pair of shoes costs $30, and a raincoat costs 20. Andy´s total budget is $140. a) Write a utility function for Andy´s preferences and his budget constraint. Graph Andy´s indifference curves and budget constraint. b) How many pair of shoes and raincoats does Andy buy? c) If the federal government taxes coats...
2. Mary buys a woodburning stove for her cabin in the mountains. She remembers that when...
2. Mary buys a woodburning stove for her cabin in the mountains. She remembers that when she originally purchased homeowners insurance for the cabin, the insurance agent asked if she had a woodburning stove, because woodburning stoves increase the risk of fire. At that time, she correctly answered no. Now, she must decide whether to inform her insurance agent about the new stove. Would you advise her to inform the insurance agent? Explain why and what would be the consequence...
When a customer enters a pharmacy, the probabilities that he or she will have 0, 1,...
When a customer enters a pharmacy, the probabilities that he or she will have 0, 1, or 2 or more prescrip- tions filled are 0.60, 0.25 and 0.15, respectively. For a sample of six people who enter the pharmacy, find the probability that (a) three will have 0 prescriptions, two will have 1 prescription, and one will have 2 or more prescriptions. (b) four will have 0 prescriptions, one will have 1 prescription, and one will have 2 or more...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT