Architecture And Design

102 Questions | Total Attempts: 1452

SettingsSettingsSettings
Architecture And Design - Quiz

SDP 05


Questions and Answers
  • 1. 
    What are the names of the models in software’s canonical model structure?
    • A. 

      A. Domain, Design, Development

    • B. 

      B. Conceptual, Design, Code

    • C. 

      C. Conceptual, Architecture, Development

    • D. 

      D. Domain, Design, Code

    • E. 

      None of the above

  • 2. 
    The Refinement relationship enables the architect to:
    • A. 

      A. A type that appears in one model also appears in another.

    • B. 

      B. Defines the correspondence between two models to show consistency

    • C. 

      C. Allows one to carry constraints from one model to another

    • D. 

      D. Both a and c

    • E. 

      E. Both b and c

  • 3. 
    Abstractions are:
    • A. 

      A. Models of design.

    • B. 

      B. Different perspectives.

    • C. 

      C. Very high-level representations of the system.

    • D. 

      D. Both a and b

    • E. 

      E. Both a and c

  • 4. 
    Every project should document its architecture.
    • A. 

      True

    • B. 

      False

  • 5. 
    Architecture documents are abstractions of the system. 
    • A. 

      True

    • B. 

      False

  • 6. 
    A good set of architectural documents will completely describe the system
    • A. 

      True

    • B. 

      False

  • 7. 
    All design decisions should be made before coding begins 
    • A. 

      True

    • B. 

      False

  • 8. 
    Different types of models are required in order to serve the needs of various stakeholders.
    • A. 

      True

    • B. 

      False

  • 9. 
    Of the following, which is the best reason to avoid domain analysis?
    • A. 

      A. The domain is too simple to bother modeling.

    • B. 

      B. Domain modeling is open-ended and is a never-ending analysis task.

    • C. 

      C. The domain is irrelevant to your architecture choices.

    • D. 

      D. The best way to learn the domain is incrementally.

    • E. 

      E. It is someone else’s job to do requirements.

  • 10. 
    UML has many great features but its use describing domain models should be restricted because
    • A. 

      A. It takes too long to create the diagrams.

    • B. 

      B. Good UML tools are too expensive.

    • C. 

      C. It is not a language known by most non-developers.

    • D. 

      D. Its use is incompatible with the goals of domain modeling.

    • E. 

      E. The diagrams require you to include too much detail.

  • 11. 
    OCL (Object Constraint Language)
    • A. 

      A. Can be used to model the structure of a system.

    • B. 

      B. Is similar to natural language in its support for modeling systems.

    • C. 

      C. Can be used to model the relationships in the domain.

    • D. 

      D. Is a language that is understood by most non-technical people.

    • E. 

      E. Is good for describing invariants in a model.

  • 12. 
    When modeling the domain we model its
    • A. 

      A. Structure

    • B. 

      B. Behavior

    • C. 

      C. The way people will use the system

    • D. 

      D. Both a and b

    • E. 

      E. Both a and c

  • 13. 
    Which of the following states that there are 2 persons associated with a contact and there can be any number of contacts?
    • A. 

      1....2

    • B. 

      * 1...2

    • C. 

      2 *

    • D. 

      * 2

  • 14. 
    Which of the following statements is the most correct?
    • A. 

      A) A deployment view shows how the system is installed in the target environment.

    • B. 

      B) A deployment view shows how the system interacts with its environment.

    • C. 

      C) A deployment view shows where process will run and how they will interact.

    • D. 

      D) Both a and b

    • E. 

      E) Both a and c

  • 15. 
    Which of the following statements is the most correct?
    • A. 

      A) Components describe units of code.

    • B. 

      B) Connectors are pathways of runtime interaction.

    • C. 

      C) A module is associated with exactly one component.

    • D. 

      D) Design decisions are clearly identifiable in views

    • E. 

      E) Views always describe subsystems.

  • 16. 
    Which of the following is true of a Context Diagram?
    • A. 

      A) Describes how the software being created interacts with elements in its environment.

    • B. 

      B) Can be based on a use case diagram.

    • C. 

      C) Might show the Internet.

    • D. 

      D) Describes what is in and what is outside the scope of the software project.

    • E. 

      All of a-d

  • 17. 
    Three standard viewtypes for the Design Model are
    • A. 

      A) Component and Connector, Designation, and Module

    • B. 

      B) Runtime, Documentation, and Miscellaneous

    • C. 

      C) Component, Module, Deployment

    • D. 

      D) Component, Allocation, Module

    • E. 

      E) Runtime, Allocation, Module

  • 18. 
    Which of the following is not true about the Apache server?
    • A. 

      A) Built in the pipe and filter style

    • B. 

      B) Is designed to allow new code to be inserted easily

    • C. 

      C) Was designed with few constraints to support the system’s performance goals

    • D. 

      D) A web server

    • E. 

      E) Was designed around the goal of modifiability

  • 19. 
    A context diagram should include details related to quality concerns. 
    • A. 

      True

    • B. 

      False

  • 20. 
    A port is a point of interaction in a component diagram
    • A. 

      True

    • B. 

      False

  • 21. 
    A context diagram is similar to a snapshot in that the context is likely to change as the system runs
    • A. 

      True

    • B. 

      False

  • 22. 
    A master model is the one used by the architect to include information from all three viewtypes
    • A. 

      True

    • B. 

      False

  • 23. 
    A view is a projection of a model that reveals select details
    • A. 

      True

    • B. 

      False

  • 24. 
    An internals model can be used to identify boundary models of others
    • A. 

      True

    • B. 

      False

  • 25. 
    Which of the following DOES NOT describe risk in software development?
    • A. 

      A. Something to worry about.

    • B. 

      B. A cause of failure.

    • C. 

      C. A chance of failure.

    • D. 

      D. A primary driver of architecture.

Back to Top Back to top