Loading, please wait ...

Short Questions for Use Case Realization

  • 1 What is the principle of least surprise?

    Answer
    If a method is not going to modify anything and a command is not going to return anything, then there is another simple called the Principle of least surprise. This often turns out to be nice to rely on this. Otherwise the alternative can be a nasty surprise violating the Principle of Least Surprise in software development.


  • 2 What is Command-Query Separation Principle (CQS)?

    Answer
    It is a classic object oriented design principle for methods that states: a command method that performs an action (updating, coordinating, …), often has side effects such as changing the state of objects, and is void (no return value); or a query that returns data to the caller and has no side effectsit should not permanently change the state of any objects Butand this is the key pointa method should not be both.


  • 3 When to apply the high cohesion and low coupling principles during object design modeling?

    Answer
    When there are alternative design choices, take a closer look at the cohesion and coupling implications of the alternatives, and possibly at the future evolution pressures on the alternatives. Choose an alternative with good cohesion, coupling, and stability in the presence of likely future changes.


  • 4 What you suggest for initiating code and object oriented design modeling?

    Answer
    When coding, program at least some Start Up initialization first. But during OO design modeling, consider the Start Up initialization design last, after you have discovered what really needs to be created and initialized. Then, design the initialization to support the needs of other use case realizations.


  • 5 From which point your will start the messages entering the Controllers for domain layer in interaction diagrams?

    Answer
    The use case suggests the system operations which noted in operation contracts written against each system event in the System Sequence Diagrams.  

    The system operations become the starting messages entering the controllers for domain layer interaction diagrams.


  • 6 What is a Use Case Realization?

    Answer
    A use-case realization describes how a particular use case is realized within the Design Model, in terms of collaborating objects" [RUP]. 

     A designer can describe the design of one or more scenarios of a use case; each of these is called a use case realization. Use case realization is a unified process term used for the connection between the requirements expressed as use cases and the object design that satisfies the requirements.


Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn, Evaluate and Optimize

Follow Us
Facebook Switch Display Mode Enable Translation
© 2024 - Subject Expert