GoConqr has a new look! Let us know what you think.

Quiz

Software Quality and Testing exam 2015

Bas Musters 40 questions

Take the quiz

Questions in this quiz (40)

  1. 1Which of the following claims is defended by Bertrand Meyer’s article entitled “Seven Principles
    of Software Testing?”
    1. ANone of these claims is defended by Bertrand Meyer
    2. BTesting shows the absence of errors
    3. CThe goal of testing is to uncover faults by triggering failures.
    4. DSoftware testing is the process used to assess the quality of computer software.
  2. 2Consider the state machine in Figure 1. How many one-way edges has the state machine for
    which the super-state is expanded? https://www.dropbox.com/s/7j0zlreeab4ycdx/SQTExamFig1and2.PNG?dl=0
    1. A8
    2. B5
    3. C6
    4. D7
  3. 3Which of the following statements is true in a class hierarchy that is compliant with the
    Liskov Substitution Principle?
    1. ASubclasses can be more demanding than their superclass.
    2. BA superclass can be more tolerant than its subclasses.
    3. CA superclass invariant need not hold in its subclasses.
    4. DA subclass must meet the invariant of its superclass.
  4. 4According to the ISTQB, what is a test condition?
    1. ASomething that can be tested.
    2. BA specific state of the software, e.g., before a test can be run.
    3. CAn input, expected outcome, precondition and postcondition.
    4. DThe steps to be taken to get the system to a given point.
  5. 5Consider the state machine in Figure 2. How many test cases are needed to achieve all
    roundtrip path coverage? https://www.dropbox.com/s/7j0zlreeab4ycdx/SQTExamFig1and2.PNG?dl=0
    1. A5
    2. B3
    3. C10
    4. D7
  6. 6Which if the following is not one of the three conditions necessary for a failure to be observed
    as distinguished in the RIP (or PIE) model?
    1. AThe infected state must propagate to cause some output of the program to be incorrect.
    2. BThe fault in the program must be exercised by one of the test cases.
    3. CThe state of the program must be incorrect
    4. DThe location(s) in the program that contain the fault must be reached.
  7. 7Which of the following statements about the relationship between statement coverage and
    decision coverage is correct?
    1. 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.
    2. BA test suite’s decision coverage is always higher than its statement coverage.
    3. C100% statement coverage always means 100% decision coverage.
    4. D100% decision coverage always means 100% statement coverage.
  8. 8Consider 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? https://www.dropbox.com/s/atyl7ek3pvz195h/SQTExamFig3.PNG?dl=0
    1. ATwo test cases, which together ensure that each condition is once true and once false.
    2. BFour test cases, corresponding to rule 1 and three test cases in which only one condition is false
    3. CEight test cases, corresponding to 23
      cases implied by the the three conditions
    4. DThree test cases, corresponding directly to the truth values for Rules 1–3.
  9. 9Which of the following is a non-functional quality characteristic?
    1. AFeasibility
    2. BMaintenance.
    3. CUsability
    4. DRegression.
  10. 10Which of the following is true regarding equivalence partitioning and boundary value analysis?
    1. AThere is no need to do both techniques because every boundary is in some partition.
    2. BIt is recommended to choose partition values which are not boundary values.
    3. CBoth techniques are structured-based techniques.
    4. DThree-value boundary value analysis is more efficient than two-value boundary value analysis
      with equivalence partitioning

Information

Description
Computer Science Quiz on Software Quality and Testing exam 2015, created by Bas Musters on 03/07/2017.
Language
English
Views
115
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?