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

Quiz

Software and Quality Testing Midtem 2017

Bas Musters 40 questions

Take the quiz

Questions in this quiz (40)

  1. 1Suppose that the police stands at the side of the road, measuring passing cars’ speed in
    integers. If a car has a velocity of above 50 km/h, its driver gets a warning. If, however, the speed reaches
    60 km/h, the driver gets a traffic penalty. When doing boundary-value analysis of such a system, what are
    the off-points?
    1. A51 and 61.
    2. B49 and 59.
    3. C51 and 59.
    4. D49 and 61.
  2. 2Consider the following statements about traceability in relationship to Cucumber:
    I: Cucumber helps business stakeholders to trace requirements to acceptance tests.
    II: Cucumber helps testers to trace scenarios to test implementations.
    III: Cucumber helps developers to trace implementation classes back to requirements via step definitions.
    Which of the following holds:
    1. AStatement I is false, but the others are true
    2. BStatement II is false, but the others are true.
    3. CStatement III is false, but the others are true.
    4. DAll of the statements are true.
  3. 3Which of the following best describes integration testing?
    1. ATesting to verify that a integration component meets the requirements.
    2. BTesting performed to expose faults in the interaction between integrated components.
    3. CIntegration of automated software test suites with the product
    4. DTesting that simulates the interaction between components to expose faults.
  4. 4In what way do the Mockito methods verify and when...then improve controllability and
    observability?
    1. AThe when...then method improves both observability as well as controllability, but the
      verify method only improves observability.
    2. BThe verify methods only improve controllability, and the when...then methods only improve
      observability.
    3. CThe verify and when...then both improve observability as well as controllability
    4. DThe verify methods only improve observability, and the when...then methods only improve
      controllability.
  5. 5In real life, classes are coupled to each other, which makes unit testing challenging. From
    the testability perspective, which of the following are reasons why we want to have controllability over
    dependencies in our unit tests?
    1. ATo simulate exceptional behavior and to make test assertions simpler.
    2. BTo decrease test execution time and to improve test readability.
    3. CTo not depend on external infrastructure and to simulate exceptional behavior
    4. DTo not depend on external infrastructure and to make tests isolated from each other.
  6. 6Which of the following test design techniques is most focused on validation and least on
    verification?
    1. AUnit testing.
    2. BBoundary value analysis.
    3. CExploratory testing
    4. DDecision table testing
  7. 7Consider a domain matrix with N conditions for variable x and M conditions for variable y.
    Which of the following claims is correct?
    1. AThe number of test cases required by the one by one strategy is N ∗ M.
    2. BThe number of on points in the derived test suite is equal to the number of conditions.
    3. CThe number of test cases required by the one by one strategy is N + M.
    4. DIf the value for one variable is an off point, the value for the other variable must be an on point.
  8. 8The key reason to adopt a continuous integration server (such as DevHub as used in the
    labwork) is:
    1. ATo ensure that the system can be built and executed in a clean environment using only source
      code that is under revision control.
    2. BTo relieve the individual developers from the need to execute test cases themselves.
    3. CTo build up a history of build successes and failures over time.
    4. DTo make it easy to share code among team members.
  9. 9If you apply the one by one testing strategy to the condition x >= 100 && y < 200, what
    are the off points for x and y?
    1. Ax = 101 and y = 201.
    2. Bx = 101, and y = 199.
    3. Cx = 99, and y = 201.
    4. Dx = 99, and y = 199.
  10. 10What should in general not be included in a git repository?
    1. AConfiguration files such as pom.xml or checkstyle.xml.
    2. BResource files.
    3. CThe .gitignore file
    4. DBinary files

Information

Description
Computer Science Quiz on Software and Quality Testing Midtem 2017, created by Bas Musters on 04/07/2017.
Language
English
Views
112
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?