nerdexam
iSQI

CTAL-TA_SYLL2019 · Question #52

CTAL-TA_SYLL2019 Question #52: Real Exam Question with Answer & Explanation

The correct answer is C. 13. A 0-switch test case is a test case that covers one transition from one state to another. To achieve 100% 0-switch coverage, all the transitions in the state diagram must be tested. The state diagram has seven states: Login, Menu, Logout, Withdraw, Deposit, Get Balance, and Acces

Question

Consider the following state diagram for a simple ATM. The decision has been made to add the following capabilities: Allow the customer to go from Get Balance to Deposit, Withdrawal or Menu. Allow the customer to go from Deposit to Withdrawal, Get Balance or Menu From Withdrawal the customer still will be able to go only to Menu. How many test cases are required to achieve 100% 0-switch coverage of the new and existing capabilities?

Exhibit

CTAL-TA_SYLL2019 question #52 exhibit

Options

  • A6
  • B9
  • C13
  • D16

Explanation

A 0-switch test case is a test case that covers one transition from one state to another. To achieve 100% 0-switch coverage, all the transitions in the state diagram must be tested. The state diagram has seven states: Login, Menu, Logout, Withdraw, Deposit, Get Balance, and Access Account. There are 13 transitions in the state diagram, as shown by the arrows. Therefore, 13 0-switch test cases are needed. Reference = ISTQB Certified Tester Advanced Level Syllabus Technical Test Analyst1, page 2 How to Design Test Cases Using State Transition Testing Technique?2, section "0-switch coverage" State Transition Testing - Tutorialspoint3, section "State Transition Diagram"

Community Discussion

No community discussion yet for this question.

Full CTAL-TA_SYLL2019 Practice