Testing Excellence

  • QA Basics
  • Technical QA
  • Agile Testing
  • Questions
  • Quizzes

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

Time limit: 0

Quiz-summary

0 of 19 questions completed

Questions:

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19

Information

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

You have already completed the quiz before. Hence you can not start it again.

Quiz is loading...

You must sign in or sign up to start the quiz.

You have to finish following quiz, to start this quiz:

Results

0 of 19 questions answered correctly

Your time:

Time has elapsed

You have reached 0 of 0 points, (0)

Categories

  1. Not categorized 0%
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  1. Answered
  2. Review
  1. Question 1 of 19
    1. Question

    Analyse 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.

    Correct

    Incorrect

  2. Question 2 of 19
    2. Question

    Which of the following statements is NOT correct?

    Correct

    Incorrect

  3. Question 3 of 19
    3. Question

    Which of the following is NOT a white box technique?

    Correct

    Incorrect

  4. Question 4 of 19
    4. Question

    An important benefit of code inspections is that they:

    Correct

    Incorrect

  5. Question 5 of 19
    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

    Correct

    Incorrect

  6. Question 6 of 19
    6. Question

    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.

    Correct

    Incorrect

  7. Question 7 of 19
    7. Question

    What can static analysis NOT find?

    Correct

    Incorrect

  8. Question 8 of 19
    8. Question

    Which of the following techniques is NOT a black box technique?

    Correct

    Incorrect

  9. Question 9 of 19
    9. Question

    If the pseudocode below were a programming language ,how many tests are required to achieve 100% statement coverage?

    1. If x=3 then
    2. Display_messageX;
    3. If y=2 then
    4. Display_messageY;
    5. Else
    6. Display_messageZ;
    7. Else
    8. Display_messageZ;

    Correct

    Incorrect

  10. Question 10 of 19
    10. Question

    Which of the following tools would you use to detect a memory leak?

    Correct

    Incorrect

  11. Question 11 of 19
    11. Question

    Incorrect form of Logic coverage is:

    Correct

    Incorrect

  12. Question 12 of 19
    12. Question

    Which of the following is the odd one out?

    Correct

    Incorrect

  13. Question 13 of 19
    13. Question

    Given the Following program

    IF X < Y THEN Statement 1; ELSE IF Y >= Z
    THEN Statement 2;
    END

    McCabe’s Cyclomatic Complexity is :

    Correct

    Incorrect

  14. Question 14 of 19
    14. Question

    How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : –

    …………
    if (Condition 1)
    then statement 1
    else statement 2
    fi
    if (Condition 2)
    then statement 3
    fi
    …………

    Correct

    Incorrect

  15. Question 15 of 19
    15. 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

    Correct

    Incorrect

  16. Question 16 of 19
    16. Question

    Code Coverage is used as a measure of what?

    Correct

    Incorrect

  17. Question 17 of 19
    17. Question

    Statement Coverage will not check for the following:

    Correct

    Incorrect

  18. Question 18 of 19
    18. Question

    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.

    Correct

    Incorrect

  19. Question 19 of 19
    19. Question

    Unreachable code would best be found using:

    Correct

    Incorrect

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)








Selected Articles

  • Test Automation Problems
  • Test Automation Strategy
  • Agile Test Strategy example
  • How QAs add value in agile
  • Agile without automation
  • How agile killed managers
  • Agile testing challenges
  • Testing e-commerce websites
  • Role of QA manager in agile
  • Are you a good agile tester?
  • BDD tips and best practices
  • Myths of test automation
  • Test automation tips
  • Test automation pros & cons






Copyright © 2019 All rights reserved · www.testingexcellence.com

  • About
  • Contact
  • Subscribe
  • Privacy Policy
  • Terms of Use