Vaidikalaya

MCQ On Software Testing


Q1. Software Testing is performed to:.
  1. Prove that the software has no defects
  2. Detect defects and ensure software meets requirements
  3. Increase software complexity
  4. Replace documentation

Answer: b, Detect defects and ensure software meets requirements

Solution: Testing helps detect defects and verify requirement compliance.

Q2. Which of the following is NOT a goal of software testing?.
  1. To find defects
  2. To ensure customer satisfaction
  3. To check performance
  4. To increase development cost

Answer: d, To increase development cost

Solution: Testing reduces cost by detecting defects early.

Q3. Which pair is correct for Functional Testing?.
  1. Unit Testing, Integration Testing, System Testing
  2. Unit Testing, Performance Testing, System Testing
  3. Usability Testing, Performance Testing, System Testing
  4. Usability Testing, Performance Testing, Compatibility Testing

Answer: a, Unit Testing, Integration Testing, System Testing

Solution: Functional testing includes Unit, Integration, and System testing. Performance, Usability, Compatibility are non-functional.

Q4. Which pair represents Non-Functional Testing?.
  1. Unit Testing, Security Testing, Integration Testing
  2. Load Testing, Stress Testing, Performance Testing
  3. System Testing, UAT, Regression Testing
  4. Integration Testing, Volume Testing, Unit Testing

Answer: b, Load Testing, Stress Testing, Performance Testing

Solution: Load, stress, and performance testing are all non-functional.

Q5. Which of the following is a correct mix of Functional + Non-Functional tests?.
  1. Unit Testing + Load Testing
  2. Load Testing + Stress Testing
  3. Performance Testing + Security Testing
  4. Unit Testing + Integration Testing

Answer: a, Unit Testing + Load Testing

Solution: Unit = functional, Load = non-functional.

Q6. Which testing does NOT require code execution?.
  1. System testing
  2. Unit testing
  3. Alpha testing
  4. Static testing

Answer: d, Static testing

Solution: Static testing includes reviews, inspections, walkthroughs.

Q7. Which is a type of non-functional testing?.
  1. Unit testing
  2. Regression testing
  3. Usability testing
  4. Integration testing

Answer: c, Usability testing

Solution: Usability testing evaluates user experience, a non-functional aspect.

Q8. Which of the following is a type of functional testing?.
  1. Load testing
  2. Unit testing
  3. Stress testing
  4. Volume testing

Answer: b, Unit testing

Solution: Unit testing is a functional test that checks correctness of individual units.