Sunteți pe pagina 1din 21

Student Report

Card Maker
(Computer Project)

Made By
XYZ
Roll No. :

Session : 2012-13

Submitted to
Mr. Rakesh Kumar

D.A.V. Centenary Public School, Chander Nagar, GZB


Certificate

This is to certify that the “Student Report card Maker” is made by ……………………………….Roll No
……………………………………………..and ……………………………………Roll No ………………………………………….
Under my supervision and Guidance. This is their authentic work for the partial fulfillment of
computer project work under C.B.S.E. computer Practical Examination for the session 2012-13.

( Rakesh Kumar )
Acknowledgement
This is the right time to express our gratitude towards our teachers/ mentor for their constant
support and guidance. These are only few words which we have written here to show our
respect to our teachers.

Though they will not among us after this session but their lesson will always guide us in future
also.

This project is ousr , but it is their inspiration and constant push that we are now able to
compile the whole knowledge we learnt through out 11 & 12, in the form of this project.

Last but not least sir we would love to say thank you.

Yours Sincerely

[ XYX & ABC ]


Index
1. About Java
2. About Student Report card Maker
3. Hierarchical Diagram of Student report card
4. Data required as input
5. Report required as output
6. Hardware and Software requirement
7. Project Listing
8. Output Screens
9. Reference
About Java
Java is a general-purpose computer programming language that is concurrent, class-based,
object-oriented,[14] and specifically designed to have as few implementation dependencies as
possible. It is intended to let application developers "write once, run anywhere" (WORA),[15]
meaning that compiled Java code can run on all platforms that support Java without the need
for recompilation.[16] Java applications are typically compiled to bytecode that can run on any
Java virtual machine (JVM) regardless of computer architecture. As of 2016, Java is one of the
most popular programming languages in use particularly for client-server web applications,
with a reported 9 million developers.[21] Java was originally developed by James Gosling at Sun
Microsystems (which has since been acquired by Oracle Corporation) and released in 1995 as a
core component of Sun Microsystems' Java platform. The language derives much of its syntax
from C and C++, but it has fewer low-level facilities than either of them.

The original and reference implementation Java compilers, virtual machines, and class libraries
were originally released by Sun under proprietary licences. As of May 2007, in compliance with
the specifications of the Java Community Process, Sun relicensed most of its Java technologies
under the GNU General Public License. Others have also developed alternative
implementations of these Sun technologies, such as the GNU Compiler for Java (bytecode
compiler), GNU Classpath (standard libraries), and IcedTea-Web (browser plugin for applets).

The latest version is Java 8, which is the only version currently supported for free by Oracle,
although earlier versions are supported both by Oracle and other companies on a commercial
basis.
About Student Report card Maker
Student report card maker is a simple computer program designed to help teachers to
generate students report card after every session.

The whole program is designed in this way that you can expand it up to any level. Initially it is
used to feed students information and marks obtained in five subject.

This information is recorded in a binary file “report.dat” , so that this recorded information can
be used later on at any stage.

Modification , deletion and searching , reporting facility is given in this project for easy
management.

This program is fact and accurate, since it is written in one of the oldest programming
language ie C++.
Hierarchical diagram of Project

Main menu

Add Delete Modify Search Report Close


Student Student Student Menu menu Application

Class & Session


Name Admno Single Class wise
section wise
Data Required as Input
• Admno - To store student admno no
• Name - name of student
• Father Name - father Name of student
• Class & section - class and section of student
• Session - session
• Marks obtained in 5 subject -
• Total Mark - Total marks
• Percentage - percentage marks of student
• Grade - Grade of student

Criteria for Grade calculation

Percentage mark Grade


>=95 A+
<95 and >=90 A
<90 and >=80 B+
<80 and >=70 B
<70 and >=60 C+
<60 C
Output Required

• Single student report card


• Class wise student report card
• Session wise result
• Search - admno
• Search – class & section
• Search – name class & section
DataBase Table
Table Structure of Login Table

Login Table Contents

Table : Card Data Structure


Card Table :- Sample Entries
Hardware & software requirement
Hardware required
 1 GB RAM
 Core 2- Due and Above Processor
 Mouse
 Keyboard

Software Requirement
 Operating System – Windows or any other supported
 Net Beans IDE
Program Listing
Main Frame - Window

Source Code

private void jCheckBoxMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
addapplication A= new addapplication();
A.setVisible(true);
}

private void jCheckBoxMenuItem2ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
edit E= new edit();
E.setVisible(true);
}

private void jCheckBoxMenuItem3ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
deleterecord D= new deleterecord();
D.setVisible(true);
}

private void jCheckBoxMenuItem7ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
applicationno N= new applicationno();
N.setVisible(true);

private void jCheckBoxMenuItem8ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
nameofapplicant O= new nameofapplicant();
O.setVisible(true);
}

private void jCheckBoxMenuItem9ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
status S= new status();
S.setVisible(true);
}

private void jCheckBoxMenuItem5ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
issue I= new issue();
I.setVisible(true);
}

private void jCheckBoxMenuItem11ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
currentdateapplicant C= new currentdateapplicant();
C.setVisible(true);

private void jCheckBoxMenuItem12ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
pending P= new pending();
P.setVisible(true);
}

private void jCheckBoxMenuItem13ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
monthwiseissue M= new monthwiseissue();
M.setVisible(true);
}

Add New Application – Form


Source Code
import java.sql.DriverManager;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.Statement;
import javax.swing.JOptionPane;

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
String appno,naofapp,dob,cgender,mname,mage,fname,fage,address,city,area,state,pob,doa,af,status;
appno=jTextField1.getText();
naofapp=jTextField2.getText();
dob=jTextField3.getText();
cgender=jTextField4.getText();
mname=jTextField5.getText();
mage=jTextField6.getText();
fname=jTextField7.getText();
fage=jTextField8.getText();
address=jTextField9.getText();
city=jTextField10.getText();
area=jTextField11.getText();
state=jTextField12.getText();
pob=jTextField13.getText();
doa=jTextField14.getText();
af=jTextField15.getText();
status=jTextField16.getText();

try {
Class.forName("java.sql.DriverManager");
Connection con =(Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/birth","root","ramji");
Statement stmt = (Statement) con.createStatement();
String query ="INSERT into certificate values ( '"+appno+"' , '"+naofapp+"' , '"+dob+"' , '"+cgender+"',
'"+mname+"', '"+mage+"', '"+fname+"', '"+fage+"', '"+address+"', '"+city+"', '"+area+"', '"+state+"', '"+pob+"',
'"+doa+"', '"+af+"', '"+status+"');";
//JOptionPane.showMessageDialog(null,query);
stmt.executeUpdate(query);
JOptionPane.showMessageDialog(null,"New Record Added Successfully");
jTextField1.setText("");
jTextField2.setText("");
jTextField3.setText("");
jTextField5.setText("");
jTextField6.setText("");
jTextField7.setText("");
jTextField8.setText("");
jTextField9.setText("");
jTextField10.setText("");
jTextField11.setText("");
jTextField12.setText("");
jTextField13.setText("");
jTextField14.setText("");
jTextField15.setText("");
jTextField16.setText("");

}
catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}

}
Search Certificate - Form

import java.sql.DriverManager;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.Statement;
import java.sql.ResultSet;
import javax.swing.JOptionPane;

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:

try{
Class.forName("java.sql.DriverManager");
Connection con =(Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/birth","root","ramji");
Statement stmt = (Statement) con.createStatement();
String query ="select applicationo from certificate ;";
//JOptionPane.showMessageDialog(null,query);
ResultSet rs = stmt.executeQuery(query);
while(rs.next())
{
String applicationno=rs.getString("applicationno");

jTextField1.setText("applicationno");

JOptionPane.showMessageDialog(null,"press any key to continue");


}

}
catch(Exception e){

JOptionPane.showMessageDialog(null,e.getMessage());
}
}
Reference
1. Java Projects
1. By – Rakesh Kumar

2. Computer science
1. By Sumita Arora

3. The art and Science of Computer Project


1. SitePoint
4. Online reference
1. www.pscode.com
2. www.about.com
3. www.programmersheaven.com
4. www.class-12-computer-project.blogspot.in