Software Requirements & Specification MCQs with Answers
Practice important Software Requirements & Specification MCQs with answers and explanations.
Multiple Choice Questions
Q171: A transition in a state machine is represented by ________.
- A: A dotted line
- B: A solid line with arrowheads
- C: A round-cornered rectangle
- D: A square
View Answer
B
Q172: What causes a transition in a state machine?
- A: A signal
- B: An event
- C: A change in some condition
- D: All of the above
View Answer
D
Q173: In state machine modeling, what does the passage of time represent?
- A: A transition
- B: A trigger
- C: A condition change
- D: An event
View Answer
B
Q174: What is the purpose of state machine modeling?
- A: To provide a concise, complete, and unambiguous representation of states
- B: To depict complex business processes
- C: To create a natural language description
- D: To confuse state transitions
View Answer
A
Q175: In state machine modeling, what is the trigger of a transition?
- A: A signal
- B: An event
- C: A change in some condition
- D: All of the above
View Answer
D
Q176: In a state machine, what does the transition from one state to another represent?
- A: A change in the system state
- B: A signal being sent
- C: A change in condition
- D: An event being triggered
View Answer
A
Q177: What can nested state diagrams allow you to do?
- A: Simplify the system description
- B: Describe only one level of states
- C: Avoid using transitions
- D: Only represent simple systems
View Answer
A
Q178: In state machine modeling, the aggregation means ________.
- A: Combining multiple objects in one state
- B: Concurrency, where the overall state is a combination of sub-objects' states
- C: Representing each state separately
- D: Using one object per state
View Answer
B
Q179: In the sample state of a car, if the ignition is ON and the transmission is in Reverse, what is the state of the accelerator?
- A: Off
- B: On
- C: Neutral
- D: Reverse
View Answer
A
Q180: In the sample state of a car, which component is in the "ON" state if the brakes are off?
- A: Ignition
- B: Accelerator
- C: Transmission
- D: Brakes
View Answer
B