Csis 100csis 100 Uml Use Case Modelingbackgroundthe Unified Modelin ✓ Solved

CSIS 100 CSIS 100 –UML Use Case Modeling Background: “The Unified Modeling Language, or UML, as it is popularly known by its TLA (three-letter acronym!), is the language that can be used to model systems and make them readable. This essentially means that UML provides the ability to capture the characteristics of a system by using notations. UML provides a wide array of simple, easy to understand notations for documenting systems based on the object-oriented design principles. These notations are called the nine diagrams of UML.†( In this exercise, you will be developing the first of the UML diagrams, known as a Use-Case diagram. Before beginning this lab, be sure to read the articles and watch the videos that are in your Reading & Study folder.

In this lab, you are a Systems Analyst working for Liberty University. It is your responsibility to produce a Use Case diagram (complete with Use Case descriptions for each Use Case) for a system that will model an existing system. The system that you choose to model is your decision. Some examples are the systems that you use to apply for admission to the university, the system you use to sign up for classes, the system you use to order textbooks or another system of which you are familiar. To construct your Use Case diagram, you will use a web-based modeling tool that is found at .

The instructions to use this tool are as follows: 1. Open a web browser and navigate to . You will immediately see a screen like the one below that asks you where you want to save your files. Select “Device†from this screen. 2.

The next screen prompts you to either create a new diagram or open an existing diagram. Click “Create a new diagramâ€. 3. This opens a new screen. Just click on the “Blank Diagram†and create a blank diagram.

This opens your template screen to start diagraming. 4. Click on the down arrowhead to the left of the word “General†to collapse the General symbols 5. Then click on the arrowhead next to “UML†to open the UML symbols. 6.

Drag in as many Actors and Use case symbols as you need for your Use Case Diagram. 7. When you are ready, click on the File-Save As button. The next screen prompts you to give your diagram a name and to select a template for your diagram. a. Name your file using the convention [Your First and Last Name without spaces] followed by “UseCaseDiagramâ€. b.

Once you have named the file, click on the Device icon and it will open your file save as menu Sample Use Case Diagram of and ATM This is a sample of a very high-level Use case Diagram. Notice that the symbols are very simple. There are only four symbols ever used in Use Case Diagrams. 1. Stickman —These are called actors.

But in system modeling, actors do not need to be people. Notice the Bank in this diagram is an Actor. The Bank is a system that interacted with the system you are modeling. Notice the naming. Actors are not specific people.

They are Classes of people or entities (Bank). 2. Box —In this diagram, it is the box labeled atm:ATM. This box represents the Boundaries of the system you are modeling. Is short, this would be the application you are developing.

3. Lines or Arrows —These show the relationships between Actors and Use Cases and between Use Cases to other Use Cases. 4. Ovals —These are the Use Cases. Notice the names on the Use Cases.

They are all, what we call, Verb Phrases. Refill Machine—Verb is first and noun second. This is because Use Cases are actions. Notice as week it does not say Maintenance Person Refills the Machine. That is not needed because the line from the Actor tells us that.

Again, there are no other symbols on the Use Cases. If you find yourself trying to make the diagram look pretty you will lose points. They are standard and understood by all software developers. Using other symbols might look good to you but a developed may not understand what the meaning is. Now let’s take a look at the Use Case Description.

Every Use Case in your model will require a Use Case Description. This the format of the Use Case Description you will use for this Lab. There are variations of this format in the industry, but the content is generally the same. I’m filling in this form based on the sample Use Case diagram from Above. I will be using the Withdraw Cash Use Case.

Use Case Name: Withdraw Cash Participating Actors: Bank Customer; Bank Entry Conditions: Bank Customer is successfully Logged in to the ATM Flow of Events: 1. Select the Withdraw Funds Option 2. Enter the amount of the withdraw 3. Wait for approval 4. Verified Funds available 5.

Dispenses Cash 6. Takes Cash 7. Takes Receipt 8. Logs out of the system Alternative Flows: 4.1. Display Insufficient Funds notice 4.2 Prints receipt 4.3 Return to step .1 Return to step 2 8.2 Enter a lower amount 8.3 Return to step 4 Exit Conditions: Customer leaves with or without cash.

Notice the numbering of the Flow of Events (the normal process when all goes right). These are numbered steps from 1 through the end (in this case 8). But notice the numbers of the Alternative Flows (a flow that only occurs is something that does not process as normal). To accurately reflect where the alternative Flow kicks in it starts with the number of the step where the problem occurred. So normal flow would be the funds are verified in step 4.

If not the system goes to step 4.1 and follows those steps. Instead of the normal log out in step 8 the customer may choose to reenter a lower amount. If so, that would take them to Alternative Flow step 8.1. Step numbering is another critical grading criteria. Tasks : 1.

In a three-paragraph summary, describe the system you are modeling. Save this summary in a Word document entitled [Your first name + your last name] + “_UML_Labâ€. 2. Create a Use-Case diagram with a minimum of 3 actors and 5 Use Cases . 3.

Include 1 “extends†relationship in your model. 4. In the same Word document as your system summary, create 5 (five) Use Case descriptions. One for each of the required Use Cases you identified. The format of your use case descriptions should be as follows: Use Case Name: Participating Actors: Flow of Events: Alternative Flows: Entry Conditions: Exit Conditions: [For a discussion and example of use case descriptions, be sure to view the articles and videos in your Reading & Study folder.] Deliverables : Upload your diagram (saved as an XML file) and your Word document containing your summary and use case descriptions to the assignment link by the date specified in your course schedule.

Free Write and Outline for an Informative Paper This week, we will be moving from narrative writing to informative writing. Your assignment this week will consist of a freewrite and outline similar to those you did for W2; however, this freewrite and outline will help you brainstorm your “How-to†Informative Essay. Some examples of recent how-to essays for this class include: · How to prepare campfire coffee in an easy and affordable way · How to prepare for a driver’s test · How to make Kahlua rum-flavored buttercream · How to build a weatherproof shooting house for hunters · How to prepare yourself for going to a protest · How a first-time buyer can negotiate with a car salesman · How to make your own customized wig · How to save money while living in a college dorm · How to care for a person who has dementia As you can see, the topics vary widely, yet each focuses on a specific task and targets a narrow audience.

Likewise, your topic can be unusual and off-the-wall or it can be somewhat common. Either way, it must target an audience that does not know the information you possess but wants or needs to know it. There are three parts to this assignment: Part 1: Complete all of the following statements and questions: The audience for my paper is ____________. I want to teach them how to _____________. What details will I need to accomplish this purpose?

What issues or obstacles might I encounter? What is my working title? Part 2: Freewrite As before, your freewrite should reflect about 10 to 15 minutes of brainstorming about your topic. Write down everything you can think of. Don’t worry about grammar, spelling, or punctuation for this part of the assignment.

Part 3. Outline The outline should be similar to the one you used in Week 2 and contain an introduction, body, and conclusion, as well as enough details to show how your essay might be structured. Again, outline in three to five parts, summarize, and use complete sentences (not fragments or phrases). Your outline should be similar to the one used for Week 2. It will also contain an introduction, body, and conclusion, each with topic sentences and supporting points. Here is a link to the sample outline for Week 2 .

Paper for above instructions


Introduction


In this assignment, I will model the system used for "Course Registration" at Liberty University, using UML (Unified Modeling Language) Use Case diagrams and descriptions. This system allows students to manage their course enrollments efficiently. The actors involved include the student, the academic advisor, and the registration system. The use of Use Case diagrams will help illustrate the interactions between actors and the functionalities of the system, mimicking the real-world processes involved in course registration.

System Description


The Course Registration System at Liberty University is designed to facilitate students' enrollment in courses for their respective academic terms. By utilizing a user-friendly interface, students can search for available courses, check prerequisites, and enroll or drop courses as per their academic requirements. The system is automated, ensuring accuracy and convenience, significantly reducing the administrative load on academic advisors.
The primary users of the Course Registration System are students. They are able to log in securely, view their current course load, and receive recommendations for courses based on their degree program and completed credits. Academic advisors also interact with the system to assist students in course selection and to ensure that students meet graduation requirements. The system generates real-time data for course availability and enrollment limits, facilitating effective decision-making for both students and advisors.
Overall, the Course Registration System aims to streamline the process of course selection, enhance user experience, and maintain the integrity of academic data. Through this system, Liberty University can uphold its commitment to providing quality educational support to its students.

Use Case Diagram


The Use Case Diagram for the Course Registration System highlights the interactions between actors and various use cases. Below are the actors and use cases represented in the diagram.
Actors:
1. Student
2. Academic Advisor
3. Registration System
Use Cases:
1. Login to the System
2. View Course Offerings
3. Register for Courses
4. Drop Courses
5. Receive Course Recommendations

Diagram Representation


Use Case Diagram Elements:
```plaintext
[Student] --------- (Login to the System) ---------
| |
| |
------- (View Course Offerings) ---------
| |
|-----------------------------------------
| |
------- (Register for Courses) ----------
|
|
------- (Drop Courses) -----------------
| |
------- (Receive Course Recommendations) --
[Academic Advisor] ---------------------------------- |
|
[Registration System] -------------
```

Extends Relationship


The use case "Register for Courses" extends the "Receive Course Recommendations" use case; hence, if a student decides to enroll in courses, it may lead them to first receive recommendations based on their academic standing.

Use Case Descriptions


Use Case 1: Login to the System


- Use Case Name: Login to the System
- Participating Actors: Student, Academic Advisor
- Entry Conditions: User has valid credentials.
- Flow of Events:
1. User enters a username and password.
2. System verifies credentials.
3. System grants access if credentials are valid.
- Alternative Flows:
- 1.1. If credentials are invalid, the system displays an error message.
- Exit Conditions: User is logged into the system.

Use Case 2: View Course Offerings


- Use Case Name: View Course Offerings
- Participating Actors: Student
- Entry Conditions: User is logged into the system.
- Flow of Events:
1. User navigates to the course offerings section.
2. System displays available courses according to the semester.
3. User has the option to filter by subject or time.
- Alternative Flows:
- 1.1. No courses are available; system prompts user to check back later.
- Exit Conditions: User views course offerings.

Use Case 3: Register for Courses


- Use Case Name: Register for Courses
- Participating Actors: Student
- Entry Conditions: User is logged into the system and has selected courses.
- Flow of Events:
1. User selects desired courses.
2. System checks for prerequisites and availability.
3. If available, the system confirms enrollment.
- Alternative Flows:
- 2.1. If prerequisites are not met, an error message is displayed.
- Exit Conditions: Student is enrolled in courses.

Use Case 4: Drop Courses


- Use Case Name: Drop Courses
- Participating Actors: Student
- Entry Conditions: User is logged into the system and has courses registered.
- Flow of Events:
1. User selects courses to drop.
2. System confirms the drop action.
3. System updates the enrollment list.
- Alternative Flows:
- 1.1. If no courses are selected, an error message appears.
- Exit Conditions: Student is no longer enrolled in selected courses.

Use Case 5: Receive Course Recommendations


- Use Case Name: Receive Course Recommendations
- Participating Actors: Student
- Entry Conditions: User is logged into the system.
- Flow of Events:
1. System analyzes student’s academic history.
2. System generates a list of recommended courses.
3. User views the recommended courses.
- Alternative Flows:
- 1.1. System finds no recommendations based on academic criteria.
- Exit Conditions: User views course recommendations.

Conclusion


This assignment effectively highlights how UML Use Case modeling can be applied to understand and document system requirements. By modeling the Course Registration System at Liberty University, we can visualize and clarify how students and academic advisors interact with the system. The creation of both diagrams and detailed use case descriptions ensures a comprehensive representation of system functionalities. This modeling exercise not only aids in system design but also enhances communication among stakeholders.

References


1. Booch, G., Rumbaugh, J., & Jacobson, I. (1999). The Unified Modeling Language User Guide. Addison-Wesley.
2. Pressman, R. S. (2014). Software Engineering: A Practitioner's Approach. McGraw-Hill.
3. Ambler, S. W. (2005). The Object Primer: Agile Model-Driven Development. Cambridge University Press.
4. Jacobson, I., Booch, G., & Rumbaugh, J. (2011). The Unified Software Development Process. Addison-Wesley.
5. Martin, R. C. (2016). Clean Architecture: A Craftsman's Guide to Software Structure and Design. Prentice Hall.
6. Alhir, S. S. (2003). UML 2 and the Unified Process: practical object-oriented analysis and design. Cambridge University Press.
7. Fowler, M. (2004). UML Distilled: A Brief Guide to the Standard Object Modeling Language. Addison-Wesley.
8. Coad, P., & Yourdon, E. (1990). Object-Oriented Analysis. Prentice Hall.
9. Rumbaugh, J., Jacobson, I., & Booch, G. (2010). The Unified Modeling Language Reference Manual. Addison-Wesley.
10. Ambler, S. W. (2002). Agile Modeling: Effective Practices for Extreme Programming and the Unified Process. John Wiley & Sons.