DOC

model examination (uml answers)

By Bonnie Green,2014-10-16 18:34
10 views 0
model examination (uml answers)

    1. Draw the notation of class and mention the name of the compartments. A class is comprised of three sections

     The first section contains the class name

     The second section shows the structure (attributes)

     The third section shows the behavior (operations)

    2. Write about modeling different views of a system?

    Normally there are 5 views.

     Use Case view - This view exposes the requirements of a system.

     Design View - Capturing the vocabulary.

     Process View - modeling the distribution of the systems processes and threads.

     Implementation view - addressing the physical implementation of the system.

     Deployment view - focus on the modeling the components required for

    deploying the system.

    3. List and draw the basic elements of state diagram.

    ; State

    ; Transitions

    ; Initial and Final States

4. What are Dynamic Diagrams?

    Dynamic Diagrams (Also called Behavioral Diagrams):

     Use Case Diagram,

     Sequence Diagram,

     Collaboration Diagram,

     Activity diagram,

     State chart diagram.

    5. What are the major three types of modeling used?

    Major three types of modeling are

    1) Structural,

    2) Behavioral,

    3) And architectural

    6. What are Static Diagrams?

    Static Diagrams (Also called Structural Diagram):

     Class diagram,

     Object diagram,

     Component Diagram,

     Deployment diagram.

    7. What are building blocks of UML

    ; Things - important modeling concepts

    ; Relationships - tying individual things

    ; Diagrams - grouping interrelated collections of things and relationships

8. What are things, relationships and Diagrams in UML

    Things

    a. Structural nouns/static of UML models (irrespective of time).

    b. Behavioral verbs/dynamic parts of UML models.

    c. Grouping organizational parts of UML models.

    d. Annotational explanatory parts of UML models

    Relationships

    Association

    Composition

    Dependency

    Aggregation

    Generalization

    Diagrams

    Modeling diagrams that are commonly used are,

     Use case diagram,

     Class Diagram,

     Object Diagram,

     Sequence Diagram,

     state chart Diagram,

     Collaboration Diagram,

     Activity Diagram,

     Component diagram,

     Deployment Diagram.

    9. What are actor and a use case?

    Actors

     An actor is a user of the system playing a particular role.

     Actor is shown with a stick figure.

    Use Cases

     Use case is a particular activity a user can do on the system.

     Is represented by an ellipse.

    10. What are elements in a state diagram? See Answer 3

11. What are the advantages of Modeling?

     Model helps to visualize the system.

     Model helps to specify the structural and behavior of the system.

     Model helps make templates for constructing the system.

     Model helps document the system

    12. Define UML. Mention the primary goals in the design of the UML.

    The Unified Modeling Language (UML) is a standard language for writing

    software blueprints.

    The UML may be used to visualize, specify, construct, and document the artifacts

    of a software system.

    13. What are the different views that are considered when building an object-

    oriented software system? See answer 2

14. How are the diagrams divided?

    The 13 diagrams are divided into

     Static diagrams and

     Dynamic diagrams

1) Try to make a class model for a banking system?

2) Create a use case diagram that shows a customer making a withdrawal

    and a deposit with an ATM.

3) IMAX movie Company

    search movie

    Customer

    purchase ticketCredit Card

    Centre

Report this document

For any questions or suggestions please email
cust-service@docsford.com