0% found this document useful (0 votes)
16 views

Assignment 1

Uploaded by

ffff
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Assignment 1

Uploaded by

ffff
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

OOP: Assignment 1 (Classes and their relationships)

Description: This a group assignment. Form a group of 5 students.

Deadline:

Document:

- June 22, 2022 (for section 3 and 4) and June 24, 2022 (for section 1 and 2)

Submission (Document): The group leader emails the document to [email protected]. The email
should contain names and id numbers of the group members.

Value: 5%

Questions

1. Describe UML class diagram and its purpose.


2. List and describe types of class relationships in OOP. Also, draw their UML symbol.
3. Student registration system
a. Identify the classes of this system and write their responsibilities.
b. List the attributes and methods of the classes in a tabular format. It should include
visibility (public, private…), data types (for attributes), and return types (for methods)
c. Draw a UML diagram that shows the relationship between the classes. Explain the
relationship between the classes.

Appendix

Features of Student Registration System:

• Student enters registration details and registers for the semester

• Teacher submits grades of a student

• Admins provide access credentials for users

• Registrar creates courses for the semester

• Check admission status of a student

• Check eligibility of a student for registration

• List the courses available for registration for each student

• Handle user authentication

Detailed Design (for 3.b)

Table: 1 Attribute Description for Student Class

Attribute Type Visibility


id String Private

First name String private

Middle name String Private

Last name String Private

Department String Private


School String Private
Year String Private
Eligibility Boolean Private

Table: 2 Operation description for Student class

Operation Visibility Return Argument


type
RegisterStudent() Public Boolean Academic Year: Date,
Semester: String

You might also like