nerdexam
iSQI

CTAL-TA_SYLL2019 · Question #51

The Acme Elevator company uses state-transition diagrams to document the behavior of their elevator doors. The following text is taken from one of their requirements documents. Convert it into the…

The correct answer is B. Option B. Exhibit B is the only state transition diagram that matches the text description of Acme's elevator door rules. It shows that the doors can transition between four states: Opened, Closing, Closed, and Opening. The transitions are triggered by either commands (open or close) or…

Test Techniques

Question

The Acme Elevator company uses state-transition diagrams to document the behavior of their elevator doors. The following text is taken from one of their requirements documents. Convert it into the equivalent state-transition diagram:

When the doors are open, the close command starts the doors closing. When the doors are closing, the closed sensor indicates that the doors are fully closed. When the doors are closed, the open command starts the doors opening. When the doors are opening, the open sensor indicates that the doors are fully open. If the doors are closing, the open command will start the doors opening. If the doors are opening, the close command will start the doors closing. Which state transition diagram most closely represents Acme's elevator door rules?

Exhibits

CTAL-TA_SYLL2019 question #51 exhibit 1
CTAL-TA_SYLL2019 question #51 exhibit 2

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(38 responses)
  • A
    11% (4)
  • B
    79% (30)
  • C
    3% (1)
  • D
    8% (3)

Explanation

Exhibit B is the only state transition diagram that matches the text description of Acme's elevator door rules. It shows that the doors can transition between four states: Opened, Closing, Closed, and Opening. The transitions are triggered by either commands (open or close) or sensors (opened or closed). The diagram also shows that the open command can reverse the closing state, and the close command can reverse the opening state, as specified in the text. The other exhibits do not show the correct transitions or conditions for the elevator door system. Reference = ISTQB Certified Tester Advanced Level Syllabus Technical Test Analyst, page 2 State Transition Testing Technique with Diagrams, section "State Transition Diagram" State Transition Testing - Tutorialspoint, section "State Transition Diagram"

Topics

#state transition testing#state diagrams#requirements modeling#transition coverage

Community Discussion

No community discussion yet for this question.

Full CTAL-TA_SYLL2019 Practice