- Read Tutorial
- Watch Guide Video
Now one of the biggest components I wanted you to focus on here is clearly visualizing how each one of the participants
act and what each one of their activities are going to be. Remember that in an activity diagram
you can add swim lanes
so that it can very clearly show all of the processes that are taking place and the roles of the different participants and how those are applied in the system.
So starting off here on the left hand side the entire process gets kicked off by the teacher assigning the test and quiz
from that point it goes into the system
. Notice how we have a teacher
a system
and a student swim lane
and then that generates the individual questions set. So that could be something like being able to go and randomize the quiz questions or anything like that.
I modeled this after how the quiz and exam system works in devcamp so this is taken from a real world scenario. Now after the system has done that it gets sent over to the student where they can confirm
which essentially means that they're saying they're ready to start the process now. From there it goes into this branch
.
And if you remember from some of our previous solutions this branch is simply here to organize and to visualize the process so that we don't have all kinds of different associations going into a activity by itself. So once the confirmation process happens then it goes down. And it asks the question
the system asks the question and then it's the student's job to answer
that.
Now if it was the last question then it's going to continue down and it's going to generate the results if not. So if there are 10 questions and they're on say number five then it simply circles back. And so what we have right here is a loop that is completely based on how many questions that have been answered versus how many are in that specific exam or quiz. And so we'll just keep on going through this loop until it is the last question. Once that's done the system takes in the results
it generates all of the different scores and then sends it over to the teacher
. And once the teacher
gets it they simply approve those results and then the system stores
them.
So it's a pretty basic kind of test taking process. One of the biggest things that I want you to really focus on here is the ability to visualize the roles of each one of the participants and it's one of the reasons why I really like using swim lanes when I'm dealing with multiple individuals clients user types or anything like that. And I really like putting together this specific type of activity diagram because I think it is a pretty common sense kind of process. This is something that as a student you probably have dealt with in some form or another you've probably had some type of online test taking or quiz taking kind of experience. And so what this does is it can help you understand all of the things that are happening behind the scenes.
Obviously this is meant for an educational assessment engines
such as a learning management system like devcamp. But this type of process is very common in many different applications where you have one type of user say an admin
and then they start a workflow the system interacts with a another type of user. It goes back and forth until it gets sent back to the admin
. That's a common process in many different types of applications. So that's a good one to learn how to model.