Cs665 The Properties Of The Assessment Answers
• How is the flexibility, of your implementation, e.g., how you add or remove in future new types
• How is the simplicity and understandability of your implementation
• How you avoided duplicated code
In case that you have used any design patterns, describe which design pattern you have applied and why.
Write your description in a README.md file, use MarkDown format https://spec.commonmark.org/current/ and add the README.md file to the root folder of your project.We recommend to write this description after you finished the other tasks in this assignment.
2.2 Task 2 - UML Class Diagram.
Create a class model for your application, containing 5-8 of the most important classes. It should encompass the functionality of the use case application described above. Show only non-obvious and key methods.
2.3 Task 3 - UML Sequence Diagram.
Create a sequence diagram for your application. Show the interactions between components of your system.
2.4 Task 4 -Implement your solution in Java or C++
• You should use the provided project templates to implement your project.
• Provide a zip file that includes your implementation package.The zip file should include a README.md file that describes how to compile and run your implementation. Create a Zip file from the root of your working directory so that it includes all subdirectories of your project. Remove the binary files before creating the zip files.
• Your zip file should not be larger that 10MB, include only source files of your project but not the binaries that you generated.
• Document your code very well. The best way to write documentation inside your code is to write the code while you are implementing the project and not postpone it to later time.
Answer:
My implementation has achieved a high degree of simplicity and understandability as a result of using objects to represent different objects specified in the requirements. Each object has its own methods and attributes. The objects interact with each other to form the complete program which is easy to understand because it is modular based thus it’s easy to understand. The solution to be implemented will be flexible because each object has its own methods and attributes.
To avoid duplicate code, concept of inheritance was adopted by use of a superclass and a subclass. By using inheritance the sub class is able to inherit the properties of the superclass. The properties include all the attributes and methods making up the superclass. For example a basic implementation to be adopted is for product class and Food class. The product class will have a name and price and the mutator and accessor methods for each of the attributes. Because food has a name and price too but also has another attribute of type for warm or frozen foods.
Thus inheritance is implemented where by Food inherits all the properties of the Product class thus the food class can use all the properties of the super class. This helped eliminate code duplication. The type of inheritance implemented in the solution is single inheritance which involves one superclass and one subclass. The concept of superclass and subclass for the implementation significantly minimizes the amount of duplicate code. It also provides more flexibility in changing the code.
Task 2.2 UML class diagram
The Class diagram is used to show the static structure of a system. It models a system by showing the classes, the attributes making up the classes, the operations in the classes and any relationships existing between the relations. UML class diagrams are very useful in objected oriented programming as they can be used to show the general conceptual model of the expected application.
Task 2.3 Sequence diagrams
Sequence diagrams are used to show the behavioral nature of the system by showing the interaction between the user and the system through use of parallel lines from one one side to the other. THe lines are used to indicate the interactions that happen while also showing the systematic flows of the interactions and actions that are performed by each object or user.
The following diagram shows the sequence diagram for the proposed system.
Buy Cs665 The Properties Of The Assessment Answers Online
Talk to our expert to get the help with Cs665 The Properties Of The Assessment Answers to complete your assessment on time and boost your grades now
The main aim/motive of the management assignment help services is to get connect with a greater number of students, and effectively help, and support them in getting completing their assignments the students also get find this a wonderful opportunity where they could effectively learn more about their topics, as the experts also have the best team members with them in which all the members effectively support each other to get complete their diploma assignments. They complete the assessments of the students in an appropriate manner and deliver them back to the students before the due date of the assignment so that the students could timely submit this, and can score higher marks. The experts of the assignment help services at urgenthomework.com are so much skilled, capable, talented, and experienced in their field of programming homework help writing assignments, so, for this, they can effectively write the best economics assignment help services.