You are on page 1of 3

Roll no.

18-ARID-5198
Class: BS(CS)6B
Submitted To. Miss Andleeb
Sadiq

Task of OOD

Name: Muhammad Atta Ur


Rehman
Question no.1
You have been asked to design a Student Registration System to replace
the university’s legacy system. The system will allow students to register
for courses and view grade reports. Each student has access to his or her
course and grade information only and must be authenticated prior to
viewing or updating the information.
A course instructor will use the system to view the list of courses he or
she is assigned for a given semester or has taught previously, view the
list of students registered for the course(s) he or she is teaching, and
record final grades for each student in the course(s). Instructors must
also be authenticated prior to viewing or updating any information.
Follow the process documented below to design the Student
Registration System.
 Analysis and Design Process

1. Analyze the written requirements.


1. Identify the nouns. Highlight or list the nouns your find in the
requirements.
Answer: list of nouns
1. Student registration system
2. university’s legacy system
3. students
4. courses
5. list of courses
6. grade reports
7. grade information
8. instructor
9. semester
10.final grades

2. Identify the verbs. Highlight or list the verbs you find in the
requirements.
Answer: list of verbs
1. View
2. Assign/taught
3. Register
4. Replace
5. update

2. Draw the Class Diagram for the system.


1. Draw the nouns as classes.
2. Draw the verbs as associations/relationships between classes.
3. Assign a multiplicity to each association (i.e., one-to-one,
one-to-many, many-to-many)
3. Update the Class Diagram with class attributes.
4. Update the Class Diagram with class methods.

Answer: all methods ,attributes ,assocaitions and classes define in


blow diagram

Class diagram

You might also like