Quiz
SDP5_Final Edited 112
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (112)
11. What 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. T F
- ARichtig
- BFalsch
55. Architecture documents are abstractions of the system. T F
- ARichtig
- BFalsch
66. A good set of architectural documents will completely describe the system. T F
- ARichtig
- BFalsch
77. All design decisions should be made before coding begins. T F
- ARichtig
- BFalsch
88. Different types of models are required in order to serve the needs of various stakeholders. T F
- ARichtig
- BFalsch
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
135. Which of the following states that there are 2 persons associated with a contact and there can be any number of contacts?
- A

- B

- C

- D

- A
14a) Which of the following statements is the most correct?
- Ab) A deployment view shows how the system is installed in the target environment.
- Bc) A deployment view shows how the system interacts with its environment.
- Cd) A deployment view shows where process will run and how they will interact.
- De) Both a and b
- Ef) Both a and c
152) 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.
163) 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
174) 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
185) 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
196) A context diagram should include details related to quality concerns. T F
- ARichtig
- BFalsch
207) A port is a point of interaction in a component diagram. T F
- ARichtig
- BFalsch
218) A context diagram is similar to a snapshot in that the context is likely to change as the system runs. T F
- ARichtig
- BFalsch
229) A master model is the one used by the architect to include information from all three viewtypes. T F
- ARichtig
- BFalsch
2310) A view is a projection of a model that reveals select details. T F
- ARichtig
- BFalsch
2411) An internals model can be used to identify boundary models of others. T F
- ARichtig
- BFalsch
251. 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.
262. 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
273. 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
284. (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
295. The risk-driven approach is most difficult to apply to the ____________ software development process.
- Aa. Waterfall
- Bb. Interative
- Cc. RUP
- Dd. XP
306. 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
317. _______ 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
328. The XP software development process DOES / DOES NOT include up-front design.
- ADOES
- BDOES NOT
33It prioritizes work according to RISKIEST FIRST / HIGHEST CUSTOMER VALUE FIRST
- ARISKIEST FIRST
- BHIGHEST CUSTOMER VALUE FIRST
34And, its iteration length is typically TWO-FOUR WEEKS / LEFT OPEN
- ATWO-FOUR WEEKS
- BLEFT OPEN
35__________ architecture
- Aan artifact
- Ba role
- Ca process
36_____________ architect
- Aan artifact
- Ba role
- Ca process
37_______________ architecting
- Aan artifact
- Ba role
- Ca process
38Network and Job Domain Model, Yinzer Top-level Boundary Model
- ADesignation
- BRefinement
- CView
- DNone of a, b, or c
39Network and Job Domain Model, Yinzer Design Model
- ADesignation
- BRefinement
- CView
- DNone of a, b, or c
40Yinzer Top-Level Boundary Model, Yinzer Design Model
- ADesignation
- BRefinement
- CView
- DNone of a, b, or c
41Yinzer Top-Level Boundary Model, Yinzer Top-Level Internals Model
- ADesignation
- BRefinement
- CView
- DNone of a, b, or c
4217. We need to document the software architect? (T)rue or (F)alse
To ensure all the code is described- ARichtig
- BFalsch
4317. We need to document the software architect? (T)rue or (F)alse
To make sure quality concerns have been addressed- ARichtig
- BFalsch
4417. We need to document the software architect? (T)rue or (F)alse
There are sufficient perceived risks- ARichtig
- BFalsch
4517. We need to document the software architect? (T)rue or (F)alse
Otherwise no one would know what to do- ARichtig
- BFalsch
4617. We need to document the software architect? (T)rue or (F)alse
Because it provides a company with information to guarantee delivery of a project- ARichtig
- BFalsch
4717. We need to document the software architect? (T)rue or (F)alse
Because doing so is a best practice for projects- ARichtig
- BFalsch
4817. We need to document the software architect? (T)rue or (F)alse
Architecture documents should always be comprehensive.- ARichtig
- BFalsch
4917. We need to document the software architect? (T)rue or (F)alse
Design should always precede coding.- ARichtig
- BFalsch
5017. We need to document the software architect? (T)rue or (F)alse
Not all projects need to document their architecture.- ARichtig
- BFalsch
5112) 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.
5213) Which of the following statements is the most correct?
- Aa) United Models for Languages
- Bb) Universal Modeling Language
- Cc) Unified Modeling Language
- Dd) United Modeling Language
5314) 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
5415) 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
5516) Which of the following is not a UML diagram?
- A

- B

- C

- D

- A
5617) 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.
5718) Which of the following statements is the most correct?
- Aa) Ports are represented using dots on a component border.
- Bb) Each port on a component has exactly one interface associated with it.
- Cc) Assembly connectors show the relationship between ports on the component’s boundary and its internals.
- Dd) Lollipop symbol is used to represent provides interfaces.
- Ee) Socket symbol is used to represent provides interfaces.
5819) 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
- Ee) None of a-d
- Ff) Both a and d
5920) 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.
- Dd) Component diagrams represent the code whereas sequence diagrams represent behavior.
6021) 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.
- Dd) Both a and c
- Ee) None of the above.
6122) Component details in UML can be shown as text within a compartment of a component.
- ARichtig
- BFalsch
6223) 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.
- Dd) Both a and b.
- Ee) Both b and c.
6324) 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.
- Dd) Lollipop symbol is used to represent provides interfaces.
- Ee) Socket symbol is used to represent provides interfaces.
- Ff) Class and components diagrams are always very similar.
6425) 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.
- Cc) Discussing how the system will behave.
- Dd) Discussing how to add newly required functionality to the system.
- Ee) Both a and d
6526) 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.
- Dd) Help maintainers identify the source of bugs.
- Ee) All of the above.
- Ff) Each of a, b, and c.
- Gg) Each of a, c, and d.
- Hh) Each of b, c, and d.
66Class diagrams can be generated directly from code
- ARichtig
- BFalsch
67The process of creating class diagrams is a valuable activity during design
- ARichtig
- BFalsch
68All class diagrams created during design of a system should be maintained as part of the project documentation.
- ARichtig
- BFalsch
6930) 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.
7031) 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.
7132) 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.
7233) 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.
7334) 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.
7435) 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.
7536) (Fill in the blank) Three basic categorizations of software design patterns are Creational, Structural, and _____________ .
- ABehavioral (это правильный :3)
- BBehavioral (или это ;3)
7637) 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.
7738) 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
7839) The layered style of software design is a style in the ________ view.
- Aa) Runtime
- Bb) Module
- Cc) Allocation
- Dd) None of a-c
7940) The Model-Centered style of software design is a style in the ________ view.
- Aa) Runtime
- Bb) Module
- Cc) Allocation
- Dd) None of a-c
8041) The Peer to Peer style of software design is a style in the ________ view.
- Aa) Runtime
- Bb) Module
- Cc) Allocation
- Dd) None of a-c
8142) 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.
- Ee) None of a-d
8243) 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.
- Ee) None of a-d
8344) 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.
- Dd) Both a and c
- Ee) Both b and c
- Ff) None of a-c
- Gg) All of a-c
8445) 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
- Ee) Both b and c
- Ff) None of a-c
- Gg) All of a-c
8546) 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
8647) 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
8748) 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.
8849) What are two ways Fairbanks says you can improve the quality of diagrams?
- Aa) Include a legend
- Bb) Avoid arrowheads
- Cс) Both a and b
- Dd) None of them
8950) 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.
9051) Which of the following is NOT a desirable trait of a software model? ______
- Aa) Consistent use of arrows
- Bb) Models
- Cc) Sufficiently precise
- Dd) Inexpensive
- Ee) Accurate
9152) 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
9253) 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
- Gg) Both c and d
9354) 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.
9455) 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.
9556) 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
962. 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
973. 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?
- Ff. Both a and b
- Gg. Both b and c
- Hh. Both c and e
984. 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.
995. 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
- Gg. Both a and c
1006. In component diagrams, ports ARE / ARE NOT optional.
- AARE
- BARE NOT
1017. In component diagrams, the lollipop symbol is used to represent a PROVIDES / REQUIRES interface.
- APROVIDES
- BREQUIRES
1028. In sequence diagrams, lifelines represent the activity of CLASSES / OBJECTS.
- ACLASSES
- BOBJECTS
103Sequence Diagram
- Aused to represent runtime model
- Bused to model domain model
- Cused to represent code model
104Use Case Diagram
- Aused to represent runtime model
- Bused to model domain model
- Cused to represent code model
105Class Diagram
- Aused to represent runtime model
- Bused to model domain model
- Cused to represent code model
106Association
- A

- B

- C

- A
107Generalization
- A

- B

- C

- A
108Composition
- A

- B

- C

- A
10911. We need comprehensive documentation for the software architect.
- ARichtig
- BFalsch
11012. Software design patterns provide a ready resource for solving software development problems
- ARichtig
- BFalsch
11113. Software design patterns are created for unusual problems in development
- ARichtig
- BFalsch
11214. All models in software design should be captured using UML diagrams.
- ARichtig
- BFalsch
Informationen
- Beschreibung
- Engineering Quiz on SDP5_Final Exam_2017_by JamboMambo, created by eldar khasen on 20/05/2017.
- Autor
- eldar khasen
- Sprache
- English
- Aufrufe
- 58
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz