SPM Lab PDF
SPM Lab PDF
DEPT OF CS & IT
(IT40306)
Control Information
Document Name Software Engineering Laboratory manual
Prepared on:
Verified By:
Released on:
1.Overview
Employee Management system is an application that enables users to create and store
Employee Records. The application also provides facilities of a payroll system which enables
user to generate Pay slips too. This application is helpful to department of the organization
which maintains data of employees related to an organization .
2. General Description
Employee Management System is open to admins, HRs, Managers, and regular employees.
Among all users, only the admins have all privileges to access all the information of system.
So the admins will insert, update, remove the employees, departments, generate reports and
whereas other users will have limited roles. Once the user’s login they can perform few tasks
specific to their role. Employee information can be modified by either Admin, Managers or
by the employee himself/herself. Suppose if we want to keep track of a list of all changes
made to an employee profile, we need to maintain logs.
3. Functional Requirement
This section provides requirement overview of the system. Various functional modules that
can be implemented by the system will be -
3.2 Registration
If employee wants to register then he/she must be registered, unregistered user can’t go to
the admin page.
3.3 Login
Employee login to the system by entering valid user id and password for validating or
changing details.
3.4 Logout
4. Operational Scenario
It must provide a user in employee mode with the details of an employee, which
includes his/her name, department, date of joining and salary.
It must validate a user to enter in administrator mode using password. It must provide
a user to enter in administrator mode to view or modify an employee’s details using
employee ID. It must also allow the user to add a new employee and delete records of
an existing employee.
External entities
Processes
Data stores
Data flows
Modules
Condition
Jump
Loop
Data Flow
Control Flow
A use case diagram is a dynamic or behaviour diagram in UML. Use case diagrams model the
functionality of a system using actors and use cases. Use cases are a set of actions, services, and
functions that the system needs to perform. In this context, a "system" is something being developed
or operated, such as a web site. The "actors" are people or entities operating under defined roles
within the system.
Use case diagrams are valuable for visualizing the functional requirements of a system that will
translate into design choices and development priorities.
They also help identify any internal or external factors that may influence the system and should be
taken into consideration.
They provide a good high level analysis from outside the system. Use case diagrams specify how the
system interacts with actors without worrying about the details of how that functionality is
implemented.
System
Draw your system's boundaries using a rectangle that contains use cases.
Use Case
Draw use cases using ovals. Label the ovals with verbs that represent the system's functions .
Actors
Actors are the users of a system. When one system is the actor of another system, label the
actor system with the actor stereotype.
Relationships
Illustrate relationships between an actor and a use case with a simple line. For relationships
among use cases, use arrows labeled either "uses" or "extends." A "uses" relationship
indicates that one use case is needed by another in order to perform a task.
Figure 5: Use Case for Employee Management System
Experiment 5: Object and Class Diagrams using UML
A UML object diagram represents a specific instance of a class diagram at a certain moment
in time. When represented visually, you'll see many similarities to the class diagram. An
object diagram focuses on the attributes of a set of objects and how those objects relate to
each other.
Object diagrams are simple to create: they're made from objects, represented by rectangles,
linked together with lines. Take a look at the major elements of an object diagram.
Objects
Class Titles
Links