Students Admitted To Study At An Institution Enter At The Basic Level And Are Required To Pass Three Exams Prior To Prog 1 (76.79 KiB) Viewed 21 times
Students admitted to study at an institution enter at the basic level and are required to pass three exams prior to progressing to the advanced level which also requires three passes. On passing all exams at the advanced level, a student then graduates. If a student fails any exam, at either level, they are allowed to resit the exam up to two times before leaving the level in which case the registration of the student is deemed to have been cancelled. In the following nb denotes the number of basic exams taken, na the number of advanced exams taken, r the number of resits (ra, rb for advanced and basic respectively), g indicating a pass (p) or fail (f) grade (ga, gb for advanced and basic respectively). Select all state machines reflecting the student progression description above. (1) /nb-0na=0rb=0;ra=0gb-p;ga-p fail[gb==f] Basic pass[gb==p]/nb++ fail[ga f resit[rb<=1]/rb++;gb=f pass[ga= =p]/na++ pass[nb<=2,gb==pl/nb++ when(na> 3) Advanced Graduated when(nb> 3) when(rb>2) Resit Cancelled