Question 1
Question
Verification and validation is intended to show that a system conforms to its specification and meets the requirements of the system customer
Question 2
Question
In component diagrams, ports ARE / ARE NOT optional.
Question 3
Question
In component diagrams, the lollipop-symbol is used to represent a PROVIDES / REQUIRES interface
Question 4
Question
In sequence diagrams, lifelines represent the activity of CLASSES / OBJECTS
Question 5
Question
Unit test should be written both before and after code is written:
Question 6
Question
Functional testing tests against the specification:
Question 7
Question
Which of the following are valid ways to avoid having a bad user interface? (Circle all that apply)
Answer
-
Speaks to experts who study user interfaces;
Build prototypes; Talk to users;
-
Limit the functionality the users can customize to minimize the interface
-
Make 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
Question 8
Question
Match the following: used to model domain model, used to represent runtime model, used to represent code model :
Answer
-
Class Diagram, Sequence Diagram, Component Diagram
-
Class Diagram, Collaboration Diagram, Use Case Diagram
-
Use Case Diagram, Sequence Diagram, Class Diagram
-
Use Case Diagram, Sequence Diagram, Deployment Diagram
Question 9
Question
Which 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?
Answer
-
Both a and b
-
Both b and c
-
Both c and e
Question 10
Question
Which of the following statements is the most correct? __________ .
Answer
-
A sequence diagram is used to model a sequence of activities associated with a use case.
-
A sequence diagram is used to model a sequence of messages exchanged among objects.
-
A sequence diagram is used to model a sequence of transitions among objects in a use case.
Question 11
Question
Which of the following is most correct? ___________.
Answer
-
United Models for Languages
-
Universal Modeling Language
-
Unified Modeling Language
-
United Modeling Language
Question 12
Question
Which of the following is best describes UML? ___________.
Question 13
Question
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 14
Question
Which of the following is not a UML diagram? ____________.
Question 15
Question
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 16
Question
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 17
Question
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 18
Question
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 19
Question
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 20
Question
All design decisions should be made before coding begins :
Question 21
Question
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 22
Question
Which of the following states that there are 2 persons associated with a contact and there can be any number of contacts?
Answer
-
Person 1.2---------Contact
-
Person *--------1.2Contact
-
Person 2----------*Contact
-
Person *----------2Contact
Question 23
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
Question 24
Question
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 difference, they are just two different ways of viewing component
-
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 diagram
-
Component diagram represent the code whereas sequence diagram represent behavior
Question 25
Question
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 26
Question
Component details in UML can be shown as text within a compartment of a component
Question 27
Question
Which of the following statements is the most correct?
Answer
-
A component diagram shows a configuration of the system at a given moment.
-
A component diagram shows all potential interactions among components in a view.
-
A component diagram can show instances of classes.
-
Both a and b
-
Both b and c
Question 28
Question
Which of the following statements is the most correct? _________ .
Answer
-
A class diagram shows a configuration of the system at a given moment.
-
A class diagram shows all potential interactions among components in a view.
-
A class diagram can show relationships between java interfaces and other classes.
-
Both a and b.
-
Both b and c.
Question 29
Question
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 30
Question
Which of the following is(are) NOT well supported by the class diagram notation? ___________.
Answer
-
Identifying public and private members of a class.
-
Identifying which classes depend on other classes.
-
Discussing how the system will behave.
-
Discussing how to add newly required functionality to the system.
-
Both a and d
Question 31
Question
Class diagrams can be generated directly from code.
Question 32
Question
The process of creating class diagrams is a valuable activity during design.
Question 33
Question
All class diagrams created during design of a system should be maintained as part of the project documentation.
Question 34
Question
A design pattern ______ .
Answer
-
Contains a description of other related patterns.
-
Can be useful describing how a software problem was solved by a developer.
-
Is a general reusable solution to a commonly occurring problem within a given context in software design.
-
Gives examples of code that used the pattern.
-
Both a and c.
-
All of a-d.
Question 35
Question
What is Gang of Four (GOF)?
Answer
-
Four authors of Book ‘Design Patterns - Elements of Reusable Object-Oriented Software’ are known as Gang of Four (GOF).
-
Gang of Four (GOF) is a name of a book on Design Patterns.
-
Gang of Four (GOF) is a Design Pattern.
-
None of the above.
Question 36
Question
Which of the following describes the Abstract Factory pattern correctly?
Answer
-
This pattern creates object without exposing the creation logic to the client and refer to newly created object using a common interface.
-
In this pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes.
-
This pattern involves a single class which is responsible to create an object while making sure that only single object gets created.
-
This pattern is used when we want to pass data with multiple attributes in one shot from client to server.
Question 37
Question
Which of the following is correct list of classifications of design patterns
Answer
-
Creational, Structural and Behavioral patterns
-
Executional, Structural and Behavioral patterns
-
Creational, Executional and Behavioral patterns
-
None of the above
Question 38
Question
Which of the following describes the Composite pattern correctly?
Answer
-
This pattern builds a complex object using simple objects and using a step by step approach.
-
This pattern is used where we need to treat a group of objects in similar way as a single object.
-
This pattern hides the complexities of the system and provides an interface to the client using which the client can access the system.
-
This pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance
Question 39
Question
Which of the following describes the Command pattern correctly?
Answer
-
In this pattern a class represents functionality of another class.
-
In this pattern a request is wrapped under an object as command and passed to invoker object
-
This pattern creates a chain of receiver objects for a request
-
This pattern provides a way to evaluate language grammar or expression
Question 40
Question
A type of software Life Cycle Activity which involves saving tests from the previous version to ensure that the new version retains the previous capabilities
Answer
-
Unit testing
-
Regression testing
-
Acceptance testing
-
System testing
Question 41
Question
Which of the following are examples of traditional process models?
Question 42
Question
Which of the following follows the correct sequence in a waterfall model?
Answer
-
Feasibility, Testing, Implementation, Requirement, Design
-
Feasibility, Requirements, Design, Implementation, Testing
-
Requirements, Feasibility, Design, Implementation, Testing
-
Testing, Design, Implementation, Feasibility, Requirements
Question 43
Question
A family of software development methodologies that produce software in short iterations and allow for greater changes or design
Question 44
Question
One 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
Question 45
Question
The waterfall model of software development is
Answer
-
A reasonable approach when requirements are well defined
-
A good approach when a working programs is required quickly
-
The best approach to use for projects with large development teams
-
An old fashioned model that is rarely used any more
Question 46
Question
The incremental model of software development is
Answer
-
A revolutionary model that is not used for commercial products
-
A reasonable approach when requirements are well defined
-
A good approach when a working programs is required quickly
-
The best approach to use for projects with large development teams
Question 47
Question
The spiral model of software development:
Answer
-
Ends with the delivery of the software product
-
Is more chaotic than the incremental model
-
Includes project risks evaluation during each iteration
-
All of the above
Question 48
Question
In an implementation of the singleton pattern, there is no constructor
Question 49
Question
Which of the following describes the Builder pattern correctly?
Answer
-
Build the complex objects using a simple objects
-
Creating a duplicate object while keeping performance in mind
-
Is used when creation of object directly is costly
-
None of them
Question 50
Question
Which of the following describes the Prototype pattern correctly?
Answer
-
Builds a complex object using simple objects
-
Duplicate object while keeping performance in mind
-
Works as a bridge between two incompatible interface
-
None of them
Question 51
Question
Pattern builds a complex object using simple objects and using a step-by-step approach?
Answer
-
Builder
-
State
-
Adapter
-
Prototype
Question 52
Question
Run time class is an example of singleton.
Question 53
Question
Which of the following is correct about Creational design patterns?
Answer
-
Provide a way to create objects while hiding creation logic
-
Concern class and object composition
-
Specifically concerned with communication between objects
-
None of the above
Question 54
Question
Which of the following is correct about Structural design patterns?
Answer
-
Specifically concerned with communication between objects
-
These design patterns concern class and object composition
-
Provide a way to create objects while hiding creation logic
-
None of the above
Question 55
Question
Defines interface for creating an object, but let subclasses decide which class to instantiate?
Answer
-
Factory Method
-
Prototype
-
Builder
-
Iterator
Question 56
Question
Defines a family of algorithms, encapsulate each one and make them interchangeable. It lets the algorithm vary independently from clients that use it.
Answer
-
Decorator
-
Visitor
-
Strategy
-
State
Question 57
Question
Define one-to-many dependency between objects so that when one object change state, all its dependent are notified and updated automatically.
Answer
-
Chain of responsibility
-
Observer
-
Singleton
-
Strategy
Question 58
Question
Ensure a class has only one instance, and provide a global access point to it.
Answer
-
Singleton
-
Flyweight
-
Factory
-
Builder
Question 59
Question
Which 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?
Answer
-
Factory builder design pattern
-
Builder design pattern
-
Method builder design pattern
-
Factory method design pattern
Question 60
Question
You want all the clients using class A to use the same instance of class A, what should you do to achieve this goal
Question 61
Question
When would you use the GOF Singleton design pattern?
Answer
-
Ensure that certain group of related objects are used together
-
To limit the class instantiation to one object
-
To provide global access to once instance across the system
-
To abstract steps of construction of complex objects
Question 62
Question
When would you use the GOF Adapter design pattern?
Answer
-
To translate an existing class interface into a compatible target interface
-
To improve your system performance
-
To transform the client code data into appropriate format expected by the target interface
-
To allow classes with incompatible interfaces to work together
Question 63
Question
Which of the following is a Gang of Four (GOF) Structural Design Pattern?
Answer
-
Composite
-
Flyweight
-
Singleton
-
Method Factory
Question 64
Question
You 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?
Answer
-
Apply the Proxy Pattern
-
Create a new class which implements the expected interface
-
Apply the Adapter Pattern
-
Copy & paste code from class in other app to new class
Question 65
Question
Suppose 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?
Answer
-
Abstract Factory
-
Decorator
-
Façade
-
Flyweight
Question 66
Question
What is verification?
Question 67
Question
What is validation?
Question 68
Question
Choose the right classification of the UML diagrams:
Answer
-
Structural, Behavioral, Static
-
Implementation, Dynamic, Static
-
Structural, Dynamic, Static
-
Behavioral, Dynamic, Static
Question 69
Question
“The database used in the system cannot process as many transactions per second as expected” - choose the right risk category
Answer
-
Technology risks
-
People risks
-
Organisational risks
-
Requirements risks
-
Estimation risks
Question 70
Question
“The time required to develop the software is underestimated” - choose the right risk category
Answer
-
Technology risks
-
People risks
-
Organisational risks
-
Requirements risks
-
Estimation risks
Question 71
Question
A design pattern ______
Answer
-
useful in - how a software problem was solved by a developer
-
a general reusable solution to a commonly occurring problem
-
gives examples of code that used the pattern
-
all
Question 72
Question
A family of software development methodologies that produce software in short iterations and allow for greater changes or design
Question 73
Question
A 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.
Answer
-
Adapter
-
Façade
-
Builder
-
Memento
Question 74
Question
Acceptance Testing can be done after system is installed.
Question 75
Question
Choose the right answer for the Agile Manifesto...
Answer
-
Individuals and interactions over processes and tools, Working software over comprehensive documentation, Customer collaboration over contract negotiation, Responding to change over following a plan
-
Individuals and interactions over processes and tools, Working software over comprehensive documentation, Customer collaboration over contract negotiation, Following a plan over responding to change
-
Individuals and interactions over processes and tools, Working software over comprehensive documentation, Contract negotiation over customer collaboration, Following a plan over responding to change
-
Individuals and interactions over processes and tools, Comprehensive documentation over working software, Contract negotiation over customer collaboration, Following a plan over responding to change
Question 76
Question
Choose the right classification of the CASE tools
Answer
-
Upper, Lower, Integrated
-
System, Upper, Lower
-
Unit, Integrated, System
-
Upper, Lower, Inner
Question 77
Question
Component diagram, deployment diagram are considered as types of
Answer
-
Implementation diagrams
-
Dynamic diagrams
-
Static diagrams
-
Behavioral diagram
Question 78
Question
Composition relationship is represented in UML notation by
Answer
-
Line with hollow diamond at one end
-
Line with solid diamond at one end
-
Line with an arrow at one end
-
Line without an arrow
Question 79
Question
Convert the interface of a class into another interface clients expect. This pattern lets classes work together that could not otherwise because of incompatible interfaces.
Answer
-
Command Pattern
-
Prototype Pattern
-
Factory Pattern
-
Observer Pattern
-
Adapter Pattern
Question 80
Question
Deviation from actual and expected value. It represents mistake made by people.
Question 81
Question
Diagrams which are used to distribute files, libraries and tables across topology of hardware are called
Answer
-
Deployment diagram
-
Class diagram
-
Collaboration diagram
-
Activity diagram
Question 82
Question
Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
Answer
-
Command Pattern
-
Prototype Pattern
-
Factory Pattern
-
Observer Pattern
-
Adapter Pattern
Question 83
Question
In 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.
Answer
-
Strategy
-
Façade
-
Builder
-
Memento
-
Adapter
Question 84
Question
Incorrect step, process or data definition in a computer program, which causes the program to behave in an unintended or unanticipated manner.
Question 85
Question
Lower case tools provide
Question 86
Question
Provide 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.
Answer
-
Façade Pattern
-
Prototype Pattern
-
Factory Pattern
-
Observer Pattern
-
Adapter Pattern
Question 87
Question
Regression testing can be automated
Question 88
Question
Regression testing is conducted for each change that may affect the functioning of previously baselined software.
Question 89
Question
Security and Access Control Testing, Interoperability Testing, Functional testing are ...
Question 90
Question
Sprint must continue ..
Answer
-
2-4 weeks
-
1-2 weeks
-
5-6 weeks
-
4-6 weeks
Question 91
Question
State diagram, Activity diagram, Sequence diagram, Collaboration diagram are considered as types of
Answer
-
Implementation diagrams
-
Dynamic diagrams
-
Static diagrams
-
Behavioral diagrams
Question 92
Question
The connection in IDEF3 diagram mean
Answer
-
source-work must be completed before the beginning of purpose-work
-
the object is used in one or several UOW. Ex.\: object is created in one work and uses in other
-
the works can be executed in parallel mode
-
No right answers
Question 93
Question
The Factory Pattern is
Answer
-
Creational
-
Behavioral
-
Executional
-
Structural
Question 94
Question
The junction in IDEF3 diagram is called as
Answer
-
AND Synchronous
-
OR Asynchronous
-
OR Synchronous
-
AND Asynchronous
Question 95
Question
The Observer Pattern is
Answer
-
Behavioral
-
Structural
-
Executional
-
Creational
Question 96
Question
The risk management process ….
Answer
-
Risk identification, Risk analysis, Risk planning, Risk monitoring
-
Risk identification, Risk planning, Risk analysis, Risk monitoring
-
Risk identification, Risk planning, Risk monitoring, Risk analysis
-
None of them
Question 97
Question
The Testing can be performed on the system by providing invalid data as input.
Answer
-
Negative Testing
-
Positive Testing
-
Stress Testing
-
Regression Testing
Question 98
Question
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
-
None
Question 99
Question
Upper case tools provide
Question 100
Question
Use case diagram, Class diagram are considered as types of
Answer
-
Implementation diagrams
-
Dynamic diagrams
-
Static diagrams
-
Behavioral diagrams
Question 101
Question
Users 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 ...
Answer
-
User control and freedom
-
Visibility of system status
-
Match between system and the real world
-
Consistency and standards
-
Aesthetic and minimalist design
Question 102
Question
What do you verify in White Box Testing?
Answer
-
All
-
Testing of each statement, object and function on an individual basis
-
Expected output
-
The flow of specific inputs through the code
Question 103
Question
What is the difference between Synchronous and Asynchronous junctions in the IDEF 3 diagram
Answer
-
In the Synchronous junctions work is started at the same time & in the Asynchronous junctions work is started (without case with time)
-
In the Asynchronous junctions work is started at the same time & in the Synchronous junctions work is started (without case with time)
-
In the Asynchronous and Synchronous junctions work is started at the same time, there is no difference
-
None
Question 104
Question
What term refers to the fast-paced building or construction of a software prototype?
Question 105
Question
Which of the following are the best question(s) the risk-driven model helps developers answer?
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 use?
-
Which techniques should we use in developing our project?
-
Both How much software architecture should we do & Which techniques should we use in developing our project
Question 106
Question
Which of the following follows the correct sequence in the life cycle?
Answer
-
Requirements, Design, Implementation, Testing, Deployment, Maintenance
-
Requirements, Implementation, Design, Testing, Deployment, Maintenance
-
Requirements, Implementation, Design, Deployment, Testing, Maintenance
-
Requirements, Design, Implementation, Testing, Maintenance, Deployment
Question 107
Question
Which of the following is a true about IDEF0 diagram?
Answer
-
Sides of the box\: right – input, left – output, up – controls, down – mechanisms
-
Sides of the box\: right –controls, left –mechanisms, up – input, down – output
-
Sides of the box\: right –controls, left – output, up – input, down – mechanisms
-
Sides of the box\: right – input, left – output, up – mechanisms, down – controls
-
None of them
Question 108
Question
Which of the following statements is not true?
Answer
-
Acceptance Testing helps to find defects in system
-
Acceptance Testing checks whether system meets needs and expectations
-
Acceptance Testing determines if system is ready for release
-
Acceptance Testing is responsibility of user
Question 109
Question
Which symbol is used to represent Package visibility in class diagram?
Question 110
Question
Which symbol is used to represent Private visibility in class diagram?
Question 111
Question
Which symbol is used to represent Protected visibility in class diagram?
Question 112
Question
Who is responsible for Acceptance Testing?
Answer
-
Customer
-
Developer
-
Designer
-
Software Tester
Question 113
Question
Why are Patterns important?