Quiz
Ohne Titel
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (11)
1Which of the following claims is defended by Bertrand Meyer’s article entitled “Seven Principles of Software Testing?”
- ANone of these claims is defended by Bertrand Meyer.
- BTesting shows the absence of errors.
- CThe goal of testing is to uncover faults by triggering failures.
- DSoftware testing is the process used to assess the quality of computer software.
2Consider the state machine in Figure 1. How many one-way edges has the state machine for which the super-state is expanded?
- A8
- B5
- C6
- D7
3Which of the following statements is true in a class hierarchy that is compliant with the
Liskov Substitution Principle?- ASubclasses can be more demanding than their superclass.
- BA superclass can be more tolerant than its subclasses.
- CA superclass invariant need not hold in its subclasses.
- DA subclass must meet the invariant of its superclass.
4According to the ISTQB, what is a test condition?
- ASomething that can be tested
- BA specific state of the software, e.g., before a test can be run.
- CAn input, expected outcome, precondition and postcondition
- DThe steps to be taken to get the system to a given point.
5Which of the following statements about the relationship between statement coverage and
decision coverage is correct?- AIf adding a test case causes a non-zero increase of decision coverage, then adding that test case
will also cause a non-zero increase in statement coverage - BA test suite’s decision coverage is always higher than its statement coverage.
- C100% statement coverage always means 100% decision coverage.
- D100% decision coverage always means 100% statement coverage.
- AIf adding a test case causes a non-zero increase of decision coverage, then adding that test case
6Consider the decision table from Figure 3 (as used in credit card processing). Which is the
smallest set of test cases giving 100% MC/DC coverage?- ATwo test cases, which together ensure that each condition is once true and once false
- BFour test cases, corresponding to rule 1 and three test cases in which only one condition is
false - CEight test cases, corresponding to 23
cases implied by the the three conditions - DThree test cases, corresponding directly to the truth values for Rules 1–3.
7Which of the following is a non-functional quality characteristic?
- A. Feasibility.
- B. Maintenance.
- CUsability.
- DRegression.
8Which of the following is true regarding equivalence partitioning and boundary value analysis?
- AThere is no need to do both techniques because every boundary is in some partition
- B. It is recommended to choose partition values which are not boundary values
- CBoth techniques are structured-based techniques
- DThree-value boundary value analysis is more efficient than two-value boundary value analysis
with equivalence partitioning.
9Which of the following test design techniques is most focused on validation and least on
verification?- ADecision table testing
- BBoundary value analysis.
- CTesting is context dependent.
- DPesticide paradox
10To derive test cases from a state machine, you can turn it into a state transition table. How
would you extend your test suite in order to test “sneak paths”?- AI add a test case for every cell in the transition table.
- B. I add one test case for every transition.
- CI add an extra test case for every loop
- DI add a test case for every empty cell.
11In Bertrand Meyer’s article Applying ”Design By Conctract” he explains how to handle
contracts when dealing with exceptions in a so-called rescue routine (which are similar to Java’s catchblocks).
Which of the following statements best describes Bertrand Meyer’s proposal?- AThe rescue routine can assume the preconditions hold.
- BThe rescue routine should restore the invarian
- CThe rescue routine can assume the invariant to hold.
- D. The rescue routine should ensure the postcondition
Informationen
- Beschreibung
- Quiz am Ohne Titel, erstellt von Laetitia Molkenboer am 03/07/2017.
- Autor
- Laetitia Molkenboer
- Sprache
- English
- Aufrufe
- 1
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz