Skip to content

Practice Exam 1, Problem 2: Process States

Midterm 1 practice exam, problem 2 of 5 · Length: 8:00 · Exercises: 05r_enums_match (Week 3) · Answer key: Solutions (PDF)

Worked on pages 7 to 9, with the 05r_enums_match code beside each part: (a) nine events traced through next_state; (b) a Kill event, and why its arm must come before _; (c) what a new Stopped state breaks, and how to fix it. The answer key's handwriting is written onto the exam page as each step is worked.

Download the video (MP4, 31 MB) · Captions (WebVTT) · All five problems