CSSE 373 Formal Methods in Specification and Design

HW11

Purpose: practice describing a reactive system using higher order statecharts

  1. Keep track of how much time you spend on this assignment. You will submit your answers as a pdf file at the end of the homework.
  2. Consider the following intersection (and the figure below):

  3. Write a statechart specification of the traffic light and the crossing gates. Be sure to include those cases where the crossing gate may be moving. For full credit you must use the higher-order features of statecharts such as orthogonal substates and depth.
  4. Give an argument that the traffic light signals will prevent collisions as long as they are obeyed. Be sure to include all cases of traffic. Describe each case in terms of states of the statechart.
  5. Turn in your work by committing a single pdf file to the appropriate HW folder in your individual subversion repository for this course. Be sure your pdf file contains both your statechart and your answer to the question above.
  6. Please complete the short, anonymous survey on ANGEL regarding this assignment. (I will study these surveys in detail after the conclusion of this offering of the course. If you have suggestions that you would like me to consider during this offering of the course, please tell me in person or use the separate Anonymous Suggestion Box on ANGEL.)