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

Student Information System Project

Uploaded by

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

Student Information System Project

Uploaded by

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

UML Diagram for Student Information Syst

Computer science and engineering (Government College Of Engineering, Dharmapuri)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Sharat Seela ([email protected])
Ex. No.4 STUDENT INFORMATION SYSTEM
Date:

AIM
To develop a project Student Information System using Rational Rose
Software and to implement the software in Java.

PROBLEM ANALYSIS AND PROJECT PLANNING


A Student information system (SIS) is a software application for
educational establishments to manage student data. Student information
systems provide capabilities for entering student test and other
assessment scores, building student schedules, tracking student
attendance, and managing many other student-related data needs in a
school, college or university.

PROBLEM STATEMENT
a. Effective for Administration Purpose
b. Cheap
c. Better Service

Downloaded by Sharat Seela ([email protected])


UML DIAGRAMS:
The following UML diagrams describe the process involved in the online
recruitment system
a. Use case diagram
b. Class diagram
c. Sequence diagram
d. Collaboration diagram
e. Activity diagram
f. Component diagram

USE CASE DIAGRAM:

A use case is a methodology used in system analysis to identify, clarify, and


organize system requirements. The use case is made up of a set of possible
sequences of interactions between systems and users in a particular
environment and related to a particular goal. It is represented using ellipse.
Actor is any external entity that makes use of the system being modelled. Its
represented using stick figure

For Administrator:

Downloaded by Sharat Seela ([email protected])


Admin
Login

Add
Student

Admi
n Database
Delete
Student

Update Student
Records

For Student:

Downloaded by Sharat Seela ([email protected])


Student Login

Message

Attendance

Stude
nt Databases
Pro 昀椀 le

Result

Time Table

Fee

Library

Log Out

DOCUMENTATION OF USE CASE DIAGRAM

The actors in this use case diagram are Admin, Student, Database. The
use cases are the activities performed by actors.

Downloaded by Sharat Seela ([email protected])


a. Admin register login, and store the student records details in database.

b. Student Register from the Student Login process.

c. Then the database is searched for details and verified.

d. Database stores the details and returns acknowledgement

CLASS DIAGRAM:

A class diagram in the unified modeling language (UML) is a type of


static structure diagram that describes the structure of a system by showing
the system's classes, their attributes, and the relationships between the
classes. It s represented using a rectangle with three compartments. Top
compartment have the class name, middle compartment the attributes and
the bottom compartment with operations.

Update details
Login Student
+Student details
+username details
+Result details
+password +Name
+Address
+Updae_info()
+Login() +Age
+get_detail()
+validation() +Course
+Display()
+get_data() +Department
+display() +Phone no
+get_data()
+Display()

Downloaded by Sharat Seela ([email protected])


DOCUMENTATION OF CLASS DIAGRAM

This class diagram has three classes Login, Student details and Update
details in database.

a. Students – is the class name. Its attributes are name, Address, DOB,
Gender, College, Subjects, Semester, Year, Degree, Branch. The operations
Performed in the students class, Store database and Update.
b. Administration– is the class name. Its attributes are Login, Password
and database. The operations performed are Student Details store in database
and send acknowledgement.
c. Database – is the class name. The operations performed are storing
Search and storing the values.

SEQUENCE DIAGRAM:

A sequence diagram in Unified Modeling Language (UML) is a kind of


interaction diagram that shows how processes operate with one another and
in what order. It is a construct of a Message Sequence Chart. There are two
dimensions.
1. Veritcal dimension-represent time.
2. Horizontal dimension-represent different objects.

For Validity:

Downloaded by Sharat Seela ([email protected])


Admin/ Validatio Databa
Student n se

1 : Request for
validity()

2 : Check for
validity()

3:
Validate()

4 : Successful
validate()

For Administrator:

Downloaded by Sharat Seela ([email protected])


Login ReqAdd Student ReqUpdate Student Database
Admin

1 : Enter Credentials for login()

2 : Check for validity()

3 : Valid user()

4 : Successful login()

5 : Enter details for adding a student()

6 : Add()

7 : Successful()

8 : Successfully added()

9 : Enter credentials for update student record()

10: Update()

11: Successful()

12: Successfully Updated()

Downloaded by Sharat Seela ([email protected])


For Student:

Downloaded by Sharat Seela ([email protected])


Student Login ReqView Pro 昀椀 le
ReqView Details Database

1 : Enter credentials for login()

2 : Check for Validity()

3 : Valid()

4 : Valid login()
5 : Request for view pro 昀椀 le()

6 : Request()

7 : Set Details()

8 : Get the details()


9 : Request for view Details()

10 : Request()

11 : Set Details()

12 : Get the Details()

DOCUMENTATION OF SEQUENCE DIAGRAM

The sequence diagram describes the sequence of steps to show

a. The Admin login and registering for Add Stduent Details.

b. The verification done by the interface and sending acknowledgement


for registration.

Downloaded by Sharat Seela ([email protected])


c. Searching the database with login and displaying it for maintenance.

COLLABRATION DIAGRAM:

A collaboration diagram, also called a communication diagram or


interaction diagram,. A sophisticated modeling tool can easily convert a
collaboration diagram into a sequence diagram and the vice. A collaboration
diagram resembles a flowchart that portrays the roles, functionality and
behavior of individual objects as well as the overall operation of the system
in real time

For Validity:

Databa
se 3 : Validate()

2 : Check for validity()

Validati
on
1 : Request for
validity()

4 : Successful
validate()
Admin/
Student

For Administrator:

Downloaded by Sharat Seela ([email protected])


Databa
se
3 : Valid user()
6 : Add()
10 :
Update()

7 : Successful()
11 : 2 : Check for validity() Login
Successful()

ReqAdd ReqUpdate
Student Student

1 : Enter Credentials for login()

8 : Successfuly added()

12 : Successfuly Updated() 4 : Successful


login()

9 : Enter credentials for update student record()

5 : Enter details for adding a student()

Admin

Downloaded by Sharat Seela ([email protected])


For Student:

Databa
se
3 : Valid()
6 : Request() 2 : Check for Validity()

7 : Set Details1(0) : Request()


Login
11 : Set Details()

ReqView Pro 昀椀 8 : Get the details()


le ReqView
Details

4 : Valid login()

1 : Enter credentials for login()

Object1
5 : Request for view pro 昀椀 le()
9 : Request for view Details()

12 : Get the Details()

Studen
t

Downloaded by Sharat Seela ([email protected])


DOCUMENTATION OF COLLABRATION DIAGRAM

The collaboration diagram is to show how the Student registers and the
authorities maintains the details of the registered students in the Information
system. Here the sequence is numbered according to the flow of execution.

ACTIVITY DIAGRAM:

Activity diagrams are graphical representations of workflows of stepwise


activities and actions with support for choice, iteration and concurrency. In
the Unified Modeling Language, activity diagrams can be used to describe
the business and operational step-by-step workflows of components in a
system. An activity diagram shows the overall flow of control. An activity is
shown as an rounded box containing the name of the operation.

DOCUMENTATION OF ACTIVITY DIAGRAM

This activity diagram flow of stepwise activities performed in


recruitment system.

a. The student details are Add and stored in database.

b. Select the course from the given Course by student.

c. Search Profile and Result with login and if data present in the
database.

d. The searched data is displayed if available and then Log Out.

Downloaded by Sharat Seela ([email protected])


Logi
n
COMPONENT
DIAGRAM:

Student The component


Registration
diagram's main
purpose is to
show the
structural
back to
relationships
registration between the
If
No
components of a
Yes system. It is
Select
represented by
Course boxed figure.
Dependencies
are represented
by
Pro 昀椀 le communication
association.

Res
ult

Fe
e

Libra
ry

Log
Out

Downloaded by Sharat Seela ([email protected])


User

IUser

<<applicatio
n>> <<infrastructure>>
Manageme Persistence
nt

Request

IRequest

DB

J DBC

DOCUMENTATION OF COMPONENT DIAGRAM

Downloaded by Sharat Seela ([email protected])


The main component in this component diagram is Student Information
system. And register, User and Manage, Request details are the components
comes under the main component.

DEPLOYMENT DIAGRAM:
A deployment diagram in the unified modeling language serves to model
the physical deployment of artifacts on deployment targets. Deployment
Diagrams show "the allocation of artifacts to nodes according to the
Deployments defined between them. It is represented by 3-dimentional box.
Dependencies are represented by communication association.

Student Information
System

Administrator Student Access


Database

DOCUMENTATION OF DEPLOYMENT DIAGRAM

The processor in this deployment diagram is the Student Information System


which is the main part and the Student are the Admin, verify and search
which are the some of the main activities performed in the system.

Downloaded by Sharat Seela ([email protected])


Coding:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
public class jdbcframe1 extends JFrame implements ActionListener
{
public JLabel l1,l2,l3,l4,l5;
public JTextField
t1,t2,t3,t4,t5; public JButton
b1;
Container c;
public jdbcframe1()
{
setSize(180,400);
setTitle("STUDENT DETAILS");
setVisible(true);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
c=getContentPane();
c.setLayout(new FlowLayout());
l1=new JLabel("Regno");

Downloaded by Sharat Seela ([email protected])


c.add(l1);
t1=new JTextField(10);
c.add(t1);
l2=new JLabel("Name");
c.add(l2);
t2=new JTextField(10);
c.add(t2);
l3=new JLabel("Dept");
c.add(l3);
t3=new JTextField(10);
c.add(t3);
l4=new JLabel("Course");
c.add(l4);
t4=new JTextField(10);
c.add(t4);
l5=new JLabel("Contact");
c.add(l5);
t5=new JTextField(12);
c.add(t5);
b1=new JButton("SAVE");
c.add(b1);
b1.addActionListener(this);
}
public void actionPerformed(ActionEvent ae)
{
if(ae.getSource()==b1)
{
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection
con=DriverManager.getConnection("jdbc:odbc:student");
Statement st=con.createStatement();
PreparedStatement ps,ps1;
ps1=con.prepaeStatement("select * from student where
regno="+t1.getText());

Downloaded by Sharat Seela ([email protected])


ps=con.prepareStatement("insert into
student(regno,name,dept,course,contact)values(?,?,?,?,?)");
ps.setString(1,t1.getText());
ps.setString(2,t2.getText());
ps.setString(3,t3.getText());
ps.setString(4,t4.getText());
ps.setString(5,t5.getText());
ps.executeUpdate();
JOptionPane.showMessageDialog(null,"RECORD SAVED");
}
catch(SQLException sq)
{
System.out.println(sq);
System.out.println("\nHai this place is error occur");
}
catch(Exception e)
{
System.out.println(e);
}
}
}
public static void main(String args[])
{
jdbcframe1 f=new jdbcframe1();
}
}

Output:

Downloaded by Sharat Seela ([email protected])

You might also like