Question

In: Computer Science

“A complete and consistent class diagram is all that is required to implement and to understand...

“A complete and consistent class diagram is all that is required to implement and to understand an application”. Discuss the correctness or otherwise of this statement. In your answer, among other things, consider how class diagrams evolve and who has a stake in the understanding and implementation of an application.

Solutions

Expert Solution

The statement "A complete and consistent class diagram is all that is required to implement and to understand an application" is partially agree with it correctness. Because by only class diagram we can't understand the entire application. All uml diagrams like usecase diagram, sequence diagram, activity diagram etc. are required to understand how the application works and users activities in it. Class diagram shows the structure of an application only.

  • A complete and consistent class diagram helps in implementing and understanding the application.
  • The purpose of creating the Class diagram is visualize and design the structure of an application.
  • This class diagram shows the static view of application.
  • Application contain different modules and in modules are created to use by different users.
  • So the class diagram classifies the modules into form of classes and defines its attributes, methods, variables used in it.
  • It also defines relationships between the classes.
  • For example,online shopping application consider two modules are customers, seller . Class diagram defines attributes, methods for each module which is considered as class seperately. It shows the relationship between seller and customer.
  • Class diagram evolve to define or design code modules, and it's objects.
  • It is a blueprint of an application.
  • The application developer has a stake in understanding and implementing the application by creating class diagrams.
  • The developer should consider class diagram in how to develop an application.

Therefore, the given statement is partially correct but not complete because only by class diagram developer can't understand the application.


Related Solutions

“A complete and consistent class diagram is all that is required to implement and to understand...
“A complete and consistent class diagram is all that is required to implement and to understand an application”. Discuss the correctness or otherwise of this statement. In your answer, among other things, consider how class diagrams evolve and who has a stake in the understanding and implementation of an application.
“A complete and consistent class diagram is all that is required to implement and to understand...
“A complete and consistent class diagram is all that is required to implement and to understand an application”. Discuss the correctness or otherwise of this statement. In your answer, among other things, consider how class diagrams evolve and who has a stake in the understanding and implementation of an application.
Complete the following class UML design class diagram by filling in all the sections based on...
Complete the following class UML design class diagram by filling in all the sections based on the information given below.         The class name is Boat, and it is a concrete entity class. All three attributes are private strings with initial null values. The attribute boat identifier has the property of “key.” The other attributes are the manufacturer of the boat and the model of the boat. Provide at least two methods for this class. Class Name: Attribute Names: Method...
Given the following UML class diagram, implement the class as described by the model. Use your...
Given the following UML class diagram, implement the class as described by the model. Use your best judgment when implementing the code inside of each method. +---------------------------------------------------+ | Polygon | +---------------------------------------------------+ | - side_count : int = 3 | | - side_length : double = 1.0 | +---------------------------------------------------+ | + Polygon() | | + Polygon(side_count : int) | | + Polygon(side_count : int, side_length : double) | | + getSides() : int | | + setSides(side_count : int) | |...
A couple of questions that I want to understand better. How to draw a class diagram?...
A couple of questions that I want to understand better. How to draw a class diagram? What a clean object hierarchy diagram looks like? How to instantiate objects? What {cohesive, decoupled, information hiding, inheritance, and polymorphic} mean and why we strive to achieve them? When to implement a list with an array and when to implement it with a linked list When to use a list, stack, or queue?
create the UML Diagram to model a Movie/TV viewing site. Draw a complete UML class diagram...
create the UML Diagram to model a Movie/TV viewing site. Draw a complete UML class diagram which shows: Classes (Only the ones listed in bold below) Attributes in classes (remember to indicate privacy level, and type) No need to write methods Relationships between classes (has is, is a, ...) Use a program like Lucid Cart and then upload your diagram. Each movie has: name, description, length, list of actors, list of prequals and sequals Each TV Show has: name, description,...
In C++ and pls comment every line so I UNDERSTAND Implement a class named DynamicArray that...
In C++ and pls comment every line so I UNDERSTAND Implement a class named DynamicArray that has the following members: A pointer to hold a dynamically allocated array, of type int. A member variable to hold the size of the array. A default constructor, which will allocate an array of size 10 A parameterized constructor, which takes a size and use the size to allocate array. A copy constructor, which performs deep copy. A copy assignment operator, which performs deep...
Utilizing the JKFF, draw all required connections and proper required feedback to demonstrate the diagram for...
Utilizing the JKFF, draw all required connections and proper required feedback to demonstrate the diagram for MOD 25 counter.
in JAVA: implement a class called tree (from scratch) please be simple so i can understand...
in JAVA: implement a class called tree (from scratch) please be simple so i can understand thanks! tree(root) node(value, leftchild,rightchild) method: insert(value)
For this assignment, create a complete UML class diagram of this program. You can use Lucidchart...
For this assignment, create a complete UML class diagram of this program. You can use Lucidchart or another diagramming tool. If you can’t find a diagramming tool, you can hand draw the diagram but make sure it is legible. Points to remember: • Include all classes on your diagram. There are nine of them. • Include all the properties and methods on your diagram. • Include the access modifiers on the diagram. + for public, - for private, ~ for...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT