Test Design Techniques I

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Pkucerova
P
Pkucerova
Community Contributor
Quizzes Created: 5 | Total Attempts: 2,361
Questions: 7 | Attempts: 816

SettingsSettingsSettings
Test Design Techniques I - Quiz

Questions and Answers
  • 1. 

    Given the following state transition table Which of the test cases below will cover the following series of state transitions? S1 SO S1 S2 SO

    • A.

      D, A, B, C.

    • B.

      A, B, C, D.

    • C.

      D, A, B.

    • D.

      A, B, C.

    Correct Answer
    A. D, A, B, C.
    Explanation
    The correct answer is D, A, B, C. This sequence of test cases will cover the series of state transitions S1 SO S1 S2 SO. Test case D will cover the transition from the initial state S1 to the final state SO. Test case A will cover the transition from SO back to S1. Test case B will cover the transition from S1 to S2. And test case C will cover the transition from S2 back to SO.

    Rate this question:

  • 2. 

    Which of the following defines the expected results of a test?

    • A.

      Test design specification.

    • B.

      Test procedure specification.

    • C.

      Test case specification.

    • D.

      Test results.

    Correct Answer
    C. Test case specification.
    Explanation
    The expected results of a test are defined in the test case specification. This document outlines the specific inputs, actions, and expected outcomes for each test case. It provides detailed instructions for executing the test and determining whether the system under test is functioning correctly. The test case specification serves as a guide for testers to ensure that they are conducting the test accurately and consistently, and it also helps stakeholders understand the expected outcomes and evaluate the success of the testing process.

    Rate this question:

  • 3. 

    Given the following state transition diagram Which of the following series of state transitions contains an INVALID transition which may indicate a fault in the system design?

    • A.

      Login Browse Basket Checkout Basket Checkout Pay Logout.

    • B.

      Login Browse Basket Checkout Pay Logout.

    • C.

      Login Browse Basket Checkout Basket Logout.

    • D.

      Login Browse Basket Browse Basket Checkout Pay Logout.

    Correct Answer
    C. Login Browse Basket Checkout Basket Logout.
  • 4. 

    A thermometer measures temperature in whole degrees only. If the temperature falls below 18 degrees, the heating is switched off. It is switched on again when the temperature reaches 21 degrees. What are the best values in degrees to cover all equivalence partitions?

    • A.

      17,18 and19.

    • B.

      15,19 and 25.

    • C.

      18, 20 and 22.

    • D.

      16, 26 and 32.

    Correct Answer
    B. 15,19 and 25.
    Explanation
    The best values to cover all equivalence partitions would be 15, 19, and 25. These values cover the ranges below 18 degrees (15), between 18 and 21 degrees (19), and above 21 degrees (25). By selecting these values, we can ensure that all possible temperature scenarios are accounted for and that the functioning of the heating system is properly tested.

    Rate this question:

  • 5. 

    A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ordered. Which of the following groups contain three test inputs that would be generated using Boundary Value Analysis?

    • A.

      5, 6, 20

    • B.

      4, 5, 80

    • C.

      4, 5, 99

    • D.

      1, 20, 100

    Correct Answer
    C. 4, 5, 99
    Explanation
    The correct answer is 4, 5, 99 because it represents three different boundary values for the number of printer cartridges ordered. The first value, 4, represents the minimum order quantity, while the second value, 5, represents the boundary between the minimum order quantity and a larger order. The third value, 99, represents a value just below the threshold for the 20% discount, which is 100 cartridges. These three test inputs cover the different boundaries and help ensure that the system behaves correctly in these specific scenarios.

    Rate this question:

  • 6. 

    Which of the following is MOST characteristic of specification based (black-box) techniques?

    • A.

      Test cases can be easily automated.

    • B.

      Test cases are independent of each other.

    • C.

      Test cases are derived systematically from models of the system

    • D.

      Test cases are derived systematically from the delivered code

    Correct Answer
    C. Test cases are derived systematically from models of the system
    Explanation
    Specification based (black-box) techniques involve deriving test cases systematically from models of the system. This means that the test cases are based on the specifications or requirements of the system, rather than the actual code implementation. This allows for a more systematic and structured approach to testing, as the focus is on ensuring that the system behaves according to the specified requirements. This characteristic also makes it easier to automate the test cases, as they can be generated based on the models without the need to understand the underlying code.

    Rate this question:

  • 7. 

    Purpose of test design technique is

    • A.

      Identifying test conditions only, not Identifying test cases

    • B.

      Not Identifying test conditions, Identifying test cases only

    • C.

      Identifying test conditions or Identifying test cases

    • D.

      Identifying test conditions and Identifying test cases

    Correct Answer
    D. Identifying test conditions and Identifying test cases
    Explanation
    The purpose of a test design technique is to identify both test conditions and test cases. Test conditions are the specific factors or attributes that need to be tested, while test cases are the specific inputs, actions, or events that are used to test those conditions. By using a test design technique, testers can systematically identify and create both the test conditions and the corresponding test cases that will be used to verify the functionality and quality of the software being tested.

    Rate this question:

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.