問題文
A script on a switch has to enter a level of the configuration and then act inside it, and the first draft issues the two steps as separate calls. Which pair of statements describes how that draft behaves and what the design does about it?
選択肢
- The state that the first call reached is dropped before the second call runs, so the second call starts from the top again, and holding the session of the first call open between them keeps the state from the earlier step for the later ones.
- The state that the first call reached is dropped before the second call runs, so the second call starts from the top again, and passing the steps to the switch in one call keeps the state from the earlier step for the later ones.
- The state that the first call reached is kept until the script ends, so the second call starts from where the first one left off, and passing the steps to the switch in one call keeps the state from the earlier step for the later ones.
- The state that the first call reached is kept until the script ends, so the second call starts from where the first one left off, and holding the session of the first call open between them keeps the state from the earlier step for the later ones.