Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

February 2019

Specifying a set of test cases or test paths for each item to be tested at that level is known as__________________?

Specifying a set of test cases or test paths for each item to be tested at that level is known as__________________?

A. Test case generation
B. Test case design
C. ALL of the mentioned
D. None of the mentioned

Specifying a set of test cases or test paths for each item to be tested at that level is known as__________________? Read More »

Design and Implementation

In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem ?

In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem ?

A. encapsulating the knowledge of which document subclass to is to be created and
B. moving this knowledge out of the framework
C. instantiating the application specific documents without knowing their class
D. all of the mentioned

Explanation: Following all the options in order will solve the factory method problem.

In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem ? Read More »

Design and Implementation

Which design pattern defines one-to-many dependency among objects ?

Which design pattern defines one-to-many dependency among objects ?

A. Singleton pattern
B. Facade Pattern
C. Observer pattern
D. Factory method pattern

Explanation: Observer pattern defines one-to-many dependency among objects so that when one object changes its state, all its dependents are notified.

Which design pattern defines one-to-many dependency among objects ? Read More »

Design and Implementation

Which pattern prevents one from creating more than one instance of a variable ?

Which pattern prevents one from creating more than one instance of a variable ?

A. Factory Method
B. Singleton
C. Observer
D. None of the mentioned

Explanation: In singleton pattern, the class itself is made responsible for keeg track of its instance.Thus it ensures that no more than one instance is created.

Which pattern prevents one from creating more than one instance of a variable ? Read More »

Design and Implementation

You want to minimize development cost by reusing methods? Which design pattern would you choose ?

You want to minimize development cost by reusing methods? Which design pattern would you choose ?

A. Adapter Pattern
B. Singleton Pattern
C. Delegation pattern
D. Immutable Pattern

Explanation: The delegation pattern is a design pattern in OOP where an object, instead of performing one of its stated tasks, delegates that task to an associated helper object.

You want to minimize development cost by reusing methods? Which design pattern would you choose ? Read More »

Design and Implementation

PRD stands for____________________?

PRD stands for____________________?

A. Product Requirement Document
B. Project Requirement Document
C. Product Restrictions Document
D. None of the mentioned

Explanation: A product requirements document (PRD. is a document written by a company that defines a product they are making, or the requirements for one or more new features for an existing product.

PRD stands for____________________? Read More »

Design and Implementation