Quiz
SDP5 - Final [Part-1] часть первая 2
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (25)
1Which of the following statements is the most correct? __________ .
- AA sequence diagram is used to model a sequence of activities associated with a use case.
- BA sequence diagram is used to model a sequence of messages exchanged among objects.
- CA sequence diagram is used to model a sequence of transitions among objects in a use case.
2
Which of the following is most correct? ___________.- AUnited Models for Languages
- BUniversal Modeling Language
- CUnified Modeling Language
- DUnited Modeling Language
3Which of the following is best describes UML? ___________.
- AUML is a combination of notations.
UML supports modeling multiple views of software.
UML has evolved over time. - BUML was created by the OMG
- AUML is a combination of notations.
4Three notations of UML are __________ .
- AActivity diagrams, Component diagrams, Construction diagrams
- BComponent diagrams, Action diagrams, Sequence diagrams
- CClass diagrams, ER diagrams, Action diagrams
- DCanonical diagrams, Activity diagrams, Sequence diagrams
- EClass diagrams, Sequence diagrams, Use Case diagrams
5Which of the following is not a UML diagram? ____________.
- A

- B

- C

- D

- A
6The Dependency Inversion Principle ______.
- AHelps ensure that objects are highly reusable.
- BRequires that methods that are present in base classes must also be present in the derived classes.
- CHelps ensure that objects are easy to extend without requiring change to the original object.
- DRequires that object interfaces only include methods that will be needed by most implementers.
- EHelps make changing an object easier
7The Open-Close Principle _________.
- AHelps ensure that objects are highly reusable.
- BRequires that methods that are present in base classes must also be present in the derived classes
- CHelps ensure that objects are easy to extend without requiring change to the original object.
- DRequires that object interfaces only include methods that will be needed by most implementers.
- EHelps make changing an object easier
8Liskov’s Substitution Principle _________.
- AHelps ensure that objects are highly reusable.
- BRequires that methods that are present in base classes must also be present in the derived classes.
- CHelps ensure that objects are easy to extend without requiring change to the original object.
- DRequires that object interfaces only include methods that will be needed by most implementers.
- EHelps make changing an object easier
9The Single Responsibility Principle _________.
- AHelps ensure that objects are highly reusable.
- BRequires that methods that are present in base classes must also be present in the derived classes.
- CHelps ensure that objects are easy to extend without requiring change to the original object.
- DRequires that object interfaces only include methods that will be needed by most implementers.
- EHelps make changing an object easier
10The Interface Segregation Principle _________.
- AHelps ensure that objects are highly reusable.
- BRequires that methods that are present in base classes must also be present in the derived classes.
- CHelps ensure that objects are easy to extend without requiring change to the original object.
- DRequires that object interfaces only include methods that will be needed by most implementers.
- EHelps make changing an object easier
11All design decisions should be made before coding begins :
- ATrue
- BFalse
12UML has many great features but its use describing domain models should be restricted because ___
- AIt takes too long to create the diagrams.
- BGood UML tools are too expensive.
- CIt is not a language known by most non-developers.
- DIts use is incompatible with the goals of domain modeling.
- EThe diagrams require you to include too much detail.
13Which of the following states that there are 2 persons associated with a contact and there can be any number of contacts?
- APerson 1.2---------Contact
- BPerson *--------1.2Contact
- CPerson 2----------*Contact
- DPerson *----------2Contact
14Which of the following is true of a Context Diagram? _________.
- ADescribes how the software being created interacts with elements in its environment.
- BCan be based on a use case diagram.
- CMight show the Internet.
- DDescribes what is in and what is outside the scope of the software project.
- EAll of a-d
15The primary difference between component diagrams and sequence diagrams is
- AComponent 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
- BThere is very difference, they are just two different ways of viewing component
- CIn component diagram the components use a rectangular shape with the component icon in the upper right corner but no component icon appears in sequence diagram
- DComponent diagram represent the code whereas sequence diagram represent behavior
16UML provides special notation for a subsystem element because
- ASubsystem elements have critical differences from components, which must be represented.
- BSubsystem elements and component elements are not substantially different so there is no need for them.
- CComponent elements have important aspects that are not representable using the provided subsystem element notation.
- DBoth a and c
- ENone of the above
17Component details in UML can be shown as text within a compartment of a component
- ATrue
- BFalse
18Which of the following statements is the most correct?
- AA component diagram shows a configuration of the system at a given moment.
- BA component diagram shows all potential interactions among components in a view.
- CA component diagram can show instances of classes.
- DBoth a and b
- EBoth b and c
19Which of the following statements is the most correct? _________ .
- AA class diagram shows a configuration of the system at a given moment.
- BA class diagram shows all potential interactions among components in a view.
- CA class diagram can show relationships between java interfaces and other classes.
- DBoth a and b.
- EBoth b and c.
20Which of the following statements is the most correct? _________.
- AA class diagram for a module always has three components.
- BA class diagram shows relationships among code units.
- CA class diagram supports analyzing behavior of complex protocols.
- DLollipop symbol is used to represent provides interfaces.
- ESocket symbol is used to represent provides interfaces.
- FClass and components diagrams are always very similar.
21Which of the following is(are) NOT well supported by the class diagram notation? ___________.
- AIdentifying public and private members of a class.
- BIdentifying which classes depend on other classes.
- CDiscussing how the system will behave.
- DDiscussing how to add newly required functionality to the system.
- EBoth a and d
22Class diagrams can be generated directly from code.
- ATrue
- BFalse
23The process of creating class diagrams is a valuable activity during design.
- ATrue
- BFalse
24All class diagrams created during design of a system should be maintained as part of the project documentation.
- ATrue
- BFalse
25A design pattern ______ .
- AContains a description of other related patterns.
- BCan be useful describing how a software problem was solved by a developer.
- CIs a general reusable solution to a commonly occurring problem within a given context in software design.
- DGives examples of code that used the pattern.
- EBoth a and c.
- FAll of a-d.
Information
- Description
- 2 Digital Technologies Quiz on SDP5 - Final [Part-1] часть первая 2, created by Bekinston Talgio on 03/07/2019.
- Author
- Bekinston Talgio
- Language
- English
- Views
- 12
- Tags
- Rating
- No ratings yet Rate this quiz