ISTQB Sample Exam Questions – White Box Testing

This online ISTQB practice exam (mock test) is designed to test your knowledge of Software Testing – white box testing techniques – questions with answers.

ISTQB Sample Exam - White Box Testing

This online Scrum quiz contains 30 questions to test your knowledge of Agile Methodology and the Scrum Framework.

Other ISTQB Mock Tests on TestingExcellence.com

[NEW] Selenium WebDriver Quiz

ISTQB Sample Exam Questions – Testing Fundamentals

ISTQB Sample Exam Questions – Test Management

ISTQB Online Mock Test (68 questions)

ISTQB Foundation Practice Exam 1 (40 questions)

ISTQB Foundation Practice Exam 2 (40 questions)

10 Replies to “ISTQB Sample Exam Questions – White Box Testing”

  1. Can any one explain please ISTQB – Sample Exam 2 (White Box Testing)

    Que 5.Question
    Given the following code, which statement is true about the minimum number of test cases required for full statement and branch coverage?

    Read p
    Read q
    IF p+q > 100 THEN
    Print “Large”
    ENDIF
    IF p > 50 THEN
    Print “p Large”
    ENDIF

    the answer shows as 1statement and 2 branch
    but the answer should be 1 statement and 3 branches. pleases explain to me

    1. 2 testcases are sufficint for brach coverage..
      eg (1) p=40, q=60 [it will cover true condition for both IF STATEMENTS]
      (2) p=10, q=5 [it will cover false condition for both IF STATEMENTS]
      so everything is covered in 2 test cases

      1. there is 1 statement coverage and 2 branch coverege.
        we can see only two branch coverage because we should identify minmum no of test cases so dats why..branch coverage should be 2.

  2. yes
    one statment is for statement coverage..
    eg:p=60
    & q=50
    it covers all statments coverage..

    brach coverage..

    two testcases are sufficint for brach 2 testcases are sufficint for brach coverage..
    eg (1) p=40, q=60 [it will cover true condition for both IF STATEMENTS]
    (2) p=10, q=5 [it will cover false condition for both IF STATEMENTS]
    so everything is covered in 2 test cases

Leave a Reply