ISTQB- Module4- Exam3

40 Questions

Settings
ISTQB- Module4- Exam3

.


Questions and Answers
  • 1. 
    The benefits of glass box testing are ? Select one:  
    • A. 

      Focused Testing, Testing coverage, control flow

    • B. 

      Data integrity, Internal boundaries, algorithm specific testing

    • C. 

      Both Focused testing etc & Date Integrity etc

    • D. 

      None of the options

  • 2. 
    The external factors that influence the decision about which test technique to use are:  I. Risk  II. Life Cycle Model  III. Time and Budget  IV. Test Objective? Select one:
    • A. 

      I and III are true

    • B. 

      I, II, III and IV are true

    • C. 

      I, II and III are true

    • D. 

      I, II and IV are true

  • 3. 
    The following defines the statement of what the tester is expected to accomplish or validate during testing activity ? Select one:
    • A. 

      Test scope

    • B. 

      Test objective

    • C. 

      Test environment

    • D. 

      None of the above

  • 4. 
    The following program part is given  IF (condition A) or (condition B)  Then DO C  END IF  How many test cases are necessary in order to achieve 100% decision coverage? Select one:  
    • A. 

      2

    • B. 

      3

    • C. 

      1

    • D. 

      4

  • 5. 
    The internal factors that influence the decision about which test technique to use are:  I. Customer requirements  II. Documentation  III. Regulatory requirements  IV. Models used ? Select one:
    • A. 

      I, II and IV are true

    • B. 

      II and IV are true

    • C. 

      I, II, III and IV are true

    • D. 

      I, II and III are true

  • 6. 
    The level of formality of test documentation is influenced by? Select one:   
    • A. 

      Psychology of tester

    • B. 

      How mature the development and testing process

    • C. 

      End user

    • D. 

      Performance of system

  • 7. 
    The specification: an integer field shall contain values from and including 1 to and including 12 (number of the month) Which equivalence class partitioning is correct? Select one:
    • A. 

      Less than 1, 1 through 11, and above

    • B. 

      Less than 1, 1 through 11, larger than 12

    • C. 

      Less than 0, 1 through 12, larger than 12

    • D. 

      Less than 1, 1 through 12, larger than 12

  • 8. 
    To test an input field that accepts a two-digit day based on a particular month, which data set demonstrates boundary value analysis? Select one:  
    • A. 

      2, 26, 27, 29 and 30

    • B. 

      1, 27, 28, 30 and 31

    • C. 

      0, 1, 16, 31 and 100

    • D. 

      -1, 0, 15, 32 and 99

  • 9. 
    Using an error guessing test design technique to convert temperature (Celsius to Fahrenheit, and Fahrenheit to Celsius), experienced testers will MOST LIKELY use which set of test data? Select one:  
    • A. 

      -40, 37.78 and 100

    • B. 

      -1, 0, 89.6 and 212

    • C. 

      -1, 0, 1 and 37.78

    • D. 

      -40, 0, 32 and 100

  • 10. 
    If A = 3 then       Display_message A;       If B = 2 then             Display_message B;       Else             Display_message C; Else             Display_message C;     How many tests are required to achieve 100% branch/decision coverage? Select one:  
    • A. 

      4

    • B. 

      1

    • C. 

      2

    • D. 

      3

  • 11. 
    What is a key characteristic of specification-based testing techniques? Select one:
    • A. 

      Tests are derived based on the skills and experience of the tester

    • B. 

      Tests are derived from information about how the software is constructed

    • C. 

      Tests are derived from the extent of the coverage of structural elements of the system or components

    • D. 

      Tests are derived from models (formal or informal) that specify the problem to be solved by the software or its components

  • 12. 
    What is a major difference between use case based testing and other specification based testing techniques? Select one:  
    • A. 

      Use case based testing is used only for object oriented projects where as other techniques can be used for all types of projects.

    • B. 

      Use case based testing is more efficient than other techniques.

    • C. 

      Use case testing provides end to end scenario based tests.

    • D. 

      Use case based testing cannot be used in agile projects but other techniques can be used for other models.

  • 13. 
    What is an informal test design technique where a tester uses information gained while testing to design new and better tests? Select one:  
    • A. 

      Error guessing

    • B. 

      Decision table testing

    • C. 

      Use case testing

    • D. 

      Exploratory testing

  • 14. 
    What is the concept of introducing a small change to the program and having the effects of that change show up in some test?    Select one:  
    • A. 

      Desk checking

    • B. 

      A mutation error

    • C. 

      Debugging a program

    • D. 

      Introducing mutation

  • 15. 
    What is the relationship between equivalence partitioning and boundary value analysis technique? Select one:  
    • A. 

      Opaque testingĀ 

    • B. 

      Compatibility testing

    • C. 

      Structural testing

    • D. 

      All of the options

  • 16. 
    What technique captures system requirements that contain logical conditions? Select one:  
    • A. 

      Equivalence partition

    • B. 

      Decision table

    • C. 

      Boundary value

    • D. 

      State transition

  • 17. 
    What technique would be MOST appropriate to check status changes based on certain events? Select one:  
    • A. 

      Boundary value analysis

    • B. 

      Decision table

    • C. 

      Equivalence partitioning

    • D. 

      State transition

  • 18. 
    What techniques would be MOST appropriate if the specifications are outdated? Select one:  
    • A. 

      Structure-based and experienced-based techniques

    • B. 

      Sturcture-based technique and exhaustive testing

    • C. 

      Specification-based and structure-based techniques

    • D. 

      Black-box and specification-based techniques

  • 19. 
    When is use case testing appropriate,  1.For acceptance testing with user participation  2.For exhaustive testing of subsystem interaction if the system is specified by use cases  3.For testing the interaction between the user and the system depending on user input and system state  4.For test reflecting real-world use of the system under test  5.For testing mathematical algorithms if the program flow differs depending on the input given? Select one:  
    • A. 

      2,4

    • B. 

      1,3,4,5

    • C. 

      1,2,3,5

    • D. 

      1,3,4

  • 20. 
    When testing a grade calculation system, a tester determines that all scores from 90 to 100 will yield a grade of A, but scores below 90 will not. This analysis is known as? Select one:   
    • A. 

      Hybrid analysis

    • B. 

      Boundary value analysis

    • C. 

      Equivalence partitioning

    • D. 

      Decision table

  • 21. 
    Which input combinations will a knowledgeable tester MOST LIKELY use to uncover poetential errors when testing a surname field? Select one:  
    • A. 

      O'Brien, Zeta-Jones, and Young Pow

    • B. 

      Go, Stephanopoulous, and Venkatsewaran

    • C. 

      Smith, Smyth, and Smithsonian

    • D. 

      Johnson, de la Cruz, and Morgan

  • 22. 
    Which of the following best describes the difference between clearbox and opaque box:  1. Clear box is structural testing, opaque box is Ad-hoc testing  2. Clear box is done by tester, and opaque box is done by developer  3. Opaque box is functional testing, clear box is exploratory testing ? Select one:  
    • A. 

      1 and 3

    • B. 

      1

    • C. 

      2

    • D. 

      3

  • 23. 
    Which of the following is true? Select one:  
    • A. 

      Component testing should be black box, system testing should be white box.

    • B. 

      The fewer bugs you find, the better your testing was

    • C. 

      if u find a lot of bugs in testing, you should not be very confident about the quality of software

    • D. 

      The more tests you run, the more bugs you will find.

  • 24. 
    Which of the following options represents equivalence classes for the station name in the given requirement snippet, If the input is a valid station name,  case insensitive, then the code corresponding to the station name will be displayed? Select one:
    • A. 

      There are as many test cases as there are valid station names.

    • B. 

      There are two equivalence classes, One valid name and one invalid station name.

    • C. 

      There are three equivalence classes two valid names upper and lower case.one invalid name.

    • D. 

      This specification is not solvable by equivalence partitioning.

  • 25. 
    Which of the following statements about experience based testing is true? Select one:  
    • A. 

      It focuses on generating reports.

    • B. 

      This technique is context driven.

    • C. 

      Writing test cases is the starting point of this test sequence.

    • D. 

      The general flow of this testing process is Requirements, Test Cases and Bugs

  • 26. 
    Which one is the definition of Use Case? Select one:  
    • A. 

      A response of system to users interacting with other, integrated systems.

    • B. 

      An description of an environment in which a system needs to operate.

    • C. 

      A sequence of transaction between a user and a system to achieve a certain goal.

    • D. 

      An operation on a system by a user, with no regards to the systems response.

  • 27. 
    Which set of test data demonstrates equivalence partitioning to check whether a customer is a teenager or not? Select one:  
    • A. 

      10, 15 and 19 years

    • B. 

      13, 19 and 25 years

    • C. 

      12, 13 and 20 years

    • D. 

      13, 16 and 19 years

  • 28. 
    Which statement about use case testing is true? Select one:
    • A. 

      The test cases are designed to be used by real users, not by professional testers.

    • B. 

      The test cases are designed to find defects in the data flow.

    • C. 

      The test cases are always designed by customers or end users.

    • D. 

      The test cases are designed to find defects in the process flow.

  • 29. 
    Which statement is true regarding the minimum number of test cases required for full statement and branch coverage: Read G Read K IF G + K > 80 THEN        Print "The value is quite large" ENDIF IF G > 50 THEN        Print "G is a large value" ENDIF Select one:
    • A. 

      2 tests for statement coverage, 2 for branch coverage

    • B. 

      1 test for statement coverage, 2 for branch coverage

    • C. 

      1 test for statement coverage, 1 for branch coverage

    • D. 

      2 test for statement coverage, 1 for branch coverage

  • 30. 
    Which technique can be used to achieve input and output coverage, (It can be applied to human input, input via interfaces to a system, or interface parameters in integration testing.) ? Select one:  
    • A. 

      Boundary Value Analysis

    • B. 

      Error Guessing

    • C. 

      Decision Table testing

    • D. 

      Equivalence partitioning

  • 31. 
    Which test design technique relies heavily on prior thorough knowledge of the system? Select one:
    • A. 

      White-box technique

    • B. 

      Data driven testing technique

    • C. 

      Structure-based technique

    • D. 

      Experience-based technique

  • 32. 
    Which type of technique helps us select a good set of tests from total number of possible tests for a given system? Select one:
    • A. 

      White box technique

    • B. 

      Black box technique

    • C. 

      Grey box technique

    • D. 

      Test design technique

  • 33. 
    Why are both specification-based and structure-based testing techniques useful? Select one:
    • A. 

      Both find the same types of defect

    • B. 

      Because specifications tend to be unstructured

    • C. 

      They find different types of defect.

    • D. 

      using more techniques is always better

  • 34. 
    You are managing the testing of a fluid dynamics package to be used for designing the sewage system of an upcoming city. All testers are domain  experts who understand fluid dynamics engineering and hydraulic and all of them have tested similar packages in the past. Which of the following  statements is most likely to be true? Select one:
    • A. 

      The test specifications should be written very detailed to ensure that everyone understands the application.

    • B. 

      The tests should be very detailed with step by step procedures, including button clicks, tabs and menu selections.

    • C. 

      The tests can be written with less details because of the testers expertise.

    • D. 

      The test specification should follow IEEE standard template.

  • 35. 
    Which test design technique should a tester use to check the documented features of the system? Select one:  
    • A. 

      Component testing

    • B. 

      Defect Density Techniques

    • C. 

      Data driven testing

    • D. 

      Specification based technique

  • 36. 
    Which technique is OFTEN considered as an extension of equivalence partitioning? Select one:  
    • A. 

      Use case testing

    • B. 

      Decision table testing

    • C. 

      State transition testing

    • D. 

      Boundary value analysis

  • 37. 
    Consider the following statements:  i. 100% statement coverage guarantees 100% branch coverage.  ii. 100% branch coverage guarantees 100% statement coverage.  iii. 100% branch coverage guarantees 100% decision coverage.  iv. 100% decision coverage guarantees 100% branch coverage.  v. 100% statement coverage guarantees 100% decision coverage. ? Select one:  
    • A. 

      Ii & iii are True; i, iv & v are False

    • B. 

      Ii is True; i, iii, iv & v are False

    • C. 

      i & v are True; ii, iii & iv are False

    • D. 

      Ii, iii & iv are True; i & v are False

  • 38. 
    Consider a program that computes the factorial of a number n. From the specifications you know that,   If n<0, a message      Value out of range must be issued.    If 0<=n<20,      the program returns the exact factorial number If 20<=n<=200 the factorial number must be approximated and       visualized in floating point notation  If n>200 a message Value out of range      Must be issued.  Which of the following equivalence partitioning is correct? Select one:  
    • A. 

      N

    • B. 

      N

    • C. 

      N200

    • D. 

      n

  • 39. 
    Assume postal rates for 'light letters' are:  $0.25 up to 10 grams  $0.35 up to 50 grams  $0.45 up to 75 grams  $0.55 up to 100 grams  Which test inputs (in grams) would be selected using boundary value analysis? Select one:
    • A. 

      25, 26, 35, 36, 45, 46, 55, 56

    • B. 

      0, 1, 10, 11, 50, 51, 75, 76, 100, 101

    • C. 

      10, 50, 75, 100, 250, 1000

    • D. 

      0, 9, 19, 49, 50, 74, 75, 99, 100

  • 40. 
    Analyze the following highly simplified procedure:  Ask: "What type of ticket do you require, single or return?"  IF the customer wants 'return'     Ask: "What rate, Standard or Cheap-day?"         IF the customer replies 'Cheap-day'              Say: "That will be $11:20"           ELSE             Say: "That will be $19:50"         ENDIF  ELSE         Say: "That will be $9:75"  ENDIF   Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given ? Select one:  
    • A. 

      6

    • B. 

      3

    • C. 

      4

    • D. 

      5