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

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

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

You want to avoid multiple inheritance. Which design pattern would you choose ?

A. Abstraction-occurrence pattern
B. Player-role pattern
C. General hierarchy pattern
D. Singleton pattern

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

When does the testing process stops ?

A. When resources (time and budget) are over
B. When some coverage is reached
C. When quality criterion is reached
D. Testing never ends

In which test design each input is tested at both ends of its valid range and just outside its valid range ?

A. Boundary value testing
B. Equivalence class partitioning
C. Boundary value testing and equivalence class partitioning
D. Decision tables

What do you understand by V&V in software testing ?

A. Verified version
B. Version validation
C. Verification and validation
D. Version verification

Which granularity level of testing checks the behavior of module cooperation ?

A. Unit testing
B. Integration testing
C. Acceptance testing
D. Regression testing

Which of the following is a black box testing strategy ?

A. All statements coverage
B. Control structure coverage
C. Cause-effect graphs
D. All paths coverage