Hence pay attention to drawing and aesthestics, as noted in the instructions above. Points will be deducted for sloppily drawn use-case and activity diagrams. The suffix mdj is automatically added by StarUML Save your model as a file OnlineForum.mdj. Show ‘end of semester’ as a constraint on the outgoing edge of appropriate decision nodes.Slanted arrows are permissible – StarUML also allows an arrow to have more than one segment (bend). To the extent possible, use vertical and horizontal arrows in depicting flow of control. Use Decision and Merge nodes to construct an iterative flow of control within the Student, TA, and Professor swim lanes.Note that each user takes their individual actions in a sequential manner. Termination takes place at the end of the semester. Use Fork/Join nodes (in Professor) to initiate/terminate concurrent operation of all users.Introduce one initial node and one final node for the entire diagram.The Actions to be represented are: Login, Logout, Activate, Q&A Post, Poll Post, Resource.Introduce three swim lanes, for Student, TA, and Professor Within each swim lane, define the control flow for the permitted actions for that type of user.What to Represent in the Activity Diagram.‘ > ’ arrows are to be used in relating Actions where appropriate.Draw these arrows pointing sideways or slanted upwards/downwards ‘Directed Association’ arrows are to be used in relating Users with their Actions.Draw these arrows pointing upwards or slanted upwards. ‘Generalization’ arrows are to be used to depict relevant relations between different types of Users.The Actions to be represented are: Login, Logout, Activate, Post, Q&A Post, Poll Post, Resource Post, Create Class, Enroll Students, Enroll Staff, and Maintain Statistics.The Users to be represented are: Student, TA, Professor, Staff, User, and OnlineForum.What to Represent in the Use-Case Diagram.All activity in the Online Forum ends at the end of the semester. As noted above, a user may logout at any time, but must login back again before any further other action can be taken.įinally, the Online Forum maintains statistics on the usage of the online forum, such as average response time for queries, numbers of posts made by users, etc. Each User may make any number of Posts (of the permitted types) and in any order. However, each User operates sequentially in taking their individual actions. Only after the class is created may Students and TAs login and activate their accounts – activation to be done only once, at the start of the semester.ĭuring the course of the semester, Students, TAs, and the Professor all operate concurrently relative to one another in taking their actions on the Online Forum. Initially, the Professor logs in and creates the class which includes enrolling the TAs and Students. As the focus of this assignment is on the external view of the application, the internal details of these posts are not relevant in this assignment.Īll Users must login to use the Online Forum they may logout at any time but must login back again in order to take any actions. Staff may make all three types of Posts, but Students may only make a Q&A Post and a Poll Post. The Online Forum supports three types of Posts: a Q&A Post, a Poll Post, and a Resource Post. TAs and the Professor are collectively referred to as Staff. The Online Forum caters to three main categories of Users – Students, TAs, and Professor – each with different privileges. You are to develop an ‘external view’ of an Online Forum application described briefly below. Part 1: Use-Case and Activity Diagrams using StarUML
0 Comments
Leave a Reply. |