Quiz
SDP5
Perguntas do quiz (103)
1What are the names of the models in software’s canonical model structure?
- Aa. Domain, Design, Development
- Bb. Conceptual, Design, Code
- Cc. Conceptual, Architecture, Development
- Dd. Domain, Design, Code
- Ee. None of the above
22. The Refinement relationship enables the architect to:
- Aa. A type that appears in one model also appears in another.
- Bb. Defines the correspondence between two models to show consistency
- Cc. Allows one to carry constraints from one model to another
- Dd. Both a and c
- Ee. Both b and c
33. Abstractions are:
- Aa. Models of design.
- Bb. Different perspectives.
- Cc. Very high-level representations of the system.
- Dd. Both a and b
- Ee. Both a and c
44. Every project should document its architecture
- ATrue
- BFalse
55. Architecture documents are abstractions of the system.
- ATrue
- BFalse
6good set of architectural documents will completely describe the system
- ATrue
- BFalse
77. All design decisions should be made before coding begins
- ATrue
- BFalse
88. Different types of models are required in order to serve the needs of various stakeholders
- ATrue
- BFalse
91. Of the following, which is the best reason to avoid domain analysis?
- Aa. The domain is too simple to bother modeling.
- Bb. Domain modeling is open-ended and is a never-ending analysis task.
- Cc. The domain is irrelevant to your architecture choices.
- Dd. The best way to learn the domain is incrementally.
- Ee. It is someone else’s job to do requirements.
102. UML has many great features but its use describing domain models should be restricted because
- Aa. It takes too long to create the diagrams.
- Bb. Good UML tools are too expensive.
- Cc. It is not a language known by most non-developers.
- Dd. Its use is incompatible with the goals of domain modeling.
- Ee. The diagrams require you to include too much detail.
113. OCL (Object Constraint Language)
- Aa. Can be used to model the structure of a system.
- Bb. Is similar to natural language in its support for modeling systems.
- Cc. Can be used to model the relationships in the domain.
- Dd. Is a language that is understood by most non-technical people.
- Ee. Is good for describing invariants in a model.
124. When modeling the domain we model its
- Aa. Structure
- Bb. Behavior
- Cc. The way people will use the system
- Dd. Both a and b
- Ee. Both a and c
13These are multiple-choice questions. Choose the best answer for each and put it in the blank at the end of the question.
- Aa) Which of the following statements is the most correct?
- Bb) A deployment view shows how the system is installed in the target environment.
- Cc) A deployment view shows how the system interacts with its environment.
- Dd) A deployment view shows where process will run and how they will interact.
- Ee) Both a and b
- Ff) Both a and c
142) Which of the following statements is the most correct
- Aa) Components describe units of code.
- Bb) Connectors are pathways of runtime interaction.
- Cc) A module is associated with exactly one component.
- Dd) Design decisions are clearly identifiable in views
- Ee) Views always describe subsystems.
153) Which of the following is true of a Context Diagram
- Aa) Describes how the software being created interacts with elements in its environment.
- Bb) Can be based on a use case diagram.
- Cc) Might show the Internet.
- Dd) Describes what is in and what is outside the scope of the software project.
- Ee) All of a-d
- Ff) Only a and d
164) Three standard viewtypes for the Design Model are
- Aa) Component and Connector, Designation, and Module
- Bb) Runtime, Documentation, and Miscellaneous
- Cc) Component, Module, Deployment
- Dd) Component, Allocation, Module
- Ee) Runtime, Allocation, Module
175) Which of the following is not true about the Apache server?
- Aa) Built in the pipe and filter style
- Bb) Is designed to allow new code to be inserted easily
- Cc) Was designed with few constraints to support the system’s performance goals
- Dd) A web server
- Ee) Was designed around the goal of modifiability
186) A context diagram should include details related to quality concerns
- ATrue
- BFalse
197) A port is a point of interaction in a component diagram.
- AVerdadeiro
- BFalso
208) A context diagram is similar to a snapshot in that the context is likely to change as the system runs
- AVerdadeiro
- BFalso
219) A master model is the one used by the architect to include information from all three viewtypes.
- AVerdadeiro
- BFalso
2210) A view is a projection of a model that reveals select details
- AVerdadeiro
- BFalso
2311) An internals model can be used to identify boundary models of others.
- AVerdadeiro
- BFalso
241. Which of the following DOES NOT describe risk in software development?
- Aa. Something to worry about.
- Bb. A cause of failure.
- Cc. A chance of failure.
- Dd. A primary driver of architecture.
252. Which of the following clearly describes the scope of a software project?
- Aa. An internals diagram
- Bb. A context diagram
- Cc. A sequence diagram
- Dd. A functionality scenario
263. Three styles of design are _______ .
- Aa. risky, safe, and uncertain
- Bb. planned, evolutionary, and minimal planned
- Cc. spiral, waterfall, and agile
- Dd. risk-based, architectural, and code-based
274. (Fill in the blank) A use case is _________.
- Aa. a decision not to modify the system
- Bb. a process that will run as part of the system
- Cc. an argument that drives system design
- Dd. a goal for actors the system interacts with
- Ee. a diagram that shows what the system does
285. The risk-driven approach is most difficult to apply to the ____________ software development process.
- Aa. Waterfall
- Bb. Interative
- Cc. RUP
- Dd. XP
296. A specific architectural style is chosen for a project because ______ .
- Aa. the architect has the most familiarity with it
- Bb. the developers who will implement the system are most familiar with it
- Cc. it is known to ensure quality attributes of concern
- Dd. it will make the system easier to maintain
- Ee. none of the above
307. _______ are approaches to decomposing a system.
- Aa. Functionality, Archetypes, Jigsaw Puzzle
- Bb. Functionality, Architectural Design, Orthogonal abstraction
- Cc. Dominant Component, Attribute Driven Design, Ports
- Dd. Architectural Style, Ports, Archetypes
- Ee. Both a and d
- Ff. Both c and d
318. The XP software development process DOES / DOES NOT include up-front design.
- ADOES
- BDOES NOT
32It prioritizes work according to RISKIEST FIRST / HIGHEST CUSTOMER VALUE FIRST.
- AHIGHEST CUSTOMER VALUE FIRST.
- BRISKIEST FIRST
33And, its iteration length is typically TWO-FOUR WEEKS / LEFT OPEN . .
- ATWO-FOUR WEEKS
- BLEFT OPEN . .
34Network and Job Domain Model, Yinzer Top-level Boundary Model
- Ad. Non of a, b, or c
- Ba. Designation
- Cc. View
- Db. Refinement
35Network and Job Domain Model, Yinzer Design Model
- Ad. Non of a, b, or c
- Ba. Designation
- Cc. View
- Db. Refinement
36Yinzer Top-Level Boundary Model, Yinzer Design Model
- Ad. Non of a, b, or c
- Ba. Designation
- Cc. View
- Db. Refinement
37Yinzer Top-Level Boundary Model, Yinzer Top-Level Internals Model
- Ad. Non of a, b, or c
- Ba. Designation
- Cc. View
- Db. Refinement
38To ensure all the code is described
- AVerdadeiro
- BFalso
39To make sure quality concerns have been addressed
- AVerdadeiro
- BFalso
40There are sufficient perceived risks
- AVerdadeiro
- BFalso
41Otherwise no one would know what to do
- AVerdadeiro
- BFalso
42Because it provides a company with information to guarantee delivery of a project
- AVerdadeiro
- BFalso
43Because doing so is a best practice for projects
- AVerdadeiro
- BFalso
44Architecture documents should always be comprehensive.
- AVerdadeiro
- BFalso
45Design should always precede coding.
- AVerdadeiro
- BFalso
46Not all projects need to document their architecture
- AVerdadeiro
- BFalso
4712) Which of the following statements is the most correct?
- Aa) A sequence diagram is used to model a sequence of activities associated with a use case.
- Bb) A sequence diagram is used to model a sequence of messages exchanged among objects.
- Cc) A sequence diagram is used to model a sequence of transitions among objects in a use case.
- Dd) Both a and b.
- Ee) Both a and c.
4813) Which of the following statements is the most correct?
- Aa) United Models for Languages
- Bc) Unified Modeling Language
4914) Which of the following is best describes UML?
- Aa) UML is a combination of notations.
- Bb) UML supports modeling multiple views of software.
- Cc) UML has evolved over time.
- Dd) UML was created by the OMG
- Ee) All of a-d
- Ff) Only a and d
5015) Three notations of UML are
- Aa) Activity diagrams, Component diagrams, Construction diagrams
- Bb) Component diagrams, Action diagrams, Sequence diagrams
- Cc) Class diagrams, ER diagrams, Action diagrams
- Dd) Canonical diagrams, Activity diagrams, Sequence diagrams
- Ee) Class diagrams, Sequence diagrams, Use Case diagrams
5116) Which of the following is not a UML diagram?
- A

- Bsdsds
- A
5217) Which of the following statements is the most correct?
- Aa) A component diagram shows a configuration of the system at a given moment.
- Bb) A component diagram shows all potential interactions among components in a view.
- Cc) A component diagram can show instances of classes.
- Dd) Both a and b.
- Ee) Both b and c.
5318) Which of the following statements is the most correct?
- Aa) Ports are represented using dots on a component border.
- Be) Socket symbol is used to represent provides interfaces.
- Cc) Assembly connectors show the relationship between ports on the component’s boundary and its internals.
5419) Which of the following is/are not well supported by the component diagram notation? ___________.
- Aa) Component Internals
- Bb) Potential interactions with external components
- Cc) Complex components
- Dd) Complex connectors
5520) The primary difference between component diagrams and sequence diagrams is
- Aa) Component diagrams show all potential interactions among a group of components whereas sequence diagram shows the interactions involved in response to a particular kind of request.
- Bb) There is very little difference, they are just two different ways of viewing component interactions.
- Cc) In component diagram the components use a rectangular shape with the component icon in the upper right corner but no component icon appears in sequence diagrams.
5621) UML provides special notation for a subsystem element because
- Aa) Subsystem elements have critical differences from components, which must be represented.
- Bb) Subsystem elements and component elements are not substantially different so there is no need for them.
- Cc) Component elements have important aspects that are not representable using the provided subsystem element notation.
5722) Component details in UML can be shown as text within a compartment of a component.
- AVerdadeiro
- BFalso
5823) Which of the following statements is the most correct? ____________ .
- Aa) A class diagram shows a configuration of the system at a given moment.
- Bb) A class diagram shows all potential interactions among components in a view.
- Cc) A class diagram can show relationships between java interfaces and other classes.
5924) Which of the following statements is the most correct? _________.
- Aa) A class diagram for a module always has three components.
- Bb) A class diagram shows relationships among code units.
- Cc) A class diagram supports analyzing behavior of complex protocols.
6025) Which of the following is(are) NOT well supported by the class diagram notation? ___________.
- Aa) Identifying public and private members of a class.
- Bb) Identifying which classes depend on other classes.
- Cd) Discussing how to add newly required functionality to the system.
- Dc) Discussing how the system will behave.
6126) Which of the following is/are NOT a benefit of including class diagrams in project documentation? _______
- Aa) Help programmers understand the context of the code they are creating.
- Bb) Help the project sponsors understand how the system will work.
- Cc) Help the project manager identify responsible people for each of the coding tasks.
62Class diagrams can be generated directly from code.
- AVerdadeiro
- BFalso
63The process of creating class diagrams is a valuable activity during design
- AVerdadeiro
- BFalso
64All class diagrams created during design of a system should be maintained as part of the project
- AVerdadeiro
- BFalso
6530) A design pattern ______ .
- Aa) Contains a description of other related patterns.
- Bb) Can be useful describing how a software problem was solved by a developer.
- Cc) Is a general reusable solution to a commonly occurring problem within a given context in software design.
- Dd) Gives examples of code that used the pattern.
- Ee) Both a and c.
- Ff) All of a-d.
6631) The Dependency Inversion Principle ______.
- Aa) Helps ensure that objects are highly reusable.
- Bb) Requires that methods that are present in base classes must also be present in the derived classes.
- Cc) Helps ensure that objects are easy to extend without requiring change to the original object.
- Dd) Requires that object interfaces only include methods that will be needed by most implementers.
- Ee) Helps make changing an object easier.
6732) The Open-Close Principle _________.
- Aa) Helps ensure that objects are highly reusable.
- Bb) Requires that methods that are present in base classes must also be present in the derived classes.
- Cc) Helps ensure that objects are easy to extend without requiring change to the original object.
- Dd) Requires that object interfaces only include methods that will be needed by most implementers.
- Ee) Helps make changing an object easier.
6833) Liskov’s Substitution Principle _________.
- Aa) Helps ensure that objects are highly reusable.
- Bb) Requires that methods that are present in base classes must also be present in the derived classes.
- Cc) Helps ensure that objects are easy to extend without requiring change to the original object.
- Dd) Requires that object interfaces only include methods that will be needed by most implementers.
- Ee) Helps make changing an object easier.
6934) The Single Responsibility Principle ________.
- Aa) Helps ensure that objects are highly reusable.
- Bb) Requires that methods that are present in base classes must also be present in the derived classes.
- Cc) Helps ensure that objects are easy to extend without requiring change to the original object.
- Dd) Requires that object interfaces only include methods that will be needed by most implementers.
- Ee) Helps make changing an object easier.
7035) The Interface Segregation Principle _________.
- Aa) Helps ensure that objects are highly reusable.
- Bb) Requires that methods that are present in base classes must also be present in the derived classes.
- Cc) Helps ensure that objects are easy to extend without requiring change to the original object.
- Dd) Requires that object interfaces only include methods that will be needed by most implementers.
- Ee) Helps make changing an object easier.
71Fill in the blank) Three basic categorizations of software design patterns are Creational, Structural, and
- ABehavioral
- Bbehavior
7237) Which of the following is NOT an advantage of using architectural styles during design? __________
- Aa) They support design reuse.
- Bb) They provide a vocabulary for communication.
- Cc) They provide a set of guard rails to guide you.
- Dd) They define a set of names to use in your design.
- Ee) They help ensure you will meet your quality goals.
7338) The Mirrored, Farm, and Rack style of design is a style in the _______ view.
- Aa) Runtime
- Bb) Module
- Cc) Allocation
- Dd) None of a-c
7439) The layered style of software design is a style in the ________ view.
- Aa) Runtime
- Bb) Module
- Cc) Allocation
7540) The Model-Centered style of software design is a style in the ________ view.
- Aa) Runtime
- Bb) Module
- Cc) Allocation
7642) Which of the following is a legal exception to pure layered style?
- Aa) The use of sidecars.
- Bb) The use of callbacks.
- Cc) The use of one module in a layer by another.
- Dd) The use of a module by one that is two layers above.
7743) In the Pipe and Filter style, which of the following is not allowed? _______
- Aa) A Filter can alternate providing data between two filters.
- Bb) Two pipes can be potential suppliers for a filter.
- Cc) A pipe can feed data into another pipe.
- Dd) A filter can be designed to be used in another application.
7844) Using consistent level of detail across a model helps _______ .
- Aa) Cut expenses when building the system.
- Bb) Make the view more comprehensible.
- Cc) Increase consistency among views.
7945) Which of the following help increase the quality of your view? _______
- Aa) Use functionality scenarios to tie views together.
- Bb) Animate your functional scenarios
- Cc) Write action specifications
- Dd) Both a and c
- Eg) All of a-c
8046) Which of the following is NOT on the list of ways Fairbanks suggests you write good functional scenarios? _____
- Aa) Actor
- Bb) Action
- Cc) Reference
- Dd) Target Model
- Ee) Overall
- Ff) Pattern
8147) Which of the following is NOT one of the traits of good models? _______
- Aa) Allows one to predictive potential issues
- Bb) Be small
- Cc) Be realistic
- Dd) Refers only to elements that are in the model
- Ee) Be inexpensive
8248) How should a designer decide which views to create? _______
- Aa) Build one for each function.
- Bb) Build one for each actor.
- Cc) Build one for each of the major concerns.
- Dd) Build one for each use case.
- Ee) Build one for each of the view types.
8349) What are two ways Fairbanks says you can improve the quality of diagrams?
- Aa) Include a legend
b) Avoid arrowheads - Ba) Build one for each function.
b) Build one for each actor.
- Aa) Include a legend
8450) An anti-pattern is _______ .
- Aa) A known way to reverse the impact of using a design pattern.
- Bb) A pattern for improving bad code.
- Cc) A way to avoid known bad coding practice.
- Dd) A way to refactor code
- Ee) None of the above.
8551) Which of the following is NOT a desirable trait of a software model? ______
- Aa) Consistent use of arrows
- Bb) Models reality
- Cc) Sufficiently precise
- Dd) Inexpensive
- Ee) Accurate
8652) Which of the following statements is NOT true for creating and using models? ________
- Aa) A model is falsifiable if one is able to determine the truth or falseness of some property about the model.
- Bb) A legend is not required when the diagram is created using a known notation.
- Cc) Most people will be able to read a model but far fewer will be able to identify the correct type of model to create and to create it correctly.
- Dd) A model is more useful if it focuses the user’s attention.
- Ee) Both a and d
- Ff) Both b and c
- Gg) Both c and d
8753) Modeling a system using multiple views requires that all views be ________ .
- Aa) Kept neatly stored so they can be located.
- Bb) Chosen carefully to reflect the concerns of users.
- Cc) Kept internally consistent.
- Dd) Created from different view types.
- Ee) Both a and b
- Ff) Both b and c
8854) Which of the following is NOT true of a dependency matrix? ___________
- Aa) Can be used to check dependencies among modules.
- Bb) Can easily be converted to a graphical representation.
- Cc) Is more difficult to use the larger a model grows.
- Dd) Can be built automatically from code by some tools.
- Ee) Can be used to help maintain a system.
8955) Architecture checklists _______.
- Aa) Provide architecture experts an opportunity to identify risks.
- Bb) Should be checked every day.
- Cc) Contain a list of activities that must be completed before the architecture is considered complete.
- Dd) Must be included as part of the final documentation.
- Ee) Can be used to ensure that known risks have been considered.
9056) Formal analysis techniques _________.
- Aa) Are widely available in automated tools.
- Bb) Can be applied to UML models.
- Cc) Require the model be expressed in the language of the tool.
- Dd) Can be used to identify all potential security vulnerabilities in the code.
- Ee) Only a and c
- Ff) Only b and d
- Gg) Only c and d
912. Which of the following is the best choice for creating code views? _______
- Aa. Sequence diagram
- Bb. Component diagram
- Cc. Activity diagram
- Dd. Class diagram
- Ee. Both b and c
- Ff. None of the above
923. Which of the following are the best question(s) the risk-driven model helps developers answer? ______
- Aa. What is most important to the customer?
- Bb. When are we done with the project?
- Cc. How much software architecture should we do?
- Dd. What programming language should we use?
- Ee. Which techniques should we use in developing our project?
- Fh. Both c and e
- Gg. Both b and c
934. Which of the following is not a software engineering risk? ______
- Aa. The server may not scale to 1000 users.
- Bb. The code for the sort algorithm is overly complex.
- Cc. We do not adequately understand our customer’s needs.
- Dd. The system is working fine, but if we try to change anything it seems to always break something else.
- Ee. None of the above.
945. Which of the following software development process models does not include up-front design?
- Aa. Waterfall
- Bb. Iterative
- Cc. Spiral
- Dd. RUP
- Ee. Both a and b
- Ff. Both c and d
956. In component diagrams, ports ARE / ARE NOT optional.
- AARE
- BARE NOT
967. In component diagrams, the lollipop symbol is used to represent a PROVIDES / REQUIRES interface.
- APROVIDES
- BREQUIRES
978. In sequence diagrams, lifelines represent the activity of CLASSES / OBJECTS.
- ACLASSES
- BOBJECTS
98Sequence Diagram
- Aused to represent runtime model
- Bused to model domain model
- Cused to represent code model
99Use Case Diagram
- Aused to model domain model
- Bused to represent runtime model
- Cused to represent code model
10011. We need comprehensive documentation for the software architect
- AVerdadeiro
- BFalso
10112. Software design patterns provide a ready resource for solving software development problems.
- AVerdadeiro
- BFalso
10213. Software design patterns are created for unusual problems in development
- AVerdadeiro
- BFalso
10314. All models in software design should be captured using UML diagrams.
- AVerdadeiro
- BFalso
Informações
- Descrição
- SDP5
- Autor
- Абу Назар
- Idioma
- English
- Visualizações
- 1.059
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz