Top 350+ Solved Software Testing MCQ Questions Answer
Q. A powerful technique to use any time a system presents a small input domain with a largenumber of permutations is known as
a. Regression testing
b. Object oriented testing
c. Orthogonal array testing
d. None of the above
Q. What is the normal order of activities in which traditional software testing is organized?a. Integration testingb. System testingc. Unit testingd. Validation testing
a. a, d, c, b
b. b, d, a, c
c. c, a, d, b
d. d, b, c, a
Q. Which of the following need to be assessed during unit testing?
a. Algorithmic performance
b. Code stability
c. Execution paths
d. Both c and c
Q. Top-down integration testing has as it's major advantage(s) that
a. Low level modules never need testing
b. Major decision points are tested early
c. No drivers need to be written
d. Both b and c
Q. Bottom-up integration testing has as it's major advantage(s) that
a. Major decision points are tested early
b. No drivers need to be written
c. No stubs need to be written
d. Regression testing is not required
Q. The OO testing integration strategy involves testing
a. Groups of classes that collaborate or communicate in some way
b. Single operations as they are added to the evolving class implementation
c. Operator programs derived from use-case scenarios
d. None of the above
Q. Acceptance tests are normally conducted by the
a. Developer
b. End users
c. Test team
d. Systems engineers
Q. Fault-based testing is best reserved for
a. Conventional software testing
b. Operations and classes those are critical or suspect
c. Use-case validation
d. White-box testing of operator algorithms
Q. Testing OO class operations is made more difficult by
a. Encapsulation
b. Inheritance
c. Polymorphism
d. Both b and c
Q. Scenario-based testing
a. Concentrates on actor and software interaction
b. Misses errors in specifications
c. Misses errors in subsystem interactions
d. Both a and b
Q. Deep structure testing is not designed to
a. Examine object behaviors
b. Exercise communication mechanisms
c. Exercise object dependencies
d. Exercise structure observable by the user
Q. Which of these techniques is not useful for partition testing at the class level?
a. Attribute-based partitioning
b. Category-based partitioning
c. Equivalence class partitioning
d. State-based partitioning
Q. Tests derived from behavioral class models should be based on the
a. Data flow diagram
b. Object-relation diagram
c. State diagram
d. Use-case diagram
Q. _________ is the lease effective methods in isolating the cause of software errors.
a. Algorithmic Bugs.
b. Brute Force Approach.
c. Cause Elimination Approach.
d. Backtracking Approach
Q. The major disadvantage of top-down approach is need for _________.
a. Critical module.
b. skeleton
c. Stub.
d. Project