OPP Assignment BSCS-2A
Object Oriented Programming
Assignment : 01
SUBMITTED TO: Miss Saima Jawad
Name: Neesa Sarwar Latif
Class: BSCS (2A)
Enrollment no: 01-134251-110
DEPARTMENT OF COMPUTER
SCIENCE
BAHRIA UNIVERSITY | ISLAMABAD
OPP Assignment BSCS-2A
REPORT ON
OBJECT
MODELLING
USING
ABRSTRACTION
OPP Assignment BSCS-2A
Problem statement:
The main purpose of this report is to analyze a Learning management
system and apply the basic concepts of object oriented programming to model it. The assignment is
about identifying objects from provided description regarding LMS, and then write attributes and
behavior of those objects using abstraction.
Objectives:
The objectives of this report are given below:
Identifying objects from the provided description of LMS
Apply concepts of abstraction in order to understand it well.
Define attributes and behavior of the objects using the concepts of abstraction.
Identify and be able to explain the relationship among the listed objects
What is Abstraction?
Abstraction means hiding complex implementation details from the user and only showing essential
features of an object.
(Definition has been taken from google)
What are Attributes?
In OOP, attributes are the data or properties that define an object’s state. They are the
characteristics that describe the object.
(Definition has been taken from google)
What is Behavior?
In OOP, behavior refers to the actions or functions that an object can perform, these actions are
defined by object’s methods.
(Definition has been taken from google)
OPP Assignment BSCS-2A
Description:
List of objects identified:
1. LMS: Learning management system application.
2. Software application: any general application.
3. Course: any subject
4. Material: helping content.
5. Videos: a visual representation on any topic.
6. Documents: a file including any content over any topic.
7. Syllabus: objectives to be covered.
8. Assignment: task regarding a course.
9. Teacher/instructor: a person who guides and teaches
10. Discussion board: a source to communicate or discuss
11. Administration: leading body.
Behavior and Attributes of any five (05) objects:
Object 1: LMS
Learning management system, a platform to assist students to access lecture notes, do course
registration, get their challans, access assignments uploaded by teacher and all.
ATTRIBUTES BEHAVIOR
1. Name-BU LMS Register a course
2. Available courses Track attendance
3. Registered courses Generate fee challan
OPP Assignment BSCS-2A
Object 2: Instructor/Teacher
A person who teaches something.
ATTRIBUTES BEHAVIOR
1. Is a human Teaches
2. Has a degree Marks the attendance
3. Has a name Tracks progress
4. Teaches a course Assigns the assignment
5. Has contact information Grade’s work
Object 3: Course
A subject that includes complete information needed to learn it.
ATTRIBUTES BEHAVIOR
1. Has a subject code Has quizzes
2. Has different chapters Has assignments
3. Has a time duration in which it has to Have students enrolled
be completed
4. Has an instructor Has a syllabus
5. Has its helping material
Object 4: Syllabus
Outline of the course topics that are needed to be covered
ATTRIBUTES BEHAVIOR
1. Has SLO’s Displays the content it includes
2. Has objectives
3. Has topics that are needed to be covered
4. Has a code which is same as the course
code it belongs to
5. Belongs to a specific course
OPP Assignment BSCS-2A
Object 5: Materials
Helping content of a course.
ATTRIBUTES BEHAVIOR
1. Is in hard/soft copy It can be downloaded
2. Belongs to a specific course It can be viewed
3. Is in a specific format such as pdf, etc It can be printed
4. Has a name
Relationship among the chosen objects:
All five objects have relationship among them. LMS is used by instructor to update the course, its
syllabus, and upload any useful material required the excel it. In context to instructor, LMS includes
the name of instructor and in context to the course, LMS also includes the name of courses that are
either registered or are available. And from the Instructor side, instructor teaches a course that has a
syllabus and helping material. That way all 5 objects that are listed are inter-connected.
Conclusion:
In this report, I was able to successfully identify the objects from given description which was about
LMS, through the fundamental concept of OOP which included one of its pillar known as
abstractions, I was able to identify various attributes and behaviors of 5 objects out of the list I
extracted.
At first I mentioned the problem statement and the objectives, later I mentioned the definition of
Abstraction, Attributes and Behavior (Definitions were taken from google).
Then I listed the objects I could identify from the description, afterwards I chose 5 objects which
were LMS, Instructor, Course, Syllabus and Material. Afterwards I made separate tables for each
object to list their attributes which are the characteristics of the object and behavior, that are the
actions performed by those objects.
At last I explained how these objects are interlinked to each other, such as how the instructor
manages the course? By teaching it.
Overall, the objective of this report was achieved and I was able to apply the fundamental OOP
concepts to the real-world system.