Subject- Object Oriented Software Engineering.
Topic- Designing a class diagram for "Online Examination System"
+ Basic Concept of Class diagram
+ Creating class Diagram
+ Relationship between classes
+ Access specifier
2. Objective
Basic concept of class diagram.
Creating the class diagram for
“Online Examination System”.
2
3. Basic Concepts
╺ Class: A class is a description of a set of objects that share the same
attributes, operations and relationships.
╺ Class Diagram: A class diagram is a type of static structure
diagram that describes the structure of a system by showing the
system's classes.
╺ A class may also includes its responsibilities in the class diagram
3
4. A class diagram is made up of :
A set of classes
A set of relationship between the
classes
4
5. Class:
A class represent a concept which
encapsulates state and behavior
Each attribute has a type.
• Every class has a name.
• Different types of attributes.
• Operations of that class.
5
6. Purpose of the class Diagram
•Analysis and design of the static view of an
application.
•Describe responsibilities of a system.
•It is used as a base for component and
deployment diagram.
8. Classes used for the Diagram:
Admin
Website
Database
Examiner
Exam
Student
8
9. Relationships used in the diagram:
Association
9
Association
Here, I have used
association relation
between these classes.
These classes can directly
interact with the other
classes.
Association
10. Dependency
10
Here, I have used the
dependency
relationship between
this two class – Website
class and database
class.
Website is depended on
the database.
Dependency
11. Access Specifiers:
There are mainly there access specifiers used,
Public (symbol= ‘+’)
Private (symbol=‘-’)
Protected (symbol=‘#’)
11