CS 255 SH UML diagram
.docx
keyboard_arrow_up
School
Southern New Hampshire University *
*We aren’t endorsed by this school
Course
255
Subject
Computer Science
Date
Dec 6, 2023
Type
docx
Pages
3
Uploaded by SargentSummerAntelope68
Shyanne Helo
CS 255
Professor Eppenger
SNHU
June 17, 2023
Module 6 UML Diagrams
The use case that is being described in the UML diagrams is a user operating an ATM to withdraw money. Throughout the UML diagrams there are a few different interactions and forms of information involved. One form of information that is involved is the ATM pin, and if the pin is correct or incorrect. Another form of information that is being communicated is the requested amount, and if that amount is available. One interaction in the UML diagram is entering the card and asking the user for the pin. Another interaction that is involved in the UML diagram is asking the user to enter their pin and validating the user’s pin. The last interaction of the use case
in the UML diagram is entering the requested amount of money, the money being withdrawn, and the card being returned to the user. Throughout the UML diagram use case for ATM functions there are a few deficiencies. Recognizing the deficiencies in the UML diagram and making changes can improve the functionality of the UML diagram. One deficiency that I would change is if the users pin is incorrect, it ends the user’s transaction. To change this deficiency, I would allow the user to re-
enter their pin again before ending the transaction. If the user incorrectly enters their pin more than 3 times the users account will be locked and then they will need to contact the bank to verify their account. The second deficiency that I would change is generating a receipt when the amount that is requested is not available. To implement this change, I would allow the user to re-
enter the amount they are requesting to withdrawal. If the user enters an amount that is not available twice than we would generate a receipt.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Draw UML diagrams for online shopping system (use case diagram, class diagram).
Based on the requirements and the scenario.
arrow_forward
Draw a UML diagram for withdrawal from a bank account
arrow_forward
Design an entity- relationship diagram
arrow_forward
Draw a UML Activity Diagram OR UML Sequence Diagram using all aspects of the soft drinks vending machine scenario.
Scenario: The user will start to deposit coins to a vending machine. When the amount of money deposited into the machine is equal to or greater than the price of any of its available products, the respective product selection buttons will be enabled for the user to make the selection. After the user has made a valid selection, the machine will calculate the due amount. In parallel machine will dispense the soft drink, together with the change (if applicable) and at the same time, the machine will issue the receipt.
arrow_forward
The sales department clerk receives customer orders from the customers and prepares a three-part sales order. The three copies are sent to the credit department for approval, where the clerk reviews the Customer Credit Records. After approval, the credit department clerk returns one copy of the sales order to the sales department, where it is reviewed and filed. The remaining two copies are sent to the warehouse. The warehouse clerk picks the goods from the shelves and sends them along with one copy of the sales order to the shipping department. The third copy of the sales order is filed in the warehouse. Upon receipt of the goods, the shipping clerk prepares a shipping notice and sends the goods and one copy of the sales order to the customer. The clerk then sends the shipping notice to the billing department. Upon the receipt of the shipping notice, the billing clerk updates the customer’s account receivable and files the shipping notice in the department.Task 1: Prepare a system…
arrow_forward
Give me UML diagram
A football association is comprised of something like four football crews. Every football crew is made out of eleven to seventeen players, and one player is the commander of the group. The football crews mess around against one another. A group has here and there a chief, and is dependably lead by a mentor. A chief can deal with various groups. Individuals (player, mentor, chief) are distinguished by a name and a location.
Give me the UML diagrams with explanation
arrow_forward
UML Diagrams
a. Design the UML diagram (activity) for the business case making of placing an
order (order, invoice, delivery (fast, regular), payment)
-Activity refers to sequence of actions.
-The two parts of orders (completion of order and sending the invoice).
-The order will be closed only when the product is delivered and paid.
-Decision is needed, that has an incoming flow and several outgoing flows.
b. Prepare a state diagram for an account. Consider the cases of: overdrawn, account
with incorrect PIN, open close.
- list the states for the account class
- find out the events
-from each event consider transition among the states
-suspended state: the access to the account is blocked
-overdrawn state: when customer withdrawals exceed the balance in the account
-start from the normal state
arrow_forward
Create a UML Sequence Diagram for the following book shop checkout system:
Assume that a customer selects the books and taken to the cashier by the customer. To complete the order, the cashier scans each book with the checkout device. Cashier requests for the payment through credit card from Customer. Customer provides a credit card to the cashier. The card is checked by the Bank Muscat at the checkout device. The Bank Muscat confirms the acceptance of the payment. The customer signs the receipt for credit card. The books bought would be shipped to the customer.
arrow_forward
Scenario Acme engineering is a general light engineering company that specializes in metallic fixtures and fittings. It manufactures various products to customer order, and also has long term contracts to supply manufactured products to other companies. Acme is a “jobbing shop” involving craftspeople making specialized complete products – it is not a production line operation. The craftspeople work on early (6am – 2pm) and late (2pm – 10pm) shifts 5 days a week, and sometimes do overtime on Saturdays. The factory is always closed on Sundays. Each shift has a supervisor. The management team consists of the Managing Director (MD), Accountant and Sales Manager. They are assisted by two Administrative Assistants who work Monday to Friday, 8.30am to 5.30pm. The management team has decided that, in order to become more competitive, it needs more and better information on the costs involved in manufacturing. It wants to build up a database of time and cost information per manufacturing job,…
arrow_forward
Scenario Acme engineering is a general light engineering company that specializes in metallic fixtures and fittings. It manufactures various products to customer order, and also has long term contracts to supply manufactured products to other companies. Acme is a “jobbing shop” involving craftspeople making specialized complete products – it is not a production line operation. The craftspeople work on early (6am – 2pm) and late (2pm – 10pm) shifts 5 days a week, and sometimes do overtime on Saturdays. The factory is always closed on Sundays. Each shift has a supervisor. The management team consists of the Managing Director (MD), Accountant and Sales Manager. They are assisted by two Administrative Assistants who work Monday to Friday, 8.30am to 5.30pm. The management team has decided that, in order to become more competitive, it needs more and better information on the costs involved in manufacturing. It wants to build up a database of time and cost information per manufacturing job,…
arrow_forward
Scenario
Acme engineering is a general light engineering company that specializes in metallic fixtures and fittings. It manufactures various products to customer order, and also has long term contracts to supply manufactured products to other companies. Acme is a “jobbing shop” involving craftspeople making specialized complete products – it is not a production line operation. The craftspeople work on early (6am – 2pm) and late (2pm – 10pm) shifts 5 days a week, and sometimes do overtime on Saturdays. The factory is always closed on Sundays. Each shift has a supervisor. The management team consists of the Managing Director, Accountant and Sales Manager. They are assisted by two Administrative Assistants who work Monday to Friday, 8.30am to 5.30pm.
The management team has decided that, in order to become more competitive, it needs more and better information on the costs involved in manufacturing. It wants to build up a database of time and cost information per manufacturing job, so…
arrow_forward
Overview:
A famous factory has bought new machines for each one of its product lines. The manager of
the factory has decided to assign some workers from each product line to attend training
workshops in order to know how to use the new machines where workshops will be given by
engineers from the company manufactured the machines.
In this TMA, it is required to help the manager of the factory keep track of the workshops and
workers assigned to them.
Requirements:
After a quick meeting with the manager of the factory, you got the following information:
Each worker has a civil ID (which is unique), a name and cannot attend a workshop not
given to his/her product line.
Each engineer has a civil ID (which is unique), a name and other attributes (add at least 2
attributes from your choice). He/she could give more than one workshop.
There is a unique reference number for each workshop. Each workshop will be given by an
engineer and to a specific product line. Workers could be added or removed…
arrow_forward
Computer Science
Class diagram and Object diagram
Answer the following questions based on the scenario below of a Request For A Cleaning System.
Busy Bees Home Cleaning Service employs a number of cleaners that take cleaning jobs from a central dispatch service.
Customers can request a cleaning job by phoning in and making an appointment. The employee that takes the call checks if there is sufficient staff for the appointment. If there is, the employee records the customer and appointment. If there isn’t the staff member suggests other times that are available.
Customers can also request a regular cleaning service (e.g. weekly), as well as a specific cleaner. If there is any variation in the job (e.g. the customer requests that windows be cleaned in addition to the normal cleaning job) the cleaner informs the office before the bill is credited to the customer’s account. Most customers are charged via their credit card; regular customers can have an account whereby they are invoiced on…
arrow_forward
ER Modeling Assignment
Question 1.
A company is organized into departments. Each department has a unique name, a unique number, and a particular employee who manages the department. We keep track of the start date when that employee began managing the department. A department may have several locations.
A department controls a number of projects, each of which has a unique name, a unique number, and a single location.
We store each employee's name, social security number.i address, salary, sex, and birth date. An employee is assigned to one department but may work on several projects, which are not necessarily controlled by the same department. We keep track of the number of hours per week that an employee works on each project. We also keep track of the direct supervisor of each employee.
We want to keep track of the dependents of each employee for insurance purposes. We keep each dependent's first name, sex, birth date, and relationship to the employee.
Question 2
A company has a…
arrow_forward
ER Modeling Assignment
Question 1.
A company is organized into departments. Each department has a unique name, a unique number, and a particular employee who manages the department. We keep track of the start date when that employee began managing the department. A department may have several locations.
A department controls a number of projects, each of which has a unique name, a unique number, and a single location.
We store each employee's name, social security number.i address, salary, sex, and birth date. An employee is assigned to one department but may work on several projects, which are not necessarily controlled by the same department. We keep track of the number of hours per week that an employee works on each project. We also keep track of the direct supervisor of each employee.
We want to keep track of the dependents of each employee for insurance purposes. We keep each dependent's first name, sex, birth date, and relationship to the employee.
Question 2
A company has a…
arrow_forward
Draw sequence diagram of attached picture
arrow_forward
Luxury-Oriented Scenic Tours (LOST) provides guided tours to groups of visitors to the Washington, D.C. area. In recent years, LOST has grown quickly and is having difficulty keeping up with all of the various information needs of the company. The company's operations are as follows:
LOST offers many different tours. For each tour, the tour name, approximate length (in hours), and fee charged is needed. Guides are identified by an employee ID, but the system should also record a guide's name, home address, and date of hire. Guides take a test to be qualified to lead specific tours. It is important to know which guides are qualified to lead which tours and the date
that they completed the qualification test for each tour. A guide may be qualified to lead many different tours. A tour can have many different qualified guides. New guides may or may not be qualified to lead any tours, just as a new tour may or may not have any qualified guides.
Every tour must be designed to visit at least…
arrow_forward
Draw the EER diagrams for the following problems using UML notation, Crow’s Foot notation and Chen notation:
A large organization has several parking lots, which are used by staff. Each parking lot has a unique name, location, capacity, and number of floors. Each parking lot has parking spaces, which are uniquely identified using a space number. Members of staff can request the use of a parking space. Each member of staff has a unique number, name, telephone extension number, and vehicle registration number. The majority parking spaces are under cover and can be allocated for use by a member of staff for a monthly rate. Parking spaces that are not under cover are free to use when available. Up to twenty covered parking spaces are available for use by visitors to the company. However, only members of staff are able to book out a space for the day of the visit. There is no charge for this type of booking, but the member of staff must provide the visitor’s vehicle license number.…
arrow_forward
MAKE AN ACTIVITY DIAGRAM BASED ON THE SCENARIO (SEE ATTACHED PHOTO FOR THE SCENARIO/PROBLEM AND EXAMPLE FORMAT/TEMPLATE)
arrow_forward
Software engineeringDevelop a context diagram and level-0 Data flow diagram for the following case study:
Online Flight Reservation systems are a set of applications that support the direct contact between an airline and its passengers. The reservation systems contain airline schedules, fare rates as well as passenger and ticket reservations. The reservation system allows customers to make reservations via the use of internet and mobile phone applications. There are three user levels within the ticket booking system: User, Agent, and Administrator. Users have basic permissions in the ticket booking system, can search the desired destination, choose a seat and make a payment in one click. Agents are users who can manage the functionality and have access to all features within the system. The administrator can manage every aspect of the system, has visibility to all features, and changes system settings. Using the searching functions, you can select a round trip, one way or multi-city,…
arrow_forward
ER Diagram
arrow_forward
Explain the concept of a state diagram and how it is used in system modeling.
arrow_forward
Create a state diagram with entry, do and exit activities.
arrow_forward
A company has various rules for how payments to suppliers are to be authorized.Some payments are in response to an approved purchase order. For approved purchase orders under $5,000, the accountingclerk can immediately issue a check againstthat purchase order and sign the check. Forapproved purchase orders between $5,000and $10,000, the accounting clerk can immediately issue a check but must additionallyobtain a second signature. Payments for approved purchase orders over $10,000 alwaysrequire the approval of the accounting manager to issue the check as well as the signature of two accounting clerks. Payments thatare not covered by a purchase order that areunder $5,000 must be approved by the accounting manager and a departmental manager who will absorb the cost of the paymentinto that department’s budget. Such checkscan be signed by a single accounting clerk.Payments that are not covered by a purchaseorder that are between $5,000 and $10,000must be approved by the accounting…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Related Questions
- Draw a UML Activity Diagram OR UML Sequence Diagram using all aspects of the soft drinks vending machine scenario. Scenario: The user will start to deposit coins to a vending machine. When the amount of money deposited into the machine is equal to or greater than the price of any of its available products, the respective product selection buttons will be enabled for the user to make the selection. After the user has made a valid selection, the machine will calculate the due amount. In parallel machine will dispense the soft drink, together with the change (if applicable) and at the same time, the machine will issue the receipt.arrow_forwardThe sales department clerk receives customer orders from the customers and prepares a three-part sales order. The three copies are sent to the credit department for approval, where the clerk reviews the Customer Credit Records. After approval, the credit department clerk returns one copy of the sales order to the sales department, where it is reviewed and filed. The remaining two copies are sent to the warehouse. The warehouse clerk picks the goods from the shelves and sends them along with one copy of the sales order to the shipping department. The third copy of the sales order is filed in the warehouse. Upon receipt of the goods, the shipping clerk prepares a shipping notice and sends the goods and one copy of the sales order to the customer. The clerk then sends the shipping notice to the billing department. Upon the receipt of the shipping notice, the billing clerk updates the customer’s account receivable and files the shipping notice in the department.Task 1: Prepare a system…arrow_forwardGive me UML diagram A football association is comprised of something like four football crews. Every football crew is made out of eleven to seventeen players, and one player is the commander of the group. The football crews mess around against one another. A group has here and there a chief, and is dependably lead by a mentor. A chief can deal with various groups. Individuals (player, mentor, chief) are distinguished by a name and a location. Give me the UML diagrams with explanationarrow_forward
- UML Diagrams a. Design the UML diagram (activity) for the business case making of placing an order (order, invoice, delivery (fast, regular), payment) -Activity refers to sequence of actions. -The two parts of orders (completion of order and sending the invoice). -The order will be closed only when the product is delivered and paid. -Decision is needed, that has an incoming flow and several outgoing flows. b. Prepare a state diagram for an account. Consider the cases of: overdrawn, account with incorrect PIN, open close. - list the states for the account class - find out the events -from each event consider transition among the states -suspended state: the access to the account is blocked -overdrawn state: when customer withdrawals exceed the balance in the account -start from the normal statearrow_forwardCreate a UML Sequence Diagram for the following book shop checkout system: Assume that a customer selects the books and taken to the cashier by the customer. To complete the order, the cashier scans each book with the checkout device. Cashier requests for the payment through credit card from Customer. Customer provides a credit card to the cashier. The card is checked by the Bank Muscat at the checkout device. The Bank Muscat confirms the acceptance of the payment. The customer signs the receipt for credit card. The books bought would be shipped to the customer.arrow_forwardScenario Acme engineering is a general light engineering company that specializes in metallic fixtures and fittings. It manufactures various products to customer order, and also has long term contracts to supply manufactured products to other companies. Acme is a “jobbing shop” involving craftspeople making specialized complete products – it is not a production line operation. The craftspeople work on early (6am – 2pm) and late (2pm – 10pm) shifts 5 days a week, and sometimes do overtime on Saturdays. The factory is always closed on Sundays. Each shift has a supervisor. The management team consists of the Managing Director (MD), Accountant and Sales Manager. They are assisted by two Administrative Assistants who work Monday to Friday, 8.30am to 5.30pm. The management team has decided that, in order to become more competitive, it needs more and better information on the costs involved in manufacturing. It wants to build up a database of time and cost information per manufacturing job,…arrow_forward
- Scenario Acme engineering is a general light engineering company that specializes in metallic fixtures and fittings. It manufactures various products to customer order, and also has long term contracts to supply manufactured products to other companies. Acme is a “jobbing shop” involving craftspeople making specialized complete products – it is not a production line operation. The craftspeople work on early (6am – 2pm) and late (2pm – 10pm) shifts 5 days a week, and sometimes do overtime on Saturdays. The factory is always closed on Sundays. Each shift has a supervisor. The management team consists of the Managing Director (MD), Accountant and Sales Manager. They are assisted by two Administrative Assistants who work Monday to Friday, 8.30am to 5.30pm. The management team has decided that, in order to become more competitive, it needs more and better information on the costs involved in manufacturing. It wants to build up a database of time and cost information per manufacturing job,…arrow_forwardScenario Acme engineering is a general light engineering company that specializes in metallic fixtures and fittings. It manufactures various products to customer order, and also has long term contracts to supply manufactured products to other companies. Acme is a “jobbing shop” involving craftspeople making specialized complete products – it is not a production line operation. The craftspeople work on early (6am – 2pm) and late (2pm – 10pm) shifts 5 days a week, and sometimes do overtime on Saturdays. The factory is always closed on Sundays. Each shift has a supervisor. The management team consists of the Managing Director, Accountant and Sales Manager. They are assisted by two Administrative Assistants who work Monday to Friday, 8.30am to 5.30pm. The management team has decided that, in order to become more competitive, it needs more and better information on the costs involved in manufacturing. It wants to build up a database of time and cost information per manufacturing job, so…arrow_forwardOverview: A famous factory has bought new machines for each one of its product lines. The manager of the factory has decided to assign some workers from each product line to attend training workshops in order to know how to use the new machines where workshops will be given by engineers from the company manufactured the machines. In this TMA, it is required to help the manager of the factory keep track of the workshops and workers assigned to them. Requirements: After a quick meeting with the manager of the factory, you got the following information: Each worker has a civil ID (which is unique), a name and cannot attend a workshop not given to his/her product line. Each engineer has a civil ID (which is unique), a name and other attributes (add at least 2 attributes from your choice). He/she could give more than one workshop. There is a unique reference number for each workshop. Each workshop will be given by an engineer and to a specific product line. Workers could be added or removed…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education