Software Testing and Analysis Flashcards
For the expression (a || c) && (b || !c), the test suite (a, b, c) = {(T, F, T), (F, F, T), (F, T, T), (T, F, F)} provides:
a. MC/DC Coverage
b. Decision Coverage
c. Basic Condition Coverage
d. Compound Condition Coverage
b. Decision Coverage
c. Basic Condition Coverage
Acceptance testing is a critical validation activity.
a. True
b. False
a. True
All DU pairs coverage requires that all paths between each definition and each of its usages be covered by at least one test case.
a. True
b. False
b. False
A banking website that displays an error message and stops all normal operations when a database connection cannot be established is which of the following:
a. Correct with respect to its specification.
b. Safe to operate.
c. Robust in the presence of exceptional conditions.
d. Considered to have passed verification.
c. Robust in the presence of exceptional conditions.
In random ascent, we take the first neighbouring solution to show any improvement over the current solution as the new solution.
a. True
b. False
true
If all mutants are detected by a test suite, we have proof that all real faults have been detected as well.
a. True
b. False
b. False
You are designing a navigation app for mobile phones. You have designed the app to resend information if an update request fails. What reliability measures would be of most interest to you?
a. Availability
b. Probability of failure on demand
c. Mean time between failures
d. Rate of fault occurrence
c. Mean time between failures
What is the purpose of the Pub Crawl Tour?
Answer: The Pub Crawl Tour is designed to explore the application and find hidden features, glitches, and bugs.
What is the goal of the TOGOF Tour?
Answer: The goal of the TOGOF Tour is to test multiple copies of the same application running simultaneously.
What is the Scottish Pub Tour, and what type of applications is it suitable for?
Answer: The Scottish Pub Tour is a tour designed specifically for large and complicated applications, such as Microsoft Office products and sites like eBay, Amazon, and MSDN. Its purpose is to find hidden or hard-to-reach features and bugs.
What is the Rained-Out Tour, and how can it be useful for testing?
Answer: The Rained-Out Tour is a tour designed to test features that provide a cancel option or take longer than a few seconds to complete. Its purpose is to see how the application handles being interrupted or cancelled. This tour can be useful for testing whether the application properly cleans up after itself and can continue to work correctly after being cancelled.
What is the Couch Potato Tour, and how can it be useful for testing?
Answer: The Couch Potato Tour is a tour designed to test the application’s ability to process default values and handle blank input. Testers using this tour accept all default values and leave input fields blank. This tour can be useful for testing the application’s error-handling capabilities.
What is the Saboteur Tour, and how can it be useful for testing?
Answer: The Saboteur Tour is designed to test the application’s ability to handle environmental problems or resource restrictions. Testers using this tour force the software to take action, understand the resources it needs to complete that action, and then remove or restrict those resources in varying degrees. This tour can be useful for testing how the application handles different environmental conditions.
What is the Antisocial Tour, and what are its subtours?
Answer: The Antisocial Tour is a tour designed to test the application’s error-handling capabilities by entering the least likely inputs and/or known bad inputs. Its subtours are the Opposite Tour (entering the least likely input), the Crime Spree Tour (entering illegal inputs), and the Wrong Turn Tour (doing things in the wrong order).
What is the Obsessive-Compulsive Tour, and how can it be useful for testing?
Answer: The Obsessive-Compulsive Tour is designed to test the application’s ability to handle repetition and duplicate inputs. Testers using this tour enter the same input over and over or repeat the same action multiple times. This tour can be useful for finding glitches or bugs that occur when users perform the same action multiple times.