0% found this document useful (0 votes)
12 views9 pages

ST Unit Ii MCQ

The document discusses various software testing techniques and concepts. It provides definitions and explanations of different types of testing like unit testing, integration testing, white box testing and black box testing. It also includes examples of MCQ questions and their answers related to these software testing topics.

Uploaded by

Arise and Shine
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
0% found this document useful (0 votes)
12 views9 pages

ST Unit Ii MCQ

The document discusses various software testing techniques and concepts. It provides definitions and explanations of different types of testing like unit testing, integration testing, white box testing and black box testing. It also includes examples of MCQ questions and their answers related to these software testing topics.

Uploaded by

Arise and Shine
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1/ 9

SOFTWARE TESTING

UNIT II MCQ

1) Black box testing is only functional testing.

a. True
b. False

ANSWER: False

2) Which technique is applied for usability testing?

a. White box
b. Black box
c. Grey box
d. Combination of all

ANSWER: Black box

3) What is the main purpose of integration testing?

a. Design errors
b. Interface errors
c. Procedure errors
d. None of the above

ANSWER: Interface errors

4) Which of the following is the main advantage of Top Down Integration Testing?

a. Major decision points are tested early.


b. Modules are not tested by team again and again.
c. No stubs need to be written
d. None of the above.

ANSWER: Major decision points are tested early.

5) Testing of individual components by the developers are comes under which type of testing?

a. Integration testing
b. Validation testing
c. Unit testing
d. None of the above.
ANSWER: Unit testing

6) ______ is a white-box testing technique first proposed by Tom McCabe.

a. Equivalence Partitioning
b. Basis Path Testing
c. Boundary Value Analysis
d. None of the above.

ANSWER: Basis Path Testing

7) What types of errors are not done by Black-Box Testing and can be uncovered by White-Box
Testing?

a. Logic errors
b. Performance errors
c. Behavioral errors
d. None of the above

ANSWER: Logic errors

8) Which of the following can be found using Static Testing Techniques?

a. Defect
b. Failure
c. Both A & B

ANSWER: Defect

9) Which of the following is a software metric that provides a quantitative measure of the
logical complexity of a program?

a. Cyclomatic Complexity
b. LOC
c. Function Point
d. None of the above.

ANSWER: Cyclomatic Complexity

10) What is Cyclomatic Complexity?

a. Black box testing


b. White box testing
c. Grey box testing
d. Combination of all
ANSWER: White box testing

11) Which of the following is not a method of Dynamic Testing?

1. System testing
2. UAT
3. Inspection
4. Unit Testing
5. Walk through
6. Technical review

a. 1,2,4
b. 3,5,6
c. 2,3,5,6
d. All of the above

ANSWER: 3,5,6

12) Which of the following is/are Structural Testing Technique?

a. Statement Coverage
b. Decision Coverage
c. Condition Coverage
d. Path Coverage
e. All of the above

ANSWER: All of the above

13) Which are the benefits of Static Testing?

a. Early feedback of a quality.


b. Less rework cost.
c. Increased developmental productivity.
d. All of the above

ANSWER: All of the above

14) What is Static Analysis?

a. The analysis of batch programs.


b. The reviewing of test plans.
c. The analysis of program code.
d. The use of black box testing.

ANSWER: The analysis of program code.


15) Which is/are the characteristics of Equivalence Partitioning?

a. In equivalence-partitioning technique we need to test only one condition from each partition.
b. If one condition in a partition works, we assume all of the conditions in that partition will
work.
c. if one of the conditions in a partition does not work, then we assume that none of the
conditions in that partition will work.
d. Equivalence partitions and equivalence classes both terms mean exactly the same thing.
e. All of the above

ANSWER: All of the above

16) Stubs and Drivers are used in component and Integration Testing.

a. True
b. False

ANSWER: True

17) Cyclomatic Complexity cannot be applied in _______ .

a. Re-engineering
b. Risk Management
c. Test Planning
d. Reverse engineering

ANSWER: Reverse engineering

18) Which of the following is used in high level of testing?

a. Functional testing
b. Structural testing
c. Glass box testing
d. All of these

ANSWER: Functional testing

19) Error guessing can have more fruitful results when ______ .

a. System has been deployed


b. When testing with inexperience tester
c. As a first approach of testing
d. As a additional technique after applying more formal techniques

ANSWER: As a additional technique after applying more formal techniques


20) Which of the followings is NOT a White Box Technique?

a. Statement testing
b. Path testing
c. Data flow testing
d. None of the above

ANSWER: None of the above

21) Which of the following is not another name for Structural Testing?

a. White box Testing


b. Glass box Testing
c. Behavioural Testing
d. None of the above

ANSWER: Behavioural Testing

22) What do you verify in White Box Testing?

a. Testing of each statement, object and function on an individual basis.


b. Expected output.
c. The flow of specific inputs through the code.
d. All of the above.

ANSWER: All of the above.

23) What is an Equivalence Partition?

a. A set of test cases for testing classes of objects.


b. An input or output range of values such as have only one value in the range becomes a test
case.
c. An input or output range of values such that each value in the range becomes a test case
d. An input or output range of values such that every tenth value in the range becomes a test
case.

ANSWER: An input or output range of values such as have only one value in the range becomes
a test case.

24) Which of the followings is/are not a Specification Based Technique?

a. Cause-Effect Table
b. State transition Testing
c. Decision Coverage
d. Use case Testing

ANSWER: Decision Coverage


25) Which is/are parts of State Transition Model?

a. The states that the software may occupy


b. The transition from one state to another
c. The event that cause a transition
d. The action that result from transition
e. All of the above

ANSWER: All of the above

26) Which of the followings is/are a form of Functional Testing?

a. Boundary Value Analysis


b. Usability Testing
c. Performance Testing
d. Security Testing

ANSWER: Boundary Value Analysis

27) Which of the followings is/are best described as Smoke Testing?

a. Part of Black Box Testing.


b. Unit testing for small programs
c. Rolling Integration Testing
d. None of the above.

ANSWER: Rolling Integration Testing

28) Defects can be found more easily in ________ .

a. Bottom up Integration Testing


b. Top down Integration Testing
c. Big Bang Testing.
d. Sandwich Integration Testing

ANSWER: Bottom up Integration Testing

29) In Big Bang Integration, all the modules are not required to be completed before the
Integration Testing starts.

a. True
b. False

ANSWER: False
30) Equivalence partitioning and boundary value analysis techniques are used only during
system testing.

a. True
b. False

ANSWER: False

31) White-Box Testing is also known as ________ .

a. Structural testing
b. Code-Based Testing
c. Clear box testing
d. All of the above

ANSWER: All of the above

32) What are the objectives of Integration Testing?

a. To verify that system is functioning according to specified requirements.


b. To verify that system meets user expectation and needs.
c. To verify that system separately testable modules are functioning properly.
d. To verify that interfaces between different parts of system.
e. All of the above

ANSWER: To verify that interfaces between different parts of system.

33) The goal of Integration Testing is to find defects in communication between two modules
rather than seeing if modules are working correctly.

a. True
b. False

ANSWER: True

34) Stubs and Drivers are used in Big Bang Integration.

a. True
b. False

ANSWER: False

35) Which of the following categories, Black-box testing attempts to find errors?

a. Incorrect or missing functions


b. Interface errors
c. Behavior or performance errors
d. All of the above

ANSWER: All of the above

36) If Static Testing is done prior to Dynamic Testing, it would be beneficial.

a. True
b. False

ANSWER: True

37) Which is the odd one out?

a. Error Guessing
b. Walkthrough
c. Data flow analysis
d. Inspections

ANSWER: Error Guessing

38) White Box Testing is not concern with _________.

a. Statement Coverage
b. Decision Coverage
c. Cause and Effect Coverage
d. Multiple Condition Coverage

ANSWER: Cause and Effect Coverage

39) To check whether coding standards are followed, which type of testing will be beneficial?

a. Dynamic Testing
b. Static Testing
c. Parameter Testing
d. Computation Testing

ANSWER: Static Testing

40) Which of the following is / are Integration approaches?

1. Top – Down Integration


2. Bottom - Up Integration
3. Functional Integration
4. Big bang Integration

a. 1, 2
b. 1, 2, 4
c. 1, 2, 3
d. All the above

ANSWER: All the above

41) A set of inputs, execution preconditions and expected outcomes is known as a


a) Test plan
b) Test case
c) Test document
d) Test Suite

ANSWER: Test case

42) A useful tool to visualize, clarify, link, identify, and classify possible cause of a problem.
This is also called as “fishbone diagram” what is this?
A. Pareto Analysis
B. Cause-and-Effect Diagram

ANSWER: Cause-and-Effect Diagram

43) What are the Types of Integration Testing?


A. Big Bang Testing
B. Bottom Up Testing
C. Top Down Testing
D. All the above

ANSWER: All the above

44) __________ methods can be used to drive validations tests


a) Yellow-box testing
b) Black-box testing
c) White-box testing
d) All of the mentioned

ANSWER: Black-box testing

You might also like