SDP 5

Descrição

Quiz sobre SDP 5, criado por Daniyar Adilkhanov em 12-05-2018.
Daniyar Adilkhanov
Quiz por Daniyar Adilkhanov, atualizado more than 1 year ago
Daniyar Adilkhanov
Criado por Daniyar Adilkhanov mais de 6 anos atrás
951
2

Resumo de Recurso

Questão 1

Questão
What are the names of the models in software’s canonical model structure?
Responda
  • Domain, Design, Development
  • Conceptual, Design, Code
  • Conceptual, Architecture, Development
  • Domain, Design, Code
  • None of the above

Questão 2

Questão
The Refinement relationship enables the architect to:
Responda
  • 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

Questão 3

Questão
Abstractions are:
Responda
  • a)Models of design.
  • b)Different perspectives.
  • c)Very high-level representations of the system.
  • Both a and b
  • Both a and c

Questão 4

Questão
4. Every project should document its architecture
Responda
  • True
  • False

Questão 5

Questão
5. Architecture documents are abstractions of the system.
Responda
  • True
  • False

Questão 6

Questão
6. A good set of architectural documents will completely describe the system
Responda
  • True
  • False

Questão 7

Questão
7. All design decisions should be made before coding begins
Responda
  • True
  • False

Questão 8

Questão
8. Different types of models are required in order to serve the needs of various stakeholders.
Responda
  • True
  • False

Questão 9

Questão
1. Of the following, which is the best reason to avoid domain analysis?
Responda
  • 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.

Questão 10

Questão
2. UML has many great features but its use describing domain models should be restricted because
Responda
  • 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.

Questão 11

Questão
3. OCL (Object Constraint Language)
Responda
  • 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.

Questão 12

Questão
4. When modeling the domain we model its
Responda
  • a)Structure
  • b)Behavior
  • c)The way people will use the system
  • Both a and b
  • Both a and c

Questão 13

Questão
5. Which of the following states that there are 2 persons associated with a contact and there can be any number of contacts?

Questão 14

Questão
Which of the following statements is the most correct?
Responda
  • 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

Questão 15

Questão
Which of the following statements is the most correct?
Responda
  • 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.

Questão 16

Questão
Which of the following is true of a Context Diagram?
Responda
  • 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

Questão 17

Questão
Three standard viewtypes for the Design Model are
Responda
  • Component and Connector, Designation, and Module
  • Runtime, Documentation, and Miscellaneous
  • Component, Module, Deployment
  • Component, Allocation, Module
  • Runtime, Allocation, Module

Questão 18

Questão
Which of the following is not true about the Apache server?
Responda
  • 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

Questão 19

Questão
6) A context diagram should include details related to quality concerns
Responda
  • True
  • False

Questão 20

Questão
7) A port is a point of interaction in a component diagram.
Responda
  • True
  • False

Questão 21

Questão
8) A context diagram is similar to a snapshot in that the context is likely to change as the system runs.
Responda
  • True
  • False

Questão 22

Questão
9) A master model is the one used by the architect to include information from all three viewtypes
Responda
  • True
  • False

Questão 23

Questão
10) A view is a projection of a model that reveals select details.
Responda
  • True
  • False

Questão 24

Questão
11) An internals model can be used to identify boundary models of others.
Responda
  • True
  • False

Questão 25

Questão
1. Which of the following DOES NOT describe risk in software development?
Responda
  • Something to worry about.
  • A cause of failure.
  • A chance of failure.
  • A primary driver of architecture.

Questão 26

Questão
2. Which of the following clearly describes the scope of a software project?
Responda
  • An internals diagram
  • A context diagram
  • A sequence diagram
  • A functionality scenario

Questão 27

Questão
3. Three styles of design are _______ .
Responda
  • risky, safe, and uncertain
  • planned, evolutionary, and minimal planned
  • spiral, waterfall, and agile
  • risk-based, architectural, and code-based

Questão 28

Questão
4. (Fill in the blank) A use case is _________.
Responda
  • 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

Questão 29

Questão
The risk-driven approach is most difficult to apply to the ____________ software development process.
Responda
  • Waterfall
  • Interative
  • RUP
  • XP

Questão 30

Questão
6. A specific architectural style is chosen for a project because ______
Responda
  • 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

Questão 31

Questão
7. _______ are approaches to decomposing a system.
Responda
  • 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

Questão 32

Questão
8. The XP software development process ___________ include up-front design
Responda
  • DOES
  • DOES NOT

Questão 33

Questão
It prioritizes work according to
Responda
  • RISKIEST FIRST
  • HIGHEST CUSTOMER VALUE FIRST

Questão 34

Questão
And, its iteration length is typically
Responda
  • TWO-FOUR WEEKS
  • LEFT OPEN

Questão 35

Questão
1. _______ architecture 2. _______ architect 3. _______ architecting
Responda
  • 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

Questão 36

Questão
Network and Job Domain Model, Yinzer Top-level Boundary Model
Responda
  • Non of a, b, or c
  • Designation
  • View
  • Refinement

Questão 37

Questão
Network and Job Domain Model, Yinzer Design Model
Responda
  • Non of a, b, or c
  • Designation
  • View
  • Refinement

Questão 38

Questão
Yinzer Top-Level Boundary Model, Yinzer Design Model
Responda
  • Non of a, b, or c
  • Designation
  • View
  • Refinement

Questão 39

Questão
Yinzer Top-Level Boundary Model, Yinzer Top-Level Internals Model
Responda
  • Refinement
  • View
  • Designation
  • Non of a, b, or c

Questão 40

Questão
To ensure all the code is described
Responda
  • True
  • False

Questão 41

Questão
To make sure quality concerns have been addressed
Responda
  • True
  • False

Questão 42

Questão
There are sufficient perceived risks
Responda
  • True
  • False

Questão 43

Questão
Otherwise no one would know what to do
Responda
  • True
  • False

Questão 44

Questão
Because it provides a company with information to guarantee delivery of a project
Responda
  • True
  • False

Questão 45

Questão
Because doing so is a best practice for projects
Responda
  • True
  • False

Questão 46

Questão
Architecture documents should always be comprehensive.
Responda
  • True
  • False

Questão 47

Questão
Design should always precede coding.
Responda
  • True
  • False

Questão 48

Questão
Not all projects need to document their architecture.
Responda
  • True
  • False

Questão 49

Questão
Which of the following statements is the most correct?
Responda
  • 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.

Questão 50

Questão
13) Which of the following statements is the most correct?
Responda
  • United Models for Languages
  • Universal Modeling Language
  • Unified Modeling Language
  • United Modeling Language

Questão 51

Questão
Which of the following is best describes UML?
Responda
  • 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

Questão 52

Questão
15) Three notations of UML are
Responda
  • 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

Questão 53

Questão
17) Which of the following statements is the most correct?
Responda
  • 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.

Questão 54

Questão
18) Which of the following statements is the most correct?
Responda
  • 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.

Questão 55

Questão
19) Which of the following is/are not well supported by the component diagram notation? ___________.
Responda
  • Component Internals
  • Potential interactions with external components
  • Complex components
  • Complex connectors
  • None of a-d
  • Both a and d

Questão 56

Questão
20) The primary difference between component diagrams and sequence diagrams is
Responda
  • 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.

Questão 57

Questão
21) UML provides special notation for a subsystem element because
Responda
  • 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.

Questão 58

Questão
22) Component details in UML can be shown as text within a compartment of a component
Responda
  • True
  • False

Questão 59

Questão
23) Which of the following statements is the most correct? ____________ .
Responda
  • 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.

Questão 60

Questão
24) Which of the following statements is the most correct? _________.
Responda
  • 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.

Questão 61

Questão
25) Which of the following is(are) NOT well supported by the class diagram notation? ___________.
Responda
  • 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

Questão 62

Questão
26) Which of the following is/are NOT a benefit of including class diagrams in project documentation? _______
Responda
  • 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.

Questão 63

Questão
Class diagrams can be generated directly from code.
Responda
  • True
  • False

Questão 64

Questão
The process of creating class diagrams is a valuable activity during design.
Responda
  • True
  • False

Questão 65

Questão
All class diagrams created during design of a system should be maintained as part of the project documentation.
Responda
  • True
  • False

Questão 66

Questão
30) A design pattern ______ .
Responda
  • 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.

Questão 67

Questão
31) The Dependency Inversion Principle ______.
Responda
  • 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.

Questão 68

Questão
32) The Open-Close Principle _________.
Responda
  • 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.

Questão 69

Questão
33) Liskov’s Substitution Principle _________.
Responda
  • 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.

Questão 70

Questão
34) The Single Responsibility Principle ________.
Responda
  • 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.

Questão 71

Questão
35) The Interface Segregation Principle _________.
Responda
  • 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.

Questão 72

Questão
37) Which of the following is NOT an advantage of using architectural styles during design? __________
Responda
  • 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.

Questão 73

Questão
38) The Mirrored, Farm, and Rack style of design is a style in the _______ view.
Responda
  • Runtime
  • Module
  • Allocation
  • None of a-c

Questão 74

Questão
39) The layered style of software design is a style in the ________ view.
Responda
  • Runtime
  • Module
  • Allocation
  • None of a-c

Questão 75

Questão
40) The Model-Centered style of software design is a style in the ________ view.
Responda
  • Runtime
  • Module
  • Allocation
  • None of a-c

Questão 76

Questão
41) The Peer to Peer style of software design is a style in the ________ view.
Responda
  • Runtime
  • Module
  • Allocation
  • None of a-c

Questão 77

Questão
42) Which of the following is a legal exception to pure layered style?
Responda
  • The use of sidecars.
  • The use of callbacks.
  • The use of one module in a layer by another.
  • The use of a module by one that is two layers above.
  • None of a-d

Questão 78

Questão
43) In the Pipe and Filter style, which of the following is not allowed? _______
Responda
  • 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

Questão 79

Questão
44) Using consistent level of detail across a model helps _______ .
Responda
  • 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

Questão 80

Questão
45) Which of the following help increase the quality of your view?
Responda
  • 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

Questão 81

Questão
46) Which of the following is NOT on the list of ways Fairbanks suggests you write good functional scenarios? _____
Responda
  • Actor
  • Action
  • Reference
  • Target Model
  • Overall
  • Pattern

Questão 82

Questão
47) Which of the following is NOT one of the traits of good models? _______
Responda
  • Allows one to predictive potential issues
  • Be small
  • Be realistic
  • Refers only to elements that are in the model
  • Be inexpensive

Questão 83

Questão
48) How should a designer decide which views to create? _______
Responda
  • 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.

Questão 84

Questão
50) An anti-pattern is _______ .
Responda
  • 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.

Questão 85

Questão
51) Which of the following is NOT a desirable trait of a software model? ______
Responda
  • Consistent use of arrows
  • Models reality
  • Sufficiently precise
  • Inexpensive
  • Accurate

Questão 86

Questão
52) Which of the following statements is NOT true for creating and using models? ________
Responda
  • 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

Questão 87

Questão
53) Modeling a system using multiple views requires that all views be ________ .
Responda
  • 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

Questão 88

Questão
54) Which of the following is NOT true of a dependency matrix? ___________
Responda
  • 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.

Questão 89

Questão
55) Architecture checklists _______.
Responda
  • 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.

Questão 90

Questão
56) Formal analysis techniques _________.
Responda
  • 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

Questão 91

Questão
2. Which of the following is the best choice for creating code views? _______
Responda
  • Sequence diagram
  • Component diagram
  • Activity diagram
  • Class diagram
  • Both b and c
  • None of the above

Questão 92

Questão
3. Which of the following are the best question(s) the risk-driven model helps developers answer? ______
Responda
  • 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

Questão 93

Questão
4. Which of the following is not a software engineering risk? ______
Responda
  • 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.

Questão 94

Questão
5. Which of the following software development process models does not include up-front design?
Responda
  • a)Waterfall
  • b)Iterative
  • c)Spiral
  • d)RUP
  • Both a and b
  • Both c and d
  • Both a and c

Questão 95

Questão
6. In component diagrams, ports _________ optional.
Responda
  • ARE
  • ARE NOT

Questão 96

Questão
7. In component diagrams, the lollipop symbol is used to represent a ________ interface.
Responda
  • PROVIDES
  • REQUIRES

Questão 97

Questão
8. In sequence diagrams, lifelines represent the activity of _________
Responda
  • CLASSES
  • OBJECTS

Questão 98

Questão
Sequence Diagram
Responda
  • used to represent runtime model
  • used to model domain model
  • used to represent code model

Questão 99

Questão
Use Case Diagram
Responda
  • used to represent runtime model
  • used to model domain model
  • used to represent code model

Questão 100

Questão
Class Diagram
Responda
  • used to represent runtime model
  • used to model domain model
  • used to represent code model

Questão 101

Questão
Association
Responda

Questão 102

Questão
Generalization
Responda

Questão 103

Questão
Composition
Responda

Questão 104

Questão
11. We need comprehensive documentation for the software architect
Responda
  • True
  • False

Questão 105

Questão
12. Software design patterns provide a ready resource for solving software development problems
Responda
  • True
  • False

Questão 106

Questão
13. Software design patterns are created for unusual problems in development
Responda
  • True
  • False

Questão 107

Questão
14. All models in software design should be captured using UML diagrams
Responda
  • True
  • False

Questão 108

Questão
What is architectural style?
Responda
  • 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

Questão 109

Questão
Which of the following is incorrect?
Responda
  • 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

Questão 110

Questão
An architectural style is a kind of pattern that occurs at an architectural level and applies to architectural elements like components and modules.
Responda
  • Architectural style
  • Server farm style
  • Rack style
  • Mirrored style

Questão 111

Questão
Which of the following is not one of the elements of a design pattern?
Responda
  • context
  • environment
  • problem
  • solution

Questão 112

Questão
A pattern language
Responda
  • encompasses a collection of patterns
  • is implemented using hypertext
  • resembles the structure of natural languages
  • None of the above

Questão 113

Questão
Identify the Structural pattern represented by following Diagram
Responda
  • Adapter
  • Proxy
  • Decotar
  • Composite

Questão 114

Questão
Identify the Creational pattern represented by following Diagram
Responda
  • Prototype
  • Abstract Factory
  • Builder
  • Factory method

Questão 115

Questão
Identify the Creational pattern represented by following Diagram
Responda
  • State
  • Command
  • Proxy
  • Adapter

Questão 116

Questão
Identify the Creational pattern represented by following Diagram
Responda
  • Proxy
  • Adapter
  • Prototype
  • Builder

Questão 117

Questão
Identify the Creational pattern represented by following Diagram
Responda
  • Command
  • Adapter
  • Observer
  • Prototype

Semelhante

DIREITOS FUNDAMENTAIS CARACTERÍSTICAS
veleal
Simulado de física
Alessandra S.
Progressão Aritmética (P.A.)
claudiac_
Combate a incêndio - Capítulo dois
willian reis
Cinética Química
Lorena Salvador
Principais temas para estudar em Biologia
Marina Faria
REAÇÕES QUÍMICAS
alessandra
Principais Fórmulas de Física
Luiz Fernando
Revisão
Vanessa Bolina
Instrumentação Cirúrgica
Brennda Assunção