PDA

View Full Version : cs504 first assignment solution fall 2010



Xpert
11-08-2010, 05:49 PM
Answer 1:- (Components of Use Case)
Use Name Case:-
Post the Question
Priority:-
2
Actors:-
Student
Summery:-
Posting the Question is allowed to students to post their queries on MDB. Students
can ask question is the current lesson status is open, if the status is closed then student
can’t post question. Post button will be only visible when students write something in the
window.
Precondition:-
Student has to write down some question in MDB, and then he is able to post his
message.
Post Condition:-
The message will be post in MDB
Extend:-
Show message that has been already posted.
Use (Includes):-
Post Message, Cancel
Normal Course of Events:-
1. The use case starts when student click on MDB button.
2. The student select the post message button a page will be open after this action.
3. Student enters his question on the main text window.
4. The system post the message if student click on post message button and cancel if he
clicks on cancel button.
5. After posting the message system will respond and tell the user that his message
has been posted on MDB.
6. Use Case: Post Message
7. Use case ends
Alternative Path:-
If the student hit the cancel button then post message window will close.
Use Case: Cancel
Exceptions:-
1. The system will not allow the students to post the empty message.
2. The system will not allow a student to edit the posted message.
Assumptions:-
1. The system will post message permanently and student can’t edit or delete
once posted
2. Student can post message at any time and how much he wants.
Narrative From
Here we have one actor and 4 use cases
Student is the actor
MDB, Post Message, Cancel and Show my message are the use cases