Professional Documents
Culture Documents
MANAGEMENT
SYSTEM
Project Report
The matter embodied in this report has not been submitted by me for the
award of any other degree/examination.
(KANIKA DHIMAN)
KGC, Dehradun
Dr. Savita
ABTRACT
The project titled “STUDENT MANAGEMENT SYSTEM” is database
management software for monitoring and controlling the system in
colleges. The project “Student Management System” is developed in
Java, which mainly focuses on basic operation like adding new student’s
data, and updating new information, assigning the staff. It features a
familiar and well thought-out, an attractive user interface, combined
with strong searching insertion and reporting capabilities. The backend
of the project is designed using MS-access.
Contents
1. INTRODUCTION............................................................................6
1.1. Purpose:.......................................................................................6
1.2. Objective:....................................................................................6
1.3. Advantages:.................................................................................6
1.4. Limitations:.................................................................................7
1.5. Software requirement:.................................................................7
1.6. Hardware requirement:...............................................................8
2. System design...................................................................................8
2.1. Modules........................................................................................8
2.1.1. User module.........................................................................8
2.1.2. Student module....................................................................9
2.1.3. Mark management..............................................................9
2.2. Data Flow Diagram.....................................................................9
2.2.1 Context Diagram:.................................................................9
2.2.2. Level 1................................................................................10
2.3. E-R Diagram.............................................................................11
2.4. Database Design.......................................................................12
2.4.1. Student................................................................................12
2.4.2. UAD....................................................................................13
2.4.3. Subjects...............................................................................13
2.4.4. Subject Allocation...............................................................14
2.4.5. SSLC1.................................................................................14
2.4.6. PLUSTWO1......................................................................14
3. Software Implementation:...............................................................15
3.1. Coding.........................................................................................16
3.2. Snapshot of O/P..........................................................................19
4. Conclusion......................................................................................28
5. Bibliography...................................................................................28
1. INTRODUCTION
Student Management System is software which is helpful for students as well as
the school authorities. In the current system all the activities are done manually. It
is very time consuming and costly. Our Student Management System deals with
the various activities related to the students.
1.1. Purpose:
A student management system helps a school manage data,
communication, and scheduling. A system generates and uses a large
amount of data. This data must be communicated appropriately to
student, faculty, and parents. A student management system helps to
store, manage and distribute this information.
1.2. Objective:
The objective of SMS is to get an understanding of how the business
works. The college presuppose having an incredible SMS for keeping
their information secure and make their organization less complex. The
organization system can give basic way where the administrator can
control data and information about researchers and staff smoothly.
This SMS will be built based on identification some key qualities
document and their relations. With the understanding of the structure
and content of key quality documents, it will help to reduce the
duplication and save more time.
1.3. Advantages:
It helps to manage student data.
It will reduce your time.
You don’t need to take attendance on paper.
SMS has individual portal like admin portal, student portal.
System will generates reports
SMS allow registering or deregistering.
1.4. Limitations:
High security is needed to protect especially in case of universities.
Financial details not to mention the other contact details of
students.
Personal information protection is a serious responsibility and
heavily punishable by the law.
The storage capacity needed for the amount of students. The more
students, the more data, and the more data means more memory is
required.
Database : MS Access2007.
1.6. Hardware requirement:
RAM : 128 MB
2. System design
2.1. Modules:
There are mainly 3 modules in this software
Student
administrator management
User account maintainence system
Mark-sheets generated
2.2.2. Level 1:
Update student
Search student
2.3. E-R Diagram:
2.4. Database Tables:
The general theme behind a database is to handle information as an integrated
whole. A database is a collection of interrelated data stored with minimum
redundancy to serve many users quickly and effectively. After designing input
and output, the analyst must concentrate on database design or how data should
be organized around user requirements. The general objective is to make
information access, easy quick, inexpensive and flexible for other users. During
database design the following objectives are concerned:-
Controlled Redundancy
Data independence
Accurate and integrating
More information at low cost
Recovery from failure
Privacy and security
Performance
Ease of learning and use
TABLES USED
2.4.1. Student
2.4.3. Subjects
2.4.6. PLUSTWO1
3. Software Implementation:
3.1. Coding:
Login:
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPasswordField;
import javax.swing.JTextField;
Container c = getContentPane();
private JButton btnLogin, btnCancel;
private JLabel lblUName, lblPasswd;
private JTextField txtUName;
private JPasswordField txtPasswd;
public Login() {
super("Login ...");
this.setSize(350, 200);
this.setLayout(null);
this.setResizable(false);
this.setLocation((Settings.getScreenSize().width / 2) - 175,
(Settings.getScreenSize().height / 2) - 150);
this.setDefaultCloseOperation(EXIT_ON_CLOSE);
lblUName = new JLabel("Username");
lblPasswd = new JLabel("Password");
txtUName = new JTextField();
txtPasswd = new JPasswordField();
btnLogin = new JButton("Login", new
ImageIcon(ClassLoader.getSystemResource("Images/login.png")));
btnCancel = new JButton("Cancel",new
ImageIcon(ClassLoader.getSystemResource("Images/cancel.png")));
lblUName.setBounds(50, 40, 140, 25);
txtUName.setBounds(150, 40, 130, 25);
lblPasswd.setBounds(50, 80, 140, 25);
txtPasswd.setBounds(150, 80, 130, 25);
btnLogin.setBounds(50, 120, 100, 25);
btnCancel.setBounds(180, 120, 100, 25);
btnLogin.addActionListener(this);
btnCancel.addActionListener(this);
this.add(lblUName);
this.add(lblPasswd);
this.add(txtUName);
this.add(txtPasswd);
this.add(btnLogin);
this.add(btnCancel);
}//constructor closed
public void actionPerformed(ActionEvent e) {
if (e.getSource() == btnLogin) {
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con =
DriverManager.getConnection("jdbc:odbc:student");
try {
Statement st = con.createStatement();
ResultSet rs = st.executeQuery("SELECT * FROM UAD
WHERE Username='" + txtUName.getText() +
"' and Password='" + txtPasswd.getText() + "'");
if (rs.next()) {
if (rs.getString(3).equals("Student")) {
userMDI frm = new userMDI();
frm.setVisible(true);
} else {
new frmAdminMDI().setVisible(true);
}
this.dispose();
}else{
JOptionPane.showMessageDialog(null,"Invalid username or
password","Invalid",JOptionPane.ERROR_MESSAGE);
}
con.close();
if (e.getSource() == btnCancel) {
System.exit(0);
}//if closed
}//actionPerformed() closed
public static void main(String args[]) {
new Login().setVisible(true);
}
}//class closed
3.2. Snapshot Of O/P:
Login
Student Registration
Edit Student Details
Delete Student details
Add/Edit Mark Details
View Marks
Subject Allocation
4. Conclusion
Our project is only a humble venture to satisfy the needs in an Institution.
Several user friendly coding have also adopted. This package shall prove to be
a powerful package in satisfying all the requirements of the organization.
The objective of software planning is to provide a frame work that enables the
manger to make reasonable estimates made within a limited time frame at the
beginning of the software project
5. Bibliography
1) http://www.javaworld.com/javaworld/jw-01-1998/jw-01-
bookreview.html
2) Database Programming with JDBC and Java by O'Reilly
3) Head First Java 2nd Edition
4) http://www.jdbc-tutorial.com/
5) Java and Software Design Concepts by A Press