Quiz 8.0 Welcome to your Quiz 8.0 Name: Email 1. A State is____________ . a) a collection of behaviors the system exhibits as some point in its lifecycle b) a collection of messages between parts of the system c) a sequence of behaviors that convert the output of one behavior into the input of another d) an independent abstract concept of a tangible or intangible thing None 2. A State Machine can be in ____________ state(s) at a time. a) zero to many b) one to many c) one d) depends on the state machine None 3. A State Machine can be a compact and efficient way to model behavior because __________. a) Systems may display distinct operating states b) Systems may be subject to many different events that affect system behavior c) States are an effective way to organize lower-level behaviors d) All of the above None 4. State names are typically (but not always) __________. a) Active verb phrases (e.g. Fly Preprogrammed Course) b) Gerund verb phrases (e.g. Descending to Airstrip) c) Noun phrases (e.g. Aircraft Platform) d) Units (e.g. Kilograms) None 5. The symbol labeled “A” is a __________. a) Entry point b) Initial Pseudostate c) Junction Pseudostate d) Final State None 6. “[S/N > 3 db]” is a __________. a) Transition b) Trigger c) Guard d) Effect None 7. Starting in the Idle state, the trigger sequence “receive_data(), Logon, EOT” would leave the system in what state? a) Idle b) Receiving Data c) Archiving d) Live Feed None 8. Starting in the Idle state, the trigger sequence “receive_data(), Logon, EOT” would result in what sequence of behaviors? a) Time Marker = now, Record Data, Log Data b) Time Marker = now, Record Data, Log Data, Record Duration = now - Time Marker c) Time Marker = now, Record Data, Record Duration = now - Time Marker, Log Data d) [S/N > 3 db]”, Time Marker = now, Record Data, Record Duration = now - Time Marker None 9. In this diagram, the symbol labeled “B” is a___________. a) Composite State b) Submachine State c) Region d) Interaction Use None 10. Triggers can be___________. a) Call events b) Signal events c) Time events d) All of the above None 11. Which statement is correct? a) In a “alt” combined fragment, the messages in only one compartment can occur. b) In a “par” combined fragment, the messages in only one compartment can occur. c) An “alt” combined fragment can have more compartments than a “par”. d) “par” is short for parametric. None 12. If message 1 occurs in either diagram, which statement is correct? a) In the “par” combined fragment, messages 1-2 must occur in that order. b) In the “alt” combined fragment, messages 1-4 must occur in that order. c) In the “alt” combined fragment, messages 1-8 must occur in that order. d) None of these statements is correct None 13. In the left diagram, UAV Takeoff is a _____________. a) optional combined fragment b) interaction use c) state invariant d) submachine state None 14. In the right diagram, Autonomous Flight is a ____________ . a) optional combined fragment b) interaction use c) state invariant d) submachine state None 15. In this diagram, which sequence of messages is valid? a) initiate_auto_mode(), auto(), initiate_auto_abort(), auto termination b) initiate_auto_mode(), auto(), abort_auto(), initiate_auto_abort() c) initiate_auto_mode(), auto(), initiate_auto_abort(), abort_auto() d) initiate_auto_mode(), auto(), abort_auto(), auto termination None 16. The sequence of messages initiate_auto_mode(), auto(), auto termination, Programmed course complete would leave the UAV in what state? a) Autonomous Flight b) Manual Flight c) UAV Landing d) OPT None Time's up