Quiz
SDP5 - Final [Part-1]
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 (113)
1Verification and validation is intended to show that a system conforms to its specification and meets the requirements of the system customer
- ATrue
- BFalse
2In component diagrams, ports ARE / ARE NOT optional.
- AAre
- BAre NOT
3In component diagrams, the lollipop-symbol is used to represent a PROVIDES / REQUIRES interface
- APROVIDES
- BREQUIRES
4In sequence diagrams, lifelines represent the activity of CLASSES / OBJECTS
- ACLASSES
- BOBJECTS
5Unit test should be written both before and after code is written:
- ATrue
- BFalse
6Functional testing tests against the specification:
- ATrue
- BFalse
- Cесть пруф
7Which of the following are valid ways to avoid having a bad user interface? (Circle all that apply)
- ASpeaks to experts who study user interfaces;
Build prototypes; Talk to users; - BLimit the functionality the users can customize to minimize the interface
- CMake sure the back end of the system works pretty well before presenting the user with the interface to avoid confusing the users with bugs and getting bad interface advice
- ASpeaks to experts who study user interfaces;
8Match the following: used to model domain model, used to represent runtime model, used to represent code model :
- AClass Diagram, Sequence Diagram, Component Diagram
- BClass Diagram, Collaboration Diagram, Use Case Diagram
- CUse Case Diagram, Sequence Diagram, Class Diagram
- DUse Case Diagram, Sequence Diagram, Deployment Diagram
9Which of the following are the best questions(s) the risk-driven model helps developers answer?
What is most important to the customer?
When are we done with the project?
How much software architecture should we do?
What programming language should we do?
Which techniques should we use in developing our project?- ABoth a and b
- BBoth b and c
- CBoth c and e
10Which 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.
11
Which of the following is most correct? ___________.- AUnited Models for Languages
- BUniversal Modeling Language
- CUnified Modeling Language
- DUnited Modeling Language
12Which 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.
13Three 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
14Which of the following is not a UML diagram? ____________.
- A

- B

- C

- D

- A
15The 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
16The 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
17Liskov’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
18The 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
19The 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
20All design decisions should be made before coding begins :
- ATrue
- BFalse
21UML 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.
22Which 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
23Which 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
24The 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
25UML 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
26Component details in UML can be shown as text within a compartment of a component
- ATrue
- BFalse
27Which 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
28Which 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.
29Which 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.
30Which 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
31Class diagrams can be generated directly from code.
- ATrue
- BFalse
32The process of creating class diagrams is a valuable activity during design.
- ATrue
- BFalse
33All class diagrams created during design of a system should be maintained as part of the project documentation.
- ATrue
- BFalse
34A 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.
35What is Gang of Four (GOF)?
- AFour authors of Book ‘Design Patterns - Elements of Reusable Object-Oriented Software’ are known as Gang of Four (GOF).
- BGang of Four (GOF) is a name of a book on Design Patterns.
- CGang of Four (GOF) is a Design Pattern.
- DNone of the above.
36Which of the following describes the Abstract Factory pattern correctly?
- AThis pattern creates object without exposing the creation logic to the client and refer to newly created object using a common interface.
- BIn this pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes.
- CThis pattern involves a single class which is responsible to create an object while making sure that only single object gets created.
- DThis pattern is used when we want to pass data with multiple attributes in one shot from client to server.
37Which of the following is correct list of classifications of design patterns
- ACreational, Structural and Behavioral patterns
- BExecutional, Structural and Behavioral patterns
- CCreational, Executional and Behavioral patterns
- DNone of the above
38Which of the following describes the Composite pattern correctly?
- AThis pattern builds a complex object using simple objects and using a step by step approach.
- BThis pattern is used where we need to treat a group of objects in similar way as a single object.
- CThis pattern hides the complexities of the system and provides an interface to the client using which the client can access the system.
- DThis pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance
39Which of the following describes the Command pattern correctly?
- AIn this pattern a class represents functionality of another class.
- BIn this pattern a request is wrapped under an object as command and passed to invoker object
- CThis pattern creates a chain of receiver objects for a request
- DThis pattern provides a way to evaluate language grammar or expression
40A type of software Life Cycle Activity which involves saving tests from the previous version to ensure that the new version retains the previous capabilities
- AUnit testing
- BRegression testing
- CAcceptance testing
- DSystem testing
41Which of the following are examples of traditional process models?
- AWaterfall, Incremental, Spiral
- BXP, Scrum, Kanban
- CWaterfall, XP, Spiral
- DSpiral, V-Model, Scrum
42Which of the following follows the correct sequence in a waterfall model?
- AFeasibility, Testing, Implementation, Requirement, Design
- BFeasibility, Requirements, Design, Implementation, Testing
- CRequirements, Feasibility, Design, Implementation, Testing
- DTesting, Design, Implementation, Feasibility, Requirements
43A family of software development methodologies that produce software in short iterations and allow for greater changes or design
- AAgile Processes
- BTraditional Process Models
- CBoth answers are correct
- DNone of the above
44One of the key practices in XP which ensures that all production code is written with two programmers working at the same machine or facility. This is the revision step taken to the extreme. All code is always reviewed by at least one other person
- APair programming
- BTest driven development
- CDesign improvement (refactoring)
- DNone of the above
45The waterfall model of software development is
- AA reasonable approach when requirements are well defined
- BA good approach when a working programs is required quickly
- CThe best approach to use for projects with large development teams
- DAn old fashioned model that is rarely used any more
46The incremental model of software development is
- AA revolutionary model that is not used for commercial products
- BA reasonable approach when requirements are well defined
- CA good approach when a working programs is required quickly
- DThe best approach to use for projects with large development teams
47The spiral model of software development:
- AEnds with the delivery of the software product
- BIs more chaotic than the incremental model
- CIncludes project risks evaluation during each iteration
- DAll of the above
48In an implementation of the singleton pattern, there is no constructor
- ATrue
- BFalse
49Which of the following describes the Builder pattern correctly?
- ABuild the complex objects using a simple objects
- BCreating a duplicate object while keeping performance in mind
- CIs used when creation of object directly is costly
- DNone of them
50Which of the following describes the Prototype pattern correctly?
- ABuilds a complex object using simple objects
- BDuplicate object while keeping performance in mind
- CWorks as a bridge between two incompatible interface
- DNone of them
51Pattern builds a complex object using simple objects and using a step-by-step approach?
- ABuilder
- BState
- CAdapter
- DPrototype
52Run time class is an example of singleton.
- ATrue
- BFalse
53Which of the following is correct about Creational design patterns?
- AProvide a way to create objects while hiding creation logic
- BConcern class and object composition
- CSpecifically concerned with communication between objects
- DNone of the above
54Which of the following is correct about Structural design patterns?
- ASpecifically concerned with communication between objects
- BThese design patterns concern class and object composition
- CProvide a way to create objects while hiding creation logic
- DNone of the above
55Defines interface for creating an object, but let subclasses decide which class to instantiate?
- AFactory Method
- BPrototype
- CBuilder
- DIterator
56Defines a family of algorithms, encapsulate each one and make them interchangeable. It lets the algorithm vary independently from clients that use it.
- ADecorator
- BVisitor
- CStrategy
- DState
57Define one-to-many dependency between objects so that when one object change state, all its dependent are notified and updated automatically.
- AChain of responsibility
- BObserver
- CSingleton
- DStrategy
58Ensure a class has only one instance, and provide a global access point to it.
- ASingleton
- BFlyweight
- CFactory
- DBuilder
59Which design pattern you would use to decouple the creation procedure of a complex object from its concrete instance to be able to apply that procedure on variety of implementations?
- AFactory builder design pattern
- BBuilder design pattern
- CMethod builder design pattern
- DFactory method design pattern
60You want all the clients using class A to use the same instance of class A, what should you do to achieve this goal
- AMark class A final
- BApply the Singleton pattern to class A
- CMark class A abstract
- DApply the Memento pattern to class A
61When would you use the GOF Singleton design pattern?
- AEnsure that certain group of related objects are used together
- BTo limit the class instantiation to one object
- CTo provide global access to once instance across the system
- DTo abstract steps of construction of complex objects
62When would you use the GOF Adapter design pattern?
- ATo translate an existing class interface into a compatible target interface
- BTo improve your system performance
- CTo transform the client code data into appropriate format expected by the target interface
- DTo allow classes with incompatible interfaces to work together
63Which of the following is a Gang of Four (GOF) Structural Design Pattern?
- AComposite
- BFlyweight
- CSingleton
- DMethod Factory
64You are trying to add a class already written in another application to serve clients, beside other classes, in your system. All other classes have the same interface, the incoming class has a totally different interface than the clients expect, but contains all required functionalities.
What kind of refactoring is needed to make this class fit in with minimum changes in your system?- AApply the Proxy Pattern
- BCreate a new class which implements the expected interface
- CApply the Adapter Pattern
- DCopy & paste code from class in other app to new class
65Suppose you need to define parallel class hierarchies of graphical user interface components for different platforms. Which of the following patterns is likely to be the most helpful in that task?
- AAbstract Factory
- BDecorator
- CFaçade
- DFlyweight
66What is verification?
- AConfirms to requirements (Producer view of quality)
- BFit for use (Consumers view of quality)
67What is validation?
- AConfirms to requirements (Producer view of quality)
- BFit for use (Consumers view of quality)
68Choose the right classification of the UML diagrams:
- AStructural, Behavioral, Static
- BImplementation, Dynamic, Static
- CStructural, Dynamic, Static
- DBehavioral, Dynamic, Static
69“The database used in the system cannot process as many transactions per second as expected” - choose the right risk category
- ATechnology risks
- BPeople risks
- COrganisational risks
- DRequirements risks
- EEstimation risks
70“The time required to develop the software is underestimated” - choose the right risk category
- ATechnology risks
- BPeople risks
- COrganisational risks
- DRequirements risks
- EEstimation risks
71A design pattern ______
- Auseful in - how a software problem was solved by a developer
- Ba general reusable solution to a commonly occurring problem
- Cgives examples of code that used the pattern
- Dall
72A family of software development methodologies that produce software in short iterations and allow for greater changes or design
- AAgile Processes
- BTraditional Process Models
- CBoth answers are correct
- DNone
73A real life example could be a case of card reader, which acts as an The Pattern is used between memory card and a laptop. You plugin the memory card into card reader and card reader into the laptop so that memory card can be read via laptop.
- AAdapter
- BFaçade
- CBuilder
- DMemento
74Acceptance Testing can be done after system is installed.
- ATrue
- BFalse
75Choose the right answer for the Agile Manifesto...
- AIndividuals and interactions over processes and tools, Working software over comprehensive documentation, Customer collaboration over contract negotiation, Responding to change over following a plan
- BIndividuals and interactions over processes and tools, Working software over comprehensive documentation, Customer collaboration over contract negotiation, Following a plan over responding to change
- CIndividuals and interactions over processes and tools, Working software over comprehensive documentation, Contract negotiation over customer collaboration, Following a plan over responding to change
- DIndividuals and interactions over processes and tools, Comprehensive documentation over working software, Contract negotiation over customer collaboration, Following a plan over responding to change
76Choose the right classification of the CASE tools
- AUpper, Lower, Integrated
- BSystem, Upper, Lower
- CUnit, Integrated, System
- DUpper, Lower, Inner
77Component diagram, deployment diagram are considered as types of
- AImplementation diagrams
- BDynamic diagrams
- CStatic diagrams
- DBehavioral diagram
78Composition relationship is represented in UML notation by
- ALine with hollow diamond at one end
- BLine with solid diamond at one end
- CLine with an arrow at one end
- DLine without an arrow
79Convert the interface of a class into another interface clients expect. This pattern lets classes work together that could not otherwise because of incompatible interfaces.
- ACommand Pattern
- BPrototype Pattern
- CFactory Pattern
- DObserver Pattern
- EAdapter Pattern
80Deviation from actual and expected value. It represents mistake made by people.
- AError
- BBug
- CFault
- DDefect
81Diagrams which are used to distribute files, libraries and tables across topology of hardware are called
- ADeployment diagram
- BClass diagram
- CCollaboration diagram
- DActivity diagram
82Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
- ACommand Pattern
- BPrototype Pattern
- CFactory Pattern
- DObserver Pattern
- EAdapter Pattern
83In the pattern, we create objects, which represent various strategies, and a context object whose behavior varies as per its strategy object. The object changes the executing algorithm of the context object.
- AStrategy
- BFaçade
- CBuilder
- DMemento
- EAdapter
84Incorrect step, process or data definition in a computer program, which causes the program to behave in an unintended or unanticipated manner.
- AFault
- BError
- CBug
- DFailure
85Lower case tools provide
- Afront-end tools
- Bback-end tools
- Csupport for the full life cycle
- Dnone of them
86Provide a unified interface to a set of interfaces in a subsystem. This pattern defines a higher-level interface that makes the subsystem easier to use.
- AFaçade Pattern
- BPrototype Pattern
- CFactory Pattern
- DObserver Pattern
- EAdapter Pattern
87Regression testing can be automated
- ATrue
- BFalse
88Regression testing is conducted for each change that may affect the functioning of previously baselined software.
- ATrue
- BFalse
89Security and Access Control Testing, Interoperability Testing, Functional testing are ...
- AFunctional testing
- BNon - Functional testing
- CConnected with changes testing
- DBoth Functional & Non – Functional testing
90Sprint must continue ..
- A2-4 weeks
- B1-2 weeks
- C5-6 weeks
- D4-6 weeks
91State diagram, Activity diagram, Sequence diagram, Collaboration diagram are considered as types of
- AImplementation diagrams
- BDynamic diagrams
- CStatic diagrams
- DBehavioral diagrams
92The connection in IDEF3 diagram mean
- Asource-work must be completed before the beginning of purpose-work
- Bthe object is used in one or several UOW. Ex.\: object is created in one work and uses in other
- Cthe works can be executed in parallel mode
- DNo right answers
93The Factory Pattern is
- ACreational
- BBehavioral
- CExecutional
- DStructural
94The junction in IDEF3 diagram is called as
- AAND Synchronous
- BOR Asynchronous
- COR Synchronous
- DAND Asynchronous
95The Observer Pattern is
- ABehavioral
- BStructural
- CExecutional
- DCreational
96The risk management process ….
- ARisk identification, Risk analysis, Risk planning, Risk monitoring
- BRisk identification, Risk planning, Risk analysis, Risk monitoring
- CRisk identification, Risk planning, Risk monitoring, Risk analysis
- DNone of them
97The Testing can be performed on the system by providing invalid data as input.
- ANegative Testing
- BPositive Testing
- CStress Testing
- DRegression Testing
98Three 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
- ENone
99Upper case tools provide
- Afront-end tools
- Bback-end tools
- Csupport for the full life cycle
- Dnone of them
100Use case diagram, Class diagram are considered as types of
- AImplementation diagrams
- BDynamic diagrams
- CStatic diagrams
- DBehavioral diagrams
101Users often choose system functions by mistake and will need a clearly marked "emergency exit" to leave the unwanted state without having to go through an extended dialogue. Choose the name of heuristic ...
- AUser control and freedom
- BVisibility of system status
- CMatch between system and the real world
- DConsistency and standards
- EAesthetic and minimalist design
102What do you verify in White Box Testing?
- AAll
- BTesting of each statement, object and function on an individual basis
- CExpected output
- DThe flow of specific inputs through the code
103What is the difference between Synchronous and Asynchronous junctions in the IDEF 3 diagram
- AIn the Synchronous junctions work is started at the same time & in the Asynchronous junctions work is started (without case with time)
- BIn the Asynchronous junctions work is started at the same time & in the Synchronous junctions work is started (without case with time)
- CIn the Asynchronous and Synchronous junctions work is started at the same time, there is no difference
- DNone
104What term refers to the fast-paced building or construction of a software prototype?
- ARapid application development (RAD)
- BSpeed programming
- CScrum
- DWaterfall
105Which of the following are the best question(s) the risk-driven model helps developers answer?
- AWhat is most important to the customer?
- BWhen are we done with the project?
- CHow much software architecture should we do?
- DWhat programming language should we use?
- EWhich techniques should we use in developing our project?
- FBoth How much software architecture should we do & Which techniques should we use in developing our project
106Which of the following follows the correct sequence in the life cycle?
- ARequirements, Design, Implementation, Testing, Deployment, Maintenance
- BRequirements, Implementation, Design, Testing, Deployment, Maintenance
- CRequirements, Implementation, Design, Deployment, Testing, Maintenance
- DRequirements, Design, Implementation, Testing, Maintenance, Deployment
107Which of the following is a true about IDEF0 diagram?
- ASides of the box\: right – input, left – output, up – controls, down – mechanisms
- BSides of the box\: right –controls, left –mechanisms, up – input, down – output
- CSides of the box\: right –controls, left – output, up – input, down – mechanisms
- DSides of the box\: right – input, left – output, up – mechanisms, down – controls
- ENone of them
108Which of the following statements is not true?
- AAcceptance Testing helps to find defects in system
- BAcceptance Testing checks whether system meets needs and expectations
- CAcceptance Testing determines if system is ready for release
- DAcceptance Testing is responsibility of user
109Which symbol is used to represent Package visibility in class diagram?
- A\~
- B\#
- C*
- D-
- E+
110Which symbol is used to represent Private visibility in class diagram?
- A\~
- B\#
- C*
- D-
- E+
111Which symbol is used to represent Protected visibility in class diagram?
- A\~
- B\#
- C*
- D-
- E+
112Who is responsible for Acceptance Testing?
- ACustomer
- BDeveloper
- CDesigner
- DSoftware Tester
113Why are Patterns important?
- AAll
- BThey capture expert design knowledge
- CThey make captured design accessible to both novices and other experts
- DNone
Information
- Description
- 2 Digital Technologies Quiz on SDP5 - Final [Part-1], created by Bekinston Talgio on 03/07/2019.
- Author
- Bekinston Talgio
- Language
- English
- Views
- 2
- Tags
- Rating
- No ratings yet Rate this quiz