<< Prev Question Next Question >>

Question 4/20

Consider the following specification:

If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you hold a gold card in the airline's frequent flier program. If you don't hold a gold card, there is a possibility that you will get 'bumped' off the flight if it is full when you check in late.
This is shown in the control flow graph below. Note that each box (i.e., statement, decision) has been numbered.
Three tests have been run:
Test 1: Gold card holder who gets upgraded to business class
Test 2: Non-gold card holder who stays in economy
Test 3: A person who is bumped from the flight
What is the level of decision coverage achieved by these three tests?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (20q)
Question 1: Which of the following statements about fault seeding tools ...
Question 2: You are asked to provide a practical and pragmatic testing s...
Question 3: Consider the code fragment provided below: (Exhibit) How man...
Question 4: Consider the following specification: (Exhibit) If you are f...
Question 5: Within an embedded software project, the maintainability of ...
Question 6: A software company based in Spain that develops mobile appli...
Question 7: Consider the pseudo code provided below: (Exhibit) Which of ...
Question 8: Which of the following statements is TRUE regarding tools th...
Question 9: You are working on project where re-use of software is an ob...
Question 10: Which of the following is NOT a common issue with traditiona...
Question 11: Below is the pseudo-code for the bingo program: (Exhibit) Th...
Question 12: Subject to testing is a software system (COTS) for Project A...
Question 13: Which of the following statements about performance testing ...
Question 14: Consider the following fault attack: * Force all possible in...
Question 15: Which of the following statements BEST describes how tools s...
Question 16: Which of the following does NOT contribute to a more effecti...
Question 17: Which of the following defect types is NOT an example of a d...
Question 18: Within an embedded software project, the maintainability of ...
Question 19: Which of the following is a valid reason for including perfo...
Question 20: A medical company has performed a safety criticality analysi...