Pregunta 1
Pregunta
What are the names of the models in software’s canonical model structure?
Respuesta
-
Domain, Design, Development
-
Conceptual, Design, Code
-
Conceptual, Architecture, Development
-
Domain, Design, Code
-
None of the above
Pregunta 2
Pregunta
The Refinement relationship enables the architect to:
Respuesta
-
A type that appears in one model also appears in another.
-
Defines the correspondence between two models to show consistency
-
Allows one to carry constraints from one model to another
-
Both a and c
-
Both b and c
Pregunta 3
Pregunta
Abstractions are:
Pregunta 4
Pregunta
4. Every project should document its architecture
Pregunta 5
Pregunta
5. Architecture documents are abstractions of the system.
Pregunta 6
Pregunta
6. A good set of architectural documents will completely describe the system
Pregunta 7
Pregunta
7. All design decisions should be made before coding begins
Pregunta 8
Pregunta
8. Different types of models are required in order to serve the needs of various stakeholders.
Pregunta 9
Pregunta
1. Of the following, which is the best reason to avoid domain analysis?
Respuesta
-
The domain is too simple to bother modeling.
-
Domain modeling is open-ended and is a never-ending analysis task.
-
The domain is irrelevant to your architecture choices.
-
The best way to learn the domain is incrementally.
-
It is someone else’s job to do requirements.
Pregunta 10
Pregunta
2. UML has many great features but its use describing domain models should be restricted because
Respuesta
-
It takes too long to create the diagrams.
-
Good UML tools are too expensive.
-
It is not a language known by most non-developers.
-
Its use is incompatible with the goals of domain modeling.
-
The diagrams require you to include too much detail.
Pregunta 11
Pregunta
3. OCL (Object Constraint Language)
Respuesta
-
Can be used to model the structure of a system.
-
Is similar to natural language in its support for modeling systems.
-
Can be used to model the relationships in the domain.
-
Is a language that is understood by most non-technical people.
-
Is good for describing invariants in a model.
Pregunta 12
Pregunta
4. When modeling the domain we model its
Pregunta 13
Pregunta
5. Which of the following states that there are 2 persons associated with a contact and there can be any number of contacts?
Pregunta 14
Pregunta
Which of the following statements is the most correct?
Respuesta
-
A)A deployment view shows how the system is installed in the target environment.
-
B)A deployment view shows how the system interacts with its environment.
-
C)A deployment view shows where process will run and how they will interact.
-
Both a and b
-
Both a and c
Pregunta 15
Pregunta
Which of the following statements is the most correct?
Respuesta
-
Components describe units of code.
-
Connectors are pathways of runtime interaction.
-
A module is associated with exactly one component.
-
Design decisions are clearly identifiable in views
-
Views always describe subsystems.
Pregunta 16
Pregunta
Which of the following is true of a Context Diagram?
Respuesta
-
Describes how the software being created interacts with elements in its environment.
-
Can be based on a use case diagram.
-
Might show the Internet.
-
Describes what is in and what is outside the scope of the software project.
-
All of a-d
-
Only a and d
Pregunta 17
Pregunta
Three standard viewtypes for the Design Model are
Respuesta
-
Component and Connector, Designation, and Module
-
Runtime, Documentation, and Miscellaneous
-
Component, Module, Deployment
-
Component, Allocation, Module
-
Runtime, Allocation, Module
Pregunta 18
Pregunta
Which of the following is not true about the Apache server?
Respuesta
-
Built in the pipe and filter style
-
Is designed to allow new code to be inserted easily
-
Was designed with few constraints to support the system’s performance goals
-
A web server
-
Was designed around the goal of modifiability
Pregunta 19
Pregunta
6) A context diagram should include details related to quality concerns
Pregunta 20
Pregunta
7) A port is a point of interaction in a component diagram.
Pregunta 21
Pregunta
8) A context diagram is similar to a snapshot in that the context is likely to change as the system runs.
Pregunta 22
Pregunta
9) A master model is the one used by the architect to include information from all three viewtypes
Pregunta 23
Pregunta
10) A view is a projection of a model that reveals select details.
Pregunta 24
Pregunta
11) An internals model can be used to identify boundary models of others.
Pregunta 25
Pregunta
1. Which of the following DOES NOT describe risk in software development?
Pregunta 26
Pregunta
2. Which of the following clearly describes the scope of a software project?
Respuesta
-
An internals diagram
-
A context diagram
-
A sequence diagram
-
A functionality scenario
Pregunta 27
Pregunta
3. Three styles of design are _______ .
Respuesta
-
risky, safe, and uncertain
-
planned, evolutionary, and minimal planned
-
spiral, waterfall, and agile
-
risk-based, architectural, and code-based
Pregunta 28
Pregunta
4. (Fill in the blank) A use case is _________.
Respuesta
-
a decision not to modify the system
-
a process that will run as part of the system
-
an argument that drives system design
-
a goal for actors the system interacts with
-
a diagram that shows what the system does
Pregunta 29
Pregunta
The risk-driven approach is most difficult to apply to the ____________ software development process.
Respuesta
-
Waterfall
-
Interative
-
RUP
-
XP
Pregunta 30
Pregunta
6. A specific architectural style is chosen for a project because ______
Respuesta
-
the architect has the most familiarity with it
-
the developers who will implement the system are most familiar with it
-
it is known to ensure quality attributes of concern
-
it will make the system easier to maintain
-
none of the above
Pregunta 31
Pregunta
7. _______ are approaches to decomposing a system.
Respuesta
-
A)Functionality, Archetypes, Jigsaw Puzzle
-
b)Functionality, Architectural Design, Orthogonal abstraction
-
c)Dominant Component, Attribute Driven Design, Ports
-
d)Architectural Style, Ports, Archetypes
-
Both a and d
-
Both c and d
Pregunta 32
Pregunta
8. The XP software development process ___________ include up-front design
Pregunta 33
Pregunta
It prioritizes work according to
Pregunta 34
Pregunta
And, its iteration length is typically
Pregunta 35
Pregunta
1. _______ architecture
2. _______ architect
3. _______ architecting
Respuesta
-
1. an artifact
2. a role
3. a process
-
1. a role
2. an artifact
3. a process
-
1. a process
2. a role
3. an artifact
Pregunta 36
Pregunta
Network and Job Domain Model, Yinzer Top-level Boundary Model
Respuesta
-
Non of a, b, or c
-
Designation
-
View
-
Refinement
Pregunta 37
Pregunta
Network and Job Domain Model, Yinzer Design Model
Respuesta
-
Non of a, b, or c
-
Designation
-
View
-
Refinement
Pregunta 38
Pregunta
Yinzer Top-Level Boundary Model, Yinzer Design Model
Respuesta
-
Non of a, b, or c
-
Designation
-
View
-
Refinement
Pregunta 39
Pregunta
Yinzer Top-Level Boundary Model, Yinzer Top-Level Internals Model
Respuesta
-
Refinement
-
View
-
Designation
-
Non of a, b, or c
Pregunta 40
Pregunta
To ensure all the code is described
Pregunta 41
Pregunta
To make sure quality concerns have been addressed
Pregunta 42
Pregunta
There are sufficient perceived risks
Pregunta 43
Pregunta
Otherwise no one would know what to do
Pregunta 44
Pregunta
Because it provides a company with information to guarantee delivery of a project
Pregunta 45
Pregunta
Because doing so is a best practice for projects
Pregunta 46
Pregunta
Architecture documents should always be comprehensive.
Pregunta 47
Pregunta
Design should always precede coding.
Pregunta 48
Pregunta
Not all projects need to document their architecture.
Pregunta 49
Pregunta
Which of the following statements is the most correct?
Respuesta
-
A)A sequence diagram is used to model a sequence of activities associated with a use case.
-
B)A sequence diagram is used to model a sequence of messages exchanged among objects.
-
C)A sequence diagram is used to model a sequence of transitions among objects in a use case.
-
Both a and b.
-
Both a and c.
Pregunta 50
Pregunta
13) Which of the following statements is the most correct?
Respuesta
-
United Models for Languages
-
Universal Modeling Language
-
Unified Modeling Language
-
United Modeling Language
Pregunta 51
Pregunta
Which of the following is best describes UML?
Respuesta
-
A)UML is a combination of notations.
-
B)UML supports modeling multiple views of software.
-
C)UML has evolved over time
-
D)UML was created by the OMG
-
All of a-d
-
Only a and d
Pregunta 52
Pregunta
15) Three notations of UML are
Respuesta
-
Activity diagrams, Component diagrams, Construction diagrams
-
Component diagrams, Action diagrams, Sequence diagrams
-
Class diagrams, ER diagrams, Action diagrams
-
Canonical diagrams, Activity diagrams, Sequence diagrams
-
Class diagrams, Sequence diagrams, Use Case diagrams
Pregunta 53
Pregunta
17) Which of the following statements is the most correct?
Respuesta
-
A)A component diagram shows a configuration of the system at a given moment.
-
B)A component diagram shows all potential interactions among components in a view.
-
C)A component diagram can show instances of classes.
-
Both a and b.
-
Both b and c.
Pregunta 54
Pregunta
18) Which of the following statements is the most correct?
Respuesta
-
Ports are represented using dots on a component border.
-
Each port on a component has exactly one interface associated with it.
-
Assembly connectors show the relationship between ports on the component’s boundary and its internals.
-
Lollipop symbol is used to represent provides interfaces.
-
Socket symbol is used to represent provides interfaces.
Pregunta 55
Pregunta
19) Which of the following is/are not well supported by the component diagram notation? ___________.
Pregunta 56
Pregunta
20) The primary difference between component diagrams and sequence diagrams is
Respuesta
-
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.
-
There is very little difference, they are just two different ways of viewing component interactions.
-
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.
-
Component diagrams represent the code whereas sequence diagrams represent behavior.
Pregunta 57
Pregunta
21) UML provides special notation for a subsystem element because
Respuesta
-
Subsystem elements have critical differences from components, which must be represented.
-
Subsystem elements and component elements are not substantially different so there is no need for them.
-
Component elements have important aspects that are not representable using the provided subsystem element notation.
-
Both a and c
-
None of the above.
Pregunta 58
Pregunta
22) Component details in UML can be shown as text within a compartment of a component
Pregunta 59
Pregunta
23) Which of the following statements is the most correct? ____________ .
Respuesta
-
a)A class diagram shows a configuration of the system at a given moment.
-
b)A class diagram shows all potential interactions among components in a view.
-
c)A class diagram can show relationships between java interfaces and other classes.
-
Both a and b.
-
Both b and c.
Pregunta 60
Pregunta
24) Which of the following statements is the most correct? _________.
Respuesta
-
A class diagram for a module always has three components.
-
A class diagram shows relationships among code units.
-
A class diagram supports analyzing behavior of complex protocols.
-
Lollipop symbol is used to represent provides interfaces.
-
Socket symbol is used to represent provides interfaces.
-
Class and components diagrams are always very similar.
Pregunta 61
Pregunta
25) Which of the following is(are) NOT well supported by the class diagram notation? ___________.
Respuesta
-
a)Identifying public and private members of a class.
-
b)Identifying which classes depend on other classes.
-
c)Discussing how the system will behave.
-
d) Discussing how to add newly required functionality to the system.
-
Both a and d
Pregunta 62
Pregunta
26) Which of the following is/are NOT a benefit of including class diagrams in project documentation? _______
Respuesta
-
A)Help programmers understand the context of the code they are creating.
-
B)Help the project sponsors understand how the system will work.
-
C)Help the project manager identify responsible people for each of the coding tasks.
-
D)Help maintainers identify the source of bugs.
-
All of the above.
-
Each of a, b, and c.
-
Each of a, c, and d.
-
Each of b, c, and d.
Pregunta 63
Pregunta
Class diagrams can be generated directly from code.
Pregunta 64
Pregunta
The process of creating class diagrams is a valuable activity during design.
Pregunta 65
Pregunta
All class diagrams created during design of a system should be maintained as part of the project documentation.
Pregunta 66
Pregunta
30) A design pattern ______ .
Respuesta
-
a)Contains a description of other related patterns.
-
b)Can be useful describing how a software problem was solved by a developer.
-
c)Is a general reusable solution to a commonly occurring problem within a given context in software design.
-
d)Gives examples of code that used the pattern.
-
Both a and c.
-
All of a-d.
Pregunta 67
Pregunta
31) The Dependency Inversion Principle ______.
Respuesta
-
Helps ensure that objects are highly reusable.
-
Requires that methods that are present in base classes must also be present in the derived classes.
-
Helps ensure that objects are easy to extend without requiring change to the original object.
-
Requires that object interfaces only include methods that will be needed by most implementers.
-
Helps make changing an object easier.
Pregunta 68
Pregunta
32) The Open-Close Principle _________.
Respuesta
-
Helps ensure that objects are highly reusable.
-
Requires that methods that are present in base classes must also be present in the derived classes.
-
Helps ensure that objects are easy to extend without requiring change to the original object.
-
Requires that object interfaces only include methods that will be needed by most implementers.
-
Helps make changing an object easier.
Pregunta 69
Pregunta
33) Liskov’s Substitution Principle _________.
Respuesta
-
Helps ensure that objects are highly reusable.
-
Requires that methods that are present in base classes must also be present in the derived classes.
-
Helps ensure that objects are easy to extend without requiring change to the original object.
-
Requires that object interfaces only include methods that will be needed by most implementers.
-
Helps make changing an object easier.
Pregunta 70
Pregunta
34) The Single Responsibility Principle ________.
Respuesta
-
Helps ensure that objects are highly reusable.
-
Requires that methods that are present in base classes must also be present in the derived classes
-
Helps ensure that objects are easy to extend without requiring change to the original object.
-
Requires that object interfaces only include methods that will be needed by most implementers.
-
Helps make changing an object easier.
Pregunta 71
Pregunta
35) The Interface Segregation Principle _________.
Respuesta
-
Helps ensure that objects are highly reusable.
-
Requires that methods that are present in base classes must also be present in the derived classes.
-
Helps ensure that objects are easy to extend without requiring change to the original object.
-
Requires that object interfaces only include methods that will be needed by most implementers
-
Helps make changing an object easier.
Pregunta 72
Pregunta
37) Which of the following is NOT an advantage of using architectural styles during design? __________
Respuesta
-
They support design reuse.
-
They provide a vocabulary for communication.
-
They provide a set of guard rails to guide you.
-
They define a set of names to use in your design.
-
They help ensure you will meet your quality goals.
Pregunta 73
Pregunta
38) The Mirrored, Farm, and Rack style of design is a style in the _______ view.
Respuesta
-
Runtime
-
Module
-
Allocation
-
None of a-c
Pregunta 74
Pregunta
39) The layered style of software design is a style in the ________ view.
Respuesta
-
Runtime
-
Module
-
Allocation
-
None of a-c
Pregunta 75
Pregunta
40) The Model-Centered style of software design is a style in the ________ view.
Respuesta
-
Runtime
-
Module
-
Allocation
-
None of a-c
Pregunta 76
Pregunta
41) The Peer to Peer style of software design is a style in the ________ view.
Respuesta
-
Runtime
-
Module
-
Allocation
-
None of a-c
Pregunta 77
Pregunta
42) Which of the following is a legal exception to pure layered style?
Pregunta 78
Pregunta
43) In the Pipe and Filter style, which of the following is not allowed? _______
Respuesta
-
A Filter can alternate providing data between two filters.
-
Two pipes can be potential suppliers for a filter.
-
A pipe can feed data into another pipe.
-
A filter can be designed to be used in another application.
-
None of a-d
Pregunta 79
Pregunta
44) Using consistent level of detail across a model helps _______ .
Respuesta
-
a)Cut expenses when building the system.
-
b)Make the view more comprehensible.
-
c)Increase consistency among views.
-
Both a and c
-
Both b and c
-
None of a-c
-
All of a-c
Pregunta 80
Pregunta
45) Which of the following help increase the quality of your view?
Respuesta
-
aUse functionality scenarios to tie views together.
-
bAnimate your functional scenarios
-
cWrite action specifications
-
Both a and c
-
Both b and c
-
None of a-c
-
All of a-c
Pregunta 81
Pregunta
46) Which of the following is NOT on the list of ways Fairbanks suggests you write good functional scenarios? _____
Respuesta
-
Actor
-
Action
-
Reference
-
Target Model
-
Overall
-
Pattern
Pregunta 82
Pregunta
47) Which of the following is NOT one of the traits of good models? _______
Pregunta 83
Pregunta
48) How should a designer decide which views to create? _______
Respuesta
-
Build one for each function.
-
Build one for each actor.
-
Build one for each of the major concerns.
-
Build one for each use case.
-
Build one for each of the view types.
Pregunta 84
Pregunta
50) An anti-pattern is _______ .
Respuesta
-
A known way to reverse the impact of using a design pattern.
-
A pattern for improving bad code.
-
A way to avoid known bad coding practice.
-
A way to refactor code
-
None of the above.
Pregunta 85
Pregunta
51) Which of the following is NOT a desirable trait of a software model? ______
Respuesta
-
Consistent use of arrows
-
Models reality
-
Sufficiently precise
-
Inexpensive
-
Accurate
Pregunta 86
Pregunta
52) Which of the following statements is NOT true for creating and using models? ________
Respuesta
-
A)A model is falsifiable if one is able to determine the truth or falseness of some property about the model.
-
B)A legend is not required when the diagram is created using a known notation.
-
C)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.
-
D)A model is more useful if it focuses the user’s attention.
-
Both a and d
-
Both b and c
-
Both c and d
Pregunta 87
Pregunta
53) Modeling a system using multiple views requires that all views be ________ .
Respuesta
-
A)Kept neatly stored so they can be located.
-
B)Chosen carefully to reflect the concerns of users.
-
C)Kept internally consistent.
-
D)Created from different view types.
-
Both a and b
-
Both b and c
-
Both c and d
Pregunta 88
Pregunta
54) Which of the following is NOT true of a dependency matrix? ___________
Respuesta
-
Can be used to check dependencies among modules.
-
Can easily be converted to a graphical representation
-
Is more difficult to use the larger a model grows.
-
Can be built automatically from code by some tools.
-
Can be used to help maintain a system.
Pregunta 89
Pregunta
55) Architecture checklists _______.
Respuesta
-
Provide architecture experts an opportunity to identify risks.
-
Should be checked every day.
-
Contain a list of activities that must be completed before the architecture is considered complete.
-
Must be included as part of the final documentation.
-
Can be used to ensure that known risks have been considered.
Pregunta 90
Pregunta
56) Formal analysis techniques _________.
Respuesta
-
Are widely available in automated tools.
-
Can be applied to UML models.
-
Require the model be expressed in the language of the tool.
-
Can be used to identify all potential security vulnerabilities in the code.
-
Only a and c
-
Only b and d
-
Only c and d
Pregunta 91
Pregunta
2. Which of the following is the best choice for creating code views? _______
Respuesta
-
Sequence diagram
-
Component diagram
-
Activity diagram
-
Class diagram
-
Both b and c
-
None of the above
Pregunta 92
Pregunta
3. Which of the following are the best question(s) the risk-driven model helps developers answer? ______
Respuesta
-
a)What is most important to the customer?
-
b)When are we done with the project?
-
c)How much software architecture should we do?
-
d)What programming language should we use?
-
e)Which techniques should we use in developing our project?
-
Both a and b
-
Both b and c
-
Both c and e
Pregunta 93
Pregunta
4. Which of the following is not a software engineering risk? ______
Respuesta
-
The server may not scale to 1000 users.
-
The code for the sort algorithm is overly complex.
-
We do not adequately understand our customer’s needs.
-
The system is working fine, but if we try to change anything it seems to always break something else.
-
None of the above.
Pregunta 94
Pregunta
5. Which of the following software development process models does not include up-front design?
Respuesta
-
a)Waterfall
-
b)Iterative
-
c)Spiral
-
d)RUP
-
Both a and b
-
Both c and d
-
Both a and c
Pregunta 95
Pregunta
6. In component diagrams, ports _________ optional.
Pregunta 96
Pregunta
7. In component diagrams, the lollipop symbol is used to represent a ________ interface.
Pregunta 97
Pregunta
8. In sequence diagrams, lifelines represent the activity of _________
Pregunta 98
Pregunta
Sequence Diagram
Respuesta
-
used to represent runtime model
-
used to model domain model
-
used to represent code model
Pregunta 99
Pregunta
Use Case Diagram
Respuesta
-
used to represent runtime model
-
used to model domain model
-
used to represent code model
Pregunta 100
Respuesta
-
used to represent runtime model
-
used to model domain model
-
used to represent code model
Pregunta 101
Pregunta 102
Pregunta 103
Pregunta 104
Pregunta
11. We need comprehensive documentation for the software architect
Pregunta 105
Pregunta
12. Software design patterns provide a ready resource for solving software development problems
Pregunta 106
Pregunta
13. Software design patterns are created for unusual problems in development
Pregunta 107
Pregunta
14. All models in software design should be captured using UML diagrams
Pregunta 108
Pregunta
What is architectural style?
Respuesta
-
Architectural style is a description of component types
-
It is a pattern of run-time control
-
It is set of constraints on architecture
-
All of the mentioned
Pregunta 109
Pregunta
Which of the following is incorrect?
Respuesta
-
A pattern is a reusable solution to a recurring problem
-
A pattern is a projection of a model that reveals selected details
-
Patterns can appear anywhere in your design, and multiple patterns could appear in the same design
-
Patterns can be low-level and detailed
Pregunta 110
Pregunta
An architectural style is a kind of pattern that occurs at an architectural level and
applies to architectural elements like components and modules.
Respuesta
-
Architectural style
-
Server farm style
-
Rack style
-
Mirrored style
Pregunta 111
Pregunta
Which of the following is not one of the elements of a design pattern?
Respuesta
-
context
-
environment
-
problem
-
solution
Pregunta 112
Pregunta
A pattern language
Respuesta
-
encompasses a collection of patterns
-
is implemented using hypertext
-
resembles the structure of natural languages
-
None of the above
Pregunta 113
Pregunta
Identify the Structural pattern represented by following Diagram
Respuesta
-
Adapter
-
Proxy
-
Decotar
-
Composite
Pregunta 114
Pregunta
Identify the Creational pattern represented by following Diagram
Respuesta
-
Prototype
-
Abstract Factory
-
Builder
-
Factory method
Pregunta 115
Pregunta
Identify the Creational pattern represented by following Diagram
Respuesta
-
State
-
Command
-
Proxy
-
Adapter
Pregunta 116
Pregunta
Identify the Creational pattern represented by following Diagram
Respuesta
-
Proxy
-
Adapter
-
Prototype
-
Builder
Pregunta 117
Pregunta
Identify the Creational pattern represented by following Diagram
Respuesta
-
Command
-
Adapter
-
Observer
-
Prototype