[solved]-Assignment 1 Objective Test Knowledge Uml Uml Standard Used Creating Object Oriented Diagr Q38988952
Assignment 1
Objective: Test your knowledge of UML
UML is the standard used for creating object-oriented diagramsthat outline the design of software.
Consider this text file (which can be of arbitrary length, justshowing 3 records/lines for this example):
jim,smith,01/01/2001tim,long,02/02/2002mary,lou,03/03/2003
For this assignment, you are asked to create a class diagram anda sequence diagram for describing the classes and interactionswhere we can achieve the design for the followingfunctionality:
1. Load the file into memory (Prompt the user for filename)
2. Sort by last name (Prompt the user for ascending ordescending order – this is the second field in the record)
3. Save the sorted file (Prompt the user for filename)
Requirements:
1. Decide which classes/methods/attributes are necessary tomaintain low coupling between the file structure and the sortingfunctionality.
2. Design the class diagram showing theseclasses/methods/attributes
3. Design the interactions in a sequence diagram
Use a UML tool of your choice to design the class and sequencediagram
Submit the UML screenshots in PDF format for each diagram (total2 diagrams, 10 points each)
You should add UML comment boxes in your diagrams indicatingyour name and any documentation you might want to add including thename of the tool you used). Explain in a comment box the answer tothis question: “How does my design maintain low coupling?” [10pts]
Submit the PDF file(s) of your 2 diagrams. No code is requiredfor this assignment.
Hint: How to maintain low coupling?
consider a scenario where you are asked to run the program butgiven a completely different record structure, e.g. what would youhave to change in your code if you have to sort this file (assumingyou would have to order it by field number 3):
0,2861 Lauzon Rd,Little River Golf Course,-82.928171415500003,42.3060794921999991,455 Kennedy Dr W,Roseland Golf and Curling Club,-83.006129491199999,42.2512404884000012,3215 Forest Glade Dr,Forest Glade Community Centre,-82.915715771300000,42.3031557572999973,5200 Matchette Rd,Ojibway Nature Centre,-83.075720068600006,42.264275746999999
Note that it would be useful to design the code so that it canread any text file (assuming it maintains the same comma-delimitedrecords) and sort it by any specified field. This would requireadditional design characteristics that we like you to think about.HINT: Consider a template or a configuration file that is requiredto accompany the input text file. Now put the overall designtogether justifying this agile ability of this software.
Expert Answer
Answer to Assignment 1 Objective: Test your knowledge of UML UML is the standard used for creating object-oriented diagrams that o… . . .
OR

