Free Software Testing and Quality Assurance MCQs with Answers
181 Software Testing and Quality Assurance MCQs from Software Engineering, each with the correct answer and a written explanation of why it is correct. Free and unlimited, with no account needed.
Last updated
181 questions · page 6 of 10
- A. Black Box
- B. White Box
- C. Gray Box
- D. Green Box
Explanation: Architectural metrics examine the externally visible structure and relationships of a system, so they are treated as black-box measures.
Correct answer: Black Box- A. in the current release
- B. in the current release that have been changed
- C. from the preceding release that were deleted in the current release
- D. none of the mentioned
Explanation: In the SMI formula, Mt is the total number of modules in the current release; Fa, Fc, and Fd then account for additions, changes, and…
Correct answer: in the current release- A. "fan check-out" of module i
- B. "fan check-in" of module i
- C. "fan in" of module i
- D. "fan out" of module i
Explanation: Fan-out is the number of modules directly called by module i, and structural complexity is commonly represented as the square of this…
Correct answer: "fan out" of module i- A. FP = [count total * 0.65]+ 0.01 * sum(Fi)
- B. FP = count total * [0.65 + 0.01 * sum(Fi)].
- C. FP = count total * [0.65 + 0.01] * sum(Fi)
- D. FP = [count total * 0.65 + 0.01]* sum(Fi)
Explanation: The standard adjusted Function Point formula is FP = count total × [0.65 + 0.01 × sum(Fi)], where the Fi values are the…
Correct answer: FP = count total * [0.65 + 0.01 * sum(Fi)].- A. Analysis Model
- B. Testing
- C. Design Model
- D. Source Code
Explanation: Statement coverage checks whether executable statements run, while branch coverage checks whether decision outcomes are exercised.
Correct answer: Testing- A. Intellectual skill to learn the system
- B. Time required to become moderately efficient in system usage
- C. Net increase in productivity
- D. All of the mentioned
Explanation: Usability includes learnability, the time needed to achieve reasonable proficiency, and the productivity gained while using the system.
Correct answer: All of the mentioned- A. E - errors found before software delivery
- B. D - defects found after delivery to user
- C. Both E and D
- D. Varies with project
Explanation: DRE is commonly calculated as E/(E+D), where E is defects found before delivery and D is defects found after delivery.
Correct answer: Both E and D- A. creating program code
- B. finding and correcting errors in the program code
- C. identifying the task to be computerized
- D. creating the algorithm
Explanation: Debugging locates the causes of defects and then modifies the code to correct them.
Correct answer: finding and correcting errors in the program code- A. True
- B. False
Explanation: Static analysis examines source code, models, or other artefacts without running the program.
Correct answer: False- A. Formal verification
- B. Model checking
- C. Automated program analysis
- D. All of the mentioned
Explanation: Static analysis includes formal verification, model checking, and automated analysis of program code or models without execution.
Correct answer: All of the mentioned- A. Model checking is particularly valuable for verifying concurrent systems
- B. Model checking is computationally very inexpensive
- C. The model checker explores all possible paths through the model
- D. All of the mentioned
Explanation: Model checking can be valuable for concurrent systems and typically explores possible system states or paths, but it is not…
Correct answer: Model checking is computationally very inexpensive- A. Control Faults
- B. Data Faults
- C. Input/Output Faults
- D. Interface faults
Explanation: An unused variable is a data fault because the program declares or stores data that has no effective use.
Correct answer: Data Faults- A. Storage management faults
- B. Data Faults
- C. Input/Output Faults
- D. Interface faults
Explanation: Ignoring a function's result is an interface fault because it indicates incorrect use of the function's provided interface or return…
Correct answer: Interface faults- A. Characteristic error checking
- B. User-defined error checking
- C. Assertion checking
- D. All of the mentioned
Explanation: User-defined error checking lets developers specify rules tailored to a particular program, beyond the tool's built-in checks.
Correct answer: User-defined error checking- A. Control Faults
- B. Data Faults
- C. Input/Output Faults
- D. Interface faults
Explanation: Unreachable code is a control fault because the program's control flow can never reach that statement.
Correct answer: Control Faults- A. True
- B. False
Explanation: Static analysis examines source or compiled code without executing it, making it useful for finding defects early in safety-critical and…
Correct answer: True- A. Storage management faults
- B. Data Faults
- C. Input/Output Faults
- D. Interface faults
Explanation: Pointer arithmetic is classified here as a storage-management fault because incorrect pointer calculations can address memory outside the…
Correct answer: Storage management faults- A. Attack
- B. Threat
- C. Vulnerability
- D. Control
Explanation: A threat is a circumstance or potential event that can cause loss or harm.
Correct answer: Threat119. A system resource that has a value and has to be protected is known as ________________________?
- A. Asset
- B. Control
- C. Vulnerability
- D. None of the mentioned
Explanation: An asset is a resource with value that requires protection, such as data, hardware, software, or services.
Correct answer: Asset- A. True
- B. False
Explanation: Security engineering covers the full system lifecycle, including design, development, deployment, operation, and maintenance.
Correct answer: False