Software Testing Fundamentals

Test your knowledge of software testing concepts including statement and branch coverage, test planning, integration testing strategies, configuration management, non-functional testing, and regression testing.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

When a deviation from specified or expected behaviour is visible to end-user, this is called

  1. an error
  2. a fault
  3. a failure
  4. a defect
Question 2 Multiple Choice (Single Answer)

Regression testing should be performed: (V) Every Week. (W) after the software has been changed. (X)as often as possible. (Y)When the environment has changed. (Z)When the project manager says.

  1. v & w are true, x – z are false
  2. w, x & y are true, v & z are false
  3. w & y are true, v, x & z are false
  4. w is true, v, x y and z are false
Question 3 Multiple Choice (Single Answer)

IEE 829 test plan documentation standard contains all of the following except:

  1. test items
  2. test deliverables
  3. test environment
  4. test specification
Question 4 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. it depends on the risks for the system being tested
Question 5 Multiple Choice (Single Answer)

Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries:

  1. 1000, 5000, 99999
  2. 9999, 50000, 100000
  3. 10000, 50000, 99999
  4. 10000, 99999
Question 6 Multiple Choice (Single Answer)

Consider the following statements about early test design: (i) early test design can prevent fault multiplication (ii) faults found during early test design are more expensive to fix (iii) early test design can find faults (iv) early test design can cause changes to the requirements (v) early test design takes more effort

  1. i, iii & iv are true. ii & v are false
  2. iii is true. i, ii, iv & v are false
  3. iii & iv are true. i, ii & v are false
  4. i & iii are true. ii, iv & v are false
Question 7 Multiple Choice (Single Answer)

Non-functional system testing includes:

  1. testing to see where the system does not function properly
  2. testing quality attributes of the system including performance and usability
  3. testing a system feature using only the software required for that action
  4. testing a system feature using only the software required for that function
Question 8 Multiple Choice (Single Answer)

Which of the following is NOT part of configuration management:

  1. status accounting of configuration items
  2. auditing conformance to ISO9001
  3. identification of test versions
  4. record of changes to documentation over time
Question 9 Multiple Choice (Single Answer)

Which of the following is the main purpose of the integration strategy for integration testing in the small?

  1. to ensure that all of the small modules are tested adequately
  2. to ensure that the system interfaces to other systems and networks
  3. to specify which modules to combine when and how many at once
  4. to ensure that the integration testing can be performed by a small team
Question 10 Multiple Choice (Single Answer)

What is the purpose of test completion criteria in a test plan:

  1. to know when a specific test has finished its execution
  2. to plan when to stop testing
  3. to ensure that the test case specification is complete
  4. to set the criteria used in generating test inputs
Question 11 Multiple Choice (Single Answer)

Consider the following statements: (i) an incident may be closed without being fixed (ii) incidents may not be raised against documentation (iii) the final stage of incident tracking is fixing (iv) the incident record does not include information on test environments (v) incidents should be raised when someone other than the author of the software performs the test

  1. ii and v are true, I, iii and iv are false
  2. i and v are true, ii, iii and iv are false
  3. i, iv and v are true, ii and iii are false
  4. i and ii are true, iii, iv and v are false
Question 12 Multiple Choice (Single Answer)

Given the following code, which is true about the minimum number of test cases required for full statement and branch coverage: Read P Read Q IF P+Q > 100 THEN Print “Large” ENDIF If P > 50 THEN Print “P Large” ENDIF

  1. 1 test for statement coverage, 3 for branch coverage
  2. 1 test for statement coverage, 2 for branch coverage
  3. 1 test for statement coverage, 1 for branch coverage
  4. 2 tests for statement coverage, 2 for branch coverage
Question 13 Multiple Choice (Single Answer)

Given the following: Switch PC on Start “outlook” IF outlook appears THEN Send an email Close outlook

  1. 1 test for statement coverage, 1 for branch coverage
  2. 1 test for statement coverage, 2 for branch coverage
  3. 1 test for statement coverage. 3 for branch coverage
  4. 2 tests for statement coverage, 2 for branch coverage
Question 14 Multiple Choice (Single Answer)

Given the following code, which is true: IF A > B THEN C = A – B ELSE C = A + B ENDIF Read D IF C = D Then Print “Error” ENDIF

  1. 1 test for statement coverage, 3 for branch coverage
  2. 2 tests for statement coverage, 2 for branch coverage
  3. 2 tests for statement coverage. 3 for branch coverage
  4. 3 tests for statement coverage, 2 for branch coverage
Question 15 Multiple Choice (Single Answer)

Consider the following: Pick up and read the newspaper Look at what is on television If there is a program that you are interested in watching then switch the the television on and watch the program Otherwise Continue reading the newspaper If there is a crossword in the newspaper then try and complete the crossword

  1. Statement Coverage (SC) = 1 and Decesion Coverage (DC) = 1
  2. SC = 1 and DC = 2
  3. SC = 1 and DC = 3
  4. SC = 2 and DC = 3