You are on page 1of 10

MUHAMMAD MUSTAFA : MS120400114

Solution Assignment#04
Software Requirement Engineering CS708

Question
This assignment is based on the scenario given below (also covered in assignment 3).
Virtual University offers degree programs at undergraduate and graduate level. Being a distance
education institute, the student-teacher interaction is maintained via an online web-based system
called “Learners Management System” or LMS. The system provides two different interaction
interfaces for students and teachers. Through this system, the students receive schedules about
lectures (of the courses in which they are enrolled), assignment notifications, course
updates/announcements, submit assignments/quizzes, and initiate discussion board with the
course instructor. Each student gets access to the system via a login account. Similarly the
interaction mechanism works for the teachers who can respond to discussion board, do specific
announcements about course, course assignments, declare results of assignments, and open
lectures for students’ view.
(a) Draw level 0 Data Flow Diagram (DFD) for the system described above. Clearly label and
describe the data flow in the diagram. [10 points]

Level 0 Data Flow Diagram (DFD) of the system

Descriptions:
Registrar: Registrar adds the graduate and under graduate programs in LMS. Registrar can view all the
offered programs.
Student: Student gets admission in a degree program. Student receives the schedules for lectures and
views those lectures on scheduled days. Student posts queries about course on discussion board and
gets queries replied from teacher. Student receives the assignments and quizzes as an assessment.
Student submits the solution of assignments and attempts quizzes on LMS. Student receives the results
of assignments and quizzes.
Teacher: Teacher provides lectures schedules for students. Teacher replies to queries of students on
discussion board. Teacher received solved assignments and attempted quizzes from students. Teacher
marks the assignments and quizzes and announces the results for students.
VU_Database: The database is used to store all sorts of data i.e. users’ information, degree programs,
students results, discussion boards queries etc. LMS apply different queries on database and database
returns back the queried data.
(b) Draw level 1 DFD for the system described above. Clearly label and describe the data flow in
the diagram. [20 points]

Level 1 Data Flow Diagram (DFD) of the system


Descriptions:
The system has been partitioned into four processes i.e. courses enrollment services, video lesson
services, discussion board services, and student assessment services.
1. Course Enrollment Services: It receives the new degree programs and save them to the database. It
also processes the enrollment requests from the student for a particular program. If all the criteria are
met, the student is enrolled in the degree program and the record is saved into the database.
2. Video Lesson Services: This process deals with all the learning material for a course. Teacher has the
authority to open a video lecture according to the schedule. Students receive the lecture schedules and
attend the video lesson on their scheduled days.
3. Discussion board Services: It controls the student teacher interaction. Student posts queries. The
queries are saved into the database. Teacher reads queries and replies to queries. Replies are also saved
in the database. Replies and queries can been seen by any student at any time.
4. Assessment Services: This process performs student assessment related tasks. Teacher prepares
assignment and quizzes by taking out the data from question bank. Student submits the solved
assignments and quizzes and teacher marks them. The process saves the results into the data store.
These results can be referred at any later time.
(c) Draw (SADT) context diagram for the system described above. Cleary label and describe the
associated information depicted by the identified arrows. [10+5 = 15 points]
Answer:
(SADT) Context Diagram of the system

Descriptions:
Inputs and outputs are self explanatory. However, controls and mechanisms can be described as:
Controls:
Login information: These are the information of registered users stored in the system database e.g. user
IDs and Passwords etc. This information is used to control and authenticate the users.
Access information: This is role based information controlling the content-access by the users.
LMS usage terms and conditions: These are the terms and conditions specified by the University for its
Staff and students to use the LMS system.
Mechanisms:
Networks: The system will use networks for its access from inside the country and outside the country.
Web-based: The system is a web application.
Databases: The system will use database tools to handle data, such as SQL server, My SQL, Oracle etc.
(d) Draw the system state diagram for the login use case, where a user (either student or teacher)
logs into the system. Also provide appropriate details when the system moves from one state to
another during this use case. [10+10 = 20 points]
Answer:
State diagram for login use case has been given below.

Appropriate details when the system moves from one state to another has also been provided as under:
1.1 System is in “Waiting for ID and Password” state. When the user enters information, system moves
to “validating inputs” state. 1.2 System shows a waiting icon and asks the user to be patient till the time
the inputs are validated.
1.3 If the inputs are valid (proper pattern, no missing entry), it’s the time to authenticate the inputs.
System goes to the “authenticating ID and Password” state. 1.4 System asks the user to be patient and
wait till the time inputs are authenticated.
1.5 If the user is authenticated, then it’s the time to identify whether the user is a student or a teacher.
So the system moves to “Redirecting state”. 1.6 System displays a message that the user is being
redirected to relevant interface.
1.7 If the user is a teacher, the user is redirected to teacher’s interface. 1.8 A redirection towards
teacher interface message is shown at the same time.
1.9 If the user is a student, the user is redirected to student’s interface. 1.10 A redirection towards
student interface message is shown at the same time.
1.11 When the student has performed tasks, and then issues log out command, the student is logged
out. 1.12 A successfully logged out message is displayed and the system moves to the “Waiting for ID
and Password” state
1.13 When the teacher has performed tasks, and then issues log out command, the teacher is logged
out. 1.14 A successfully logged out message is displayed and the system moves to the “Waiting for ID
and Password” state.
1.15 If the input by user is not in a proper format or the user has left some inputs blank, then 1.16 user
is informed of it and system moves to “Waiting for ID and Password” state so that the user may enter
information with correct format or fill some missing inputs.
1.17 If the user has input the wrong ID or Password, the 1.18 user is informed of it and system moves to
“Waiting for ID and Password” state so that the user may enter correct information again.
1.19 If the user has input the wrong ID or Password more than the allowed times, the 1.20 user is
informed of it and the login interface is disable. User has no option then except than leaving the system.

Parts (e), (f) and (g) are based on the “post query on discussion board use case (initiated by a
student)”.
(e) Identify the objects involved in this use case. [5 points]
Answer:
The identified objects involved in “post query on discussion board use case (initiated by a student)” are
followings:
1. Student
2. Login
3. Student interface
4. Discussion Board
5. Posts’ Bank
(f) Develop collaboration diagram for this use case. Cleary label the associated information [15
points]
Answer:
Collaboration diagram is given below for “post query on discussion board use case (initiated by a
student)”.

Descriptions:
1. Student attempts to login the LMS
2. If the login is successful, student gets access to student interface.
3. From student interface, the student chooses the option to initiate the discussion board.
4. The discussion board is created.
5. Student selects the course for which he/she wants to post a query.
6. Query Bank is requested to return all the queries for the course selected by the student.
7. Query Bank returns all the queries of the selected course from the database.
8. All the returned queries are shown to the student with proper formatting
9. Student enters the query’s contents using a service of discussion board and submits
10. The query is saved into the database
11. All the queries including the recently saved query are returned back to discussion board.
12. All the returned queries including the recently added query are shown to student with
formatting
13. Student wishes to logout
14. Student is logged out successfully
(g) Develop sequence diagram for this use case. Cleary label and describe the flow of the
associated information. [15 points]
Answer:
Sequence diagram is given below for “post query on discussion board use case (initiated by a student)”.

Descriptions:
15. Student attempts to login the LMS
16. If the login is successful, student gets access to student interface.
17. From student interface, the student chooses the option to initiate the discussion board.
18. The discussion board is created.
19. Student selects the course for which he/she wants to post a query.
20. Query Bank is requested to return all the queries for the course selected by the student.
21. Query Bank returns all the queries of the selected course from the database.
22. All the returned queries are shown to the student with proper formatting
23. Student enters the query’s contents using a service of discussion board and submits
24. The query is saved into the database
25. All the queries including the recently saved query are returned back to discussion board.
26. All the returned queries including the recently added query are shown to student with
formatting
27. Student wishes to logout
28. Student is logged out successfully

You might also like