E3. Given the state diagram in Figure 1, in what state would the system be in after the following sequences of events? A
Posted: Tue Apr 12, 2022 10:24 am
E3. Given the state diagram in Figure 1, in what state would the system be in after the following sequences of events? Assume that minimum is set to 3 and maximum is set to 5. (a) openRegistration, requestToRegister (repeated twice), cancel. (b) openRegistration, requestToRegister (repeated 8 times in total), closeRegistration. Planned Open Registration closeRegistration Cancelled OpenNotEnough Students D requestTo Register(aStudent) /createRegistration cancel cancel classSize 2 minimum close Registration Closed OpenEnough Students requestTo Register(aStudent) J/createRegistration classSize 2 maximum