?Explain a class diagram. Also, explain how a class diagram is like a data flow diagram (DFD).

What will be an ideal response?


A class diagram shows the object classes and relationships involved in a use case. Like a DFD, a class diagram is a logical model, which evolves into a physical model and finally becomes a functioning information system. In structured analysis, entities, data stores, and processes are transformed into data structures and program code. Similarly, class diagrams evolve into code modules, data objects, and other system components.?In a class diagram, each class appears as a rectangle, with the class name at the top, followed by the class's attributes and methods. Lines show relationships between classes and have labels identifying the action that relates the two classes. To create a class diagram, you review the use case and identify the classes that participate in the underlying business process.?The class diagram also includes a conceptcalled cardinality, which describes how instances of one class relate to instances of another class. For example, an employee might have earned no vacation days or one vacation day or many vacation days. Similarly, an employee might have no spouse or one spouse.?

Computer Science & Information Technology

You might also like to view...

GUI programs are __________ because they respond to the actions of the user.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. Non-template functions have a slight advantage in speed over template functions. 2. Iterators are objects that are similar to pointers. 3. When an item stored in a linked list is removed, all list items stored after it have to be moved down to plug up the hole. 4. Inserting an item into a linked list requires that all the items past the point of the insertion be shifted to make room for the new item. 5. In a non-empty list, there must be exactly one list item with no successor.

Computer Science & Information Technology

In a PreparedStatement, parameters are counted from position ________.

a. 0 b. 1 c. 2 d. 3

Computer Science & Information Technology

Map the object-oriented database design for the EasyDrive School of Motoring case study produced in Exercise 27.27 to the ODMG ODL.

What will be an ideal response?

Computer Science & Information Technology