This set of Software Engineering Multiple Choice Questions & Answers (MCQs) focuses on “Test Case Design”.
1. What do you understand by V&V in software testing?
a) Verified Version
b) Version Validation
c) Verification and Validation
d) Version Verification
Explanation: V&V generally refers to any activity that attempts to ensure that the software will function as required.
2. In static test techniques, behavioral and performance properties of the program are observed.
Explanation: Static Analysis Techniques are based solely on the (manual or automated) examination of project documentation of software models and code.
3. Which granularity level of testing checks the behavior of module cooperation?
a) Unit Testing
b) Integration Testing
c) Acceptance Testing
d) Regression Testing
Explanation: Integration testing is the phase in software testing in which individual software modules are combined and tested as a group.
4. Which test refers to the retesting of a unit, integration and system after modification, in order to ascertain that the change has not introduced new faults?
a) Regression Test
b) Smoke Test
c) Alpha Test
d) Beta Test
Explanation: Regression test seeks to uncover new software bugs in existing functional and non-functional areas of a system after changes have been made to them.
5. 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
Explanation: Rest are test strategies of white box testing.
6. 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
7. 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
Explanation: Boundary value analysis is a software testing technique in which tests are designed to include representatives of boundary values.
8. A white box test scales up well at different granularity levels of testing.
Explanation: A white box test is mostly applicable at unit and integration testing level.
9. 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
Explanation: As software testing is an exhaustive process, when the quality assurance is established and the product is ready to be delivered, testing is stopped.
10. Which of the following is not a part of a test design document?
a) Test Plan
b) Test Design Specification
c) Test Case Specification
d) Test Log
Explanation: Test log is a part of testing result document.
11. 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
12. Acceptance & system test planning are a part of architectural design.
Explanation: They are a part of requirements engineering, while integration & unit test planning come under architectural design.
13. 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.
Sanfoundry Global Education & Learning Series – Software Engineering.