Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a State Machine (Statechart) Diagram for a simplified online student quiz. Consider what happens when a student takes a quiz online. How would you

Create a State Machine (Statechart) Diagram for a simplified online student quiz.

Consider what happens when a student takes a quiz online.

How would you model this life cycle as a state machine?

o List all the states in the quiz life cycle (restrict yourself to a single student taking a quiz, rather than an entire sitting).

o It may help to think of the states a student goes through from the systems viewpoint.

o Draw each state.

o Walk through the life cycle, showing how the student moves from one state to another with transitions, corresponding to the commands they give the system and the questions they ask. Ensure that all diagram elements are given appropriate labels.

Hint: o Consider that from a logged off state, the student first needs to login, then probably view some instructions before start to answer some questions. Then the student may view progress on their work, or review some instructions further, before resume to answer next portion of questions, and repeat the process of answering questions, reviewing instructions, viewing progress, until is satisfied and stops the quiz to view the results and proceed to the logoff state. To stop the quiz, the student will probably need to end the process by confirming the stop, which is a state before which they will probably have the option to cancel the stop and return back to answering questions, or confirming the stop and proceeding with viewing results and then logging off the system.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions