SDP 5

Description

Quiz on SDP 5, created by Daniyar Adilkhanov on 12/05/2018.
Daniyar Adilkhanov
Quiz by Daniyar Adilkhanov, updated more than 1 year ago
Daniyar Adilkhanov
Created by Daniyar Adilkhanov almost 6 years ago
922
2

Resource summary

Question 1

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

Question 2

Question
The Refinement relationship enables the architect to:
Answer
  • 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

Question 3

Question
Abstractions are:
Answer
  • a)Models of design.
  • b)Different perspectives.
  • c)Very high-level representations of the system.
  • Both a and b
  • Both a and c

Question 4

Question
4. Every project should document its architecture
Answer
  • True
  • False

Question 5

Question
5. Architecture documents are abstractions of the system.
Answer
  • True
  • False

Question 6

Question
6. A good set of architectural documents will completely describe the system
Answer
  • True
  • False

Question 7

Question
7. All design decisions should be made before coding begins
Answer
  • True
  • False

Question 8

Question
8. Different types of models are required in order to serve the needs of various stakeholders.
Answer
  • True
  • False

Question 9

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

Question 10

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

Question 11

Question
3. OCL (Object Constraint Language)
Answer
  • 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.

Question 12

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

Question 13

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

Question 14

Question
Which of the following statements is the most correct?
Answer
  • 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

Question 15

Question
Which of the following statements is the most correct?
Answer
  • 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.

Question 16

Question
Which of the following is true of a Context Diagram?
Answer
  • 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

Question 17

Question
Three standard viewtypes for the Design Model are
Answer
  • Component and Connector, Designation, and Module
  • Runtime, Documentation, and Miscellaneous
  • Component, Module, Deployment
  • Component, Allocation, Module
  • Runtime, Allocation, Module

Question 18

Question
Which of the following is not true about the Apache server?
Answer
  • 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

Question 19

Question
6) A context diagram should include details related to quality concerns
Answer
  • True
  • False

Question 20

Question
7) A port is a point of interaction in a component diagram.
Answer
  • True
  • False

Question 21

Question
8) A context diagram is similar to a snapshot in that the context is likely to change as the system runs.
Answer
  • True
  • False

Question 22

Question
9) A master model is the one used by the architect to include information from all three viewtypes
Answer
  • True
  • False

Question 23

Question
10) A view is a projection of a model that reveals select details.
Answer
  • True
  • False

Question 24

Question
11) An internals model can be used to identify boundary models of others.
Answer
  • True
  • False

Question 25

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

Question 26

Question
2. Which of the following clearly describes the scope of a software project?
Answer
  • An internals diagram
  • A context diagram
  • A sequence diagram
  • A functionality scenario

Question 27

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

Question 28

Question
4. (Fill in the blank) A use case is _________.
Answer
  • 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

Question 29

Question
The risk-driven approach is most difficult to apply to the ____________ software development process.
Answer
  • Waterfall
  • Interative
  • RUP
  • XP

Question 30

Question
6. A specific architectural style is chosen for a project because ______
Answer
  • 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

Question 31

Question
7. _______ are approaches to decomposing a system.
Answer
  • 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

Question 32

Question
8. The XP software development process ___________ include up-front design
Answer
  • DOES
  • DOES NOT

Question 33

Question
It prioritizes work according to
Answer
  • RISKIEST FIRST
  • HIGHEST CUSTOMER VALUE FIRST

Question 34

Question
And, its iteration length is typically
Answer
  • TWO-FOUR WEEKS
  • LEFT OPEN

Question 35

Question
1. _______ architecture 2. _______ architect 3. _______ architecting
Answer
  • 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

Question 36

Question
Network and Job Domain Model, Yinzer Top-level Boundary Model
Answer
  • Non of a, b, or c
  • Designation
  • View
  • Refinement

Question 37

Question
Network and Job Domain Model, Yinzer Design Model
Answer
  • Non of a, b, or c
  • Designation
  • View
  • Refinement

Question 38

Question
Yinzer Top-Level Boundary Model, Yinzer Design Model
Answer
  • Non of a, b, or c
  • Designation
  • View
  • Refinement

Question 39

Question
Yinzer Top-Level Boundary Model, Yinzer Top-Level Internals Model
Answer
  • Refinement
  • View
  • Designation
  • Non of a, b, or c

Question 40

Question
To ensure all the code is described
Answer
  • True
  • False

Question 41

Question
To make sure quality concerns have been addressed
Answer
  • True
  • False

Question 42

Question
There are sufficient perceived risks
Answer
  • True
  • False

Question 43

Question
Otherwise no one would know what to do
Answer
  • True
  • False

Question 44

Question
Because it provides a company with information to guarantee delivery of a project
Answer
  • True
  • False

Question 45

Question
Because doing so is a best practice for projects
Answer
  • True
  • False

Question 46

Question
Architecture documents should always be comprehensive.
Answer
  • True
  • False

Question 47

Question
Design should always precede coding.
Answer
  • True
  • False

Question 48

Question
Not all projects need to document their architecture.
Answer
  • True
  • False

Question 49

Question
Which of the following statements is the most correct?
Answer
  • 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.

Question 50

Question
13) Which of the following statements is the most correct?
Answer
  • United Models for Languages
  • Universal Modeling Language
  • Unified Modeling Language
  • United Modeling Language

Question 51

Question
Which of the following is best describes UML?
Answer
  • 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

Question 52

Question
15) Three notations of UML are
Answer
  • 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

Question 53

Question
17) Which of the following statements is the most correct?
Answer
  • 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.

Question 54

Question
18) Which of the following statements is the most correct?
Answer
  • 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.

Question 55

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

Question 56

Question
20) The primary difference between component diagrams and sequence diagrams is
Answer
  • 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.

Question 57

Question
21) UML provides special notation for a subsystem element because
Answer
  • 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.

Question 58

Question
22) Component details in UML can be shown as text within a compartment of a component
Answer
  • True
  • False

Question 59

Question
23) Which of the following statements is the most correct? ____________ .
Answer
  • 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.

Question 60

Question
24) Which of the following statements is the most correct? _________.
Answer
  • 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.

Question 61

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

Question 62

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

Question 63

Question
Class diagrams can be generated directly from code.
Answer
  • True
  • False

Question 64

Question
The process of creating class diagrams is a valuable activity during design.
Answer
  • True
  • False

Question 65

Question
All class diagrams created during design of a system should be maintained as part of the project documentation.
Answer
  • True
  • False

Question 66

Question
30) A design pattern ______ .
Answer
  • 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.

Question 67

Question
31) The Dependency Inversion Principle ______.
Answer
  • 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.

Question 68

Question
32) The Open-Close Principle _________.
Answer
  • 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.

Question 69

Question
33) Liskov’s Substitution Principle _________.
Answer
  • 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.

Question 70

Question
34) The Single Responsibility Principle ________.
Answer
  • 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.

Question 71

Question
35) The Interface Segregation Principle _________.
Answer
  • 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.

Question 72

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

Question 73

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

Question 74

Question
39) The layered style of software design is a style in the ________ view.
Answer
  • Runtime
  • Module
  • Allocation
  • None of a-c

Question 75

Question
40) The Model-Centered style of software design is a style in the ________ view.
Answer
  • Runtime
  • Module
  • Allocation
  • None of a-c

Question 76

Question
41) The Peer to Peer style of software design is a style in the ________ view.
Answer
  • Runtime
  • Module
  • Allocation
  • None of a-c

Question 77

Question
42) Which of the following is a legal exception to pure layered style?
Answer
  • 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

Question 78

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

Question 79

Question
44) Using consistent level of detail across a model helps _______ .
Answer
  • 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

Question 80

Question
45) Which of the following help increase the quality of your view?
Answer
  • 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

Question 81

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

Question 82

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

Question 83

Question
48) How should a designer decide which views to create? _______
Answer
  • 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.

Question 84

Question
50) An anti-pattern is _______ .
Answer
  • 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.

Question 85

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

Question 86

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

Question 87

Question
53) Modeling a system using multiple views requires that all views be ________ .
Answer
  • 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

Question 88

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

Question 89

Question
55) Architecture checklists _______.
Answer
  • 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.

Question 90

Question
56) Formal analysis techniques _________.
Answer
  • 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

Question 91

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

Question 92

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

Question 93

Question
4. Which of the following is not a software engineering risk? ______
Answer
  • 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.

Question 94

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

Question 95

Question
6. In component diagrams, ports _________ optional.
Answer
  • ARE
  • ARE NOT

Question 96

Question
7. In component diagrams, the lollipop symbol is used to represent a ________ interface.
Answer
  • PROVIDES
  • REQUIRES

Question 97

Question
8. In sequence diagrams, lifelines represent the activity of _________
Answer
  • CLASSES
  • OBJECTS

Question 98

Question
Sequence Diagram
Answer
  • used to represent runtime model
  • used to model domain model
  • used to represent code model

Question 99

Question
Use Case Diagram
Answer
  • used to represent runtime model
  • used to model domain model
  • used to represent code model

Question 100

Question
Class Diagram
Answer
  • used to represent runtime model
  • used to model domain model
  • used to represent code model

Question 101

Question
Association
Answer

Question 102

Question
Generalization
Answer

Question 103

Question
Composition
Answer

Question 104

Question
11. We need comprehensive documentation for the software architect
Answer
  • True
  • False

Question 105

Question
12. Software design patterns provide a ready resource for solving software development problems
Answer
  • True
  • False

Question 106

Question
13. Software design patterns are created for unusual problems in development
Answer
  • True
  • False

Question 107

Question
14. All models in software design should be captured using UML diagrams
Answer
  • True
  • False

Question 108

Question
What is architectural style?
Answer
  • 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

Question 109

Question
Which of the following is incorrect?
Answer
  • 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

Question 110

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

Question 111

Question
Which of the following is not one of the elements of a design pattern?
Answer
  • context
  • environment
  • problem
  • solution

Question 112

Question
A pattern language
Answer
  • encompasses a collection of patterns
  • is implemented using hypertext
  • resembles the structure of natural languages
  • None of the above

Question 113

Question
Identify the Structural pattern represented by following Diagram
Answer
  • Adapter
  • Proxy
  • Decotar
  • Composite

Question 114

Question
Identify the Creational pattern represented by following Diagram
Answer
  • Prototype
  • Abstract Factory
  • Builder
  • Factory method

Question 115

Question
Identify the Creational pattern represented by following Diagram
Answer
  • State
  • Command
  • Proxy
  • Adapter

Question 116

Question
Identify the Creational pattern represented by following Diagram
Answer
  • Proxy
  • Adapter
  • Prototype
  • Builder

Question 117

Question
Identify the Creational pattern represented by following Diagram
Answer
  • Command
  • Adapter
  • Observer
  • Prototype
Show full summary Hide full summary

Similar

French Intermediate
PrincessLaura
An Inspector calls Techniques
anya14
Biology: Lung Disease
Sarah H-V
med chem 2 exam 2
lola_smily
GCSE Chemistry C4 (OCR)
Usman Rauf
Molecular Biology
Fadila Farag
Maths Probability
Will Thorpe
SFDC App Builder 2
Parker Webb-Mitchell
NSI Test First day
Adedipe Odunayom
The Digestive System Slide Show
Hamza Ahmed
1PR101 2.test - Část 3.
Nikola Truong