Software Testing Fundamentals

A comprehensive quiz covering essential software testing concepts including black box and white box testing, test metrics, functional and non-functional testing, verification, regression testing, test strategies, and integration testing methodologies.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

During which test activity could faults be found most cost effectively?

  1. Execution
  2. Design
  3. Planning
  4. Check Exit criteria completion
Question 2 Multiple Choice (Single Answer)

Verification is

  1. Checking that we are building the right system
  2. Checking that we are building the system right
  3. Performed by an independent test team
  4. Making sure that it is what the user really wants
Question 3 Multiple Choice (Single Answer)

Cyclomatic Complexity method comes under which testing method

  1. White box
  2. Black box
  3. Green box
  4. Yellow box
Question 4 Multiple Choice (Single Answer)

Which of the following is the odd one out?

  1. White box
  2. Glass box
  3. Structural
  4. Functional
Question 5 Multiple Choice (Single Answer)

What is the main difference between a walkthrough and an inspection?

  1. An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator.
  2. An inspection has a trained leader, whilst a walkthrough has no leader.
  3. Authors are not present during inspections, whilst they are during walkthroughs.
  4. A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator.
Question 6 Multiple Choice (Single Answer)

The cost of fixing a fault

  1. Is not important
  2. Increases as we move the product towards live use
  3. Decreases as we move the product towards live use
  4. Is more expensive if found in requirements than functional design
  5. Can never be determined
Question 7 Multiple Choice (Single Answer)

Error guessing is best used

  1. As the first approach to deriving test cases
  2. After more formal techniques have been applied
  3. By inexperienced testers
  4. After the system has gone live
  5. Only by end users
Question 8 Multiple Choice (Single Answer)

Why is incremental integration preferred over “big bang” integration?

  1. Because incremental integration has better early defects screening and isolation ability
  2. Because “big bang” integration is suitable only for real time applications
  3. Incremental integration is preferred over “Big Bang Integration” only for “bottom up” development model
  4. Because incremental integration can compensate for weak and inadequate component testing
Question 9 Multiple Choice (Single Answer)

Why is it necessary to define a Test Strategy?

  1. As there are many different ways to test software, thought must be given to decide what will be the most effective way to test the project on hand.
  2. Starting testing without prior planning leads to chaotic and inefficient test project
  3. A strategy is needed to inform the project management how the test team will schedule the test-cycles
  4. Software failure may cause loss of money, time, business reputation, and in extreme cases injury and death. It is therefore critical to have a proper test strategy in place.
Question 10 Multiple Choice (Single Answer)

Which of the following statements about component testing is not true?

  1. Component testing should be performed by development
  2. Component testing is also know as isolation or module testing
  3. Component testing should have completion criteria planned
  4. Component testing does not involve regression testing
Question 11 Multiple Choice (Single Answer)

Software testing activities should start

  1. As soon as the code is written
  2. During the design stage
  3. When the requirements have been formally documented
  4. As soon as possible in the development life cycle
Question 12 Multiple Choice (Single Answer)

Why is testing necessary?

  1. Because testing is good method to make there are not defects in the software
  2. Because verification and validation are not enough to get to know the quality of the software
  3. Because testing measures the quality of the software system and helps to increase the quality
  4. Because testing finds more defects than reviews and inspections.
Question 13 Multiple Choice (Single Answer)

What is difference between black box testing and white box testing?

  1. Black box testing is when we do not have knowledge of testing and in white box testing we have knowledge of testing.
  2. Black box testing is when we do not know the functionality and in white box testing we know the functionality.
  3. Black box testing is when we do not know code used and in white box testing we know the code used.
  4. Black box testing is when we test application randomly and in white box testing we test application using proper test strategy.
Question 14 Multiple Choice (Single Answer)

Functional system testing is

  1. Testing that the system functions with other systems
  2. Testing that the components that comprise the system function together
  3. Testing the end to end functionality of the system as a whole
  4. Testing the system performs functions within specified response times
Question 15 Multiple Choice (Single Answer)

The difference between re-testing and regression testing is

  1. Re-testing ensures the original fault has been removed; regression testing looks for unexpected side-effects
  2. Re-testing looks for unexpected side-effects; regression testing ensures the original fault has been removed
  3. Re-testing is done after faults are fixed; regression testing is done earlier
  4. Re-testing is done by developers; regression testing is done by independent testers
Question 16 Multiple Choice (Single Answer)

Testing should be stopped when

  1. All the planned tests have been run
  2. Time has run out
  3. All faults have been fixed correctly
  4. Both 1 and 3
  5. It depends on the risks for the system being tested
Question 17 Multiple Choice (Single Answer)

What is Parallel testing?

  1. Parallel testing is a type of testing where the tester reconciles the output of the new system to the output of the current system, in order to verify the new system operates correctly.
  2. Two people testing an application on same machine.
  3. Testing one functionality simultaneously on two different machine having same hardware configuration.
  4. Testing two different functionality simultaneously.
Question 18 Multiple Choice (Single Answer)

Which of the following list contains only non-functional tests?

  1. Interoperability (compatibility) testing, reliability testing, performance testing
  2. System testing, performance testing
  3. Load testing, stress testing, component testing, portability testing
  4. Testing various configurations, beta testing, load testing
Question 19 Multiple Choice (Single Answer)

Which set of metrics can be used for monitoring of the test execution?

  1. Number of detected defects, testing cost
  2. Number of residual defects in the test object.
  3. Percentage of completed tasks in the preparation of test environment; test cases prepared
  4. Number of test cases run / not run; test cases passed / failed
Question 20 Multiple Choice (Single Answer)

Which of the following techniques are black box techniques?

  1. State transition testing, code testing, agile testing
  2. Equivalence partitioning, state transition testing, decision table testing
  3. System testing, acceptance testing, equivalence partitioning
  4. System integration testing, system testing, decision table testing