Sie sind auf Seite 1von 29

Page |1

PROJECT REPORT
(6 weeks Project Training)

STUDENT WALKIN FORM

Submitted By

Ramneet Singh

Roll No 100803076

Under the Guidance of

Mr. Harminder Singh

FACULTY

SQL TECHNOLOGIES,CHD.

Department of Computer Science and Engineering


THAPAR UNIVERSITY,PATIALA
(Deemed University)

Jun-July 2010
Page |2

DECLARATION
I hereby declare that the project work entitled (“Student walkin form”) is an authenticate record
of my own work carried out at “SQL Technologies, Chandigarh” as requirements of six weeks
project term for the award of degree of B.E (Computer Science and Engineering),Thapar
University, Patiala under the guidance of Mr. Harminder Singh during 4Th June to 15Th July
2010.

(Signature of student)

(Ramneet Singh)

(Roll No 100803076)

Date :Nov 15,2010


Page |3

ACKNOWLEDGEMENT

I would like to express my gratitude to all those who helped me in completing this Project. I
specially thank “Mr. Harminder Singh (Faculty, SQL Technologies,Chd.)” who taught me the
basics and concepts of Core Java and data base handling (SQL). I would also like to pay my
gratitude to Mr. Parteek Bhatia (Faculty, Thapar University) for teaching me basic SQL. Also i
would like to thank my fellow mates who helped me in my project. I am really thankful to
everyone for their support and interest.

Ramneet Singh

(100803076)

Table of contents
Page |4

1.) SUMMARY OF THE PROJECT


………………………………………………………………………………………..5

2.) OBJECTIVE………………………………………………………………………………………
…………………………….6

3.) INTRODUCTION TO THE PROGRAMMING ENVIRONMENT.....


…………………………………….7

4.) JAVA ENVIRONMENT


………………………………………………………………………………………….10

5.) SQL(STRUCTURED QUERY LANGUAGE)


……………………………………………………………………….12

6.) DETAILED DESCRIPTION OF


PROJECT……………………………………………………………………………14

6.1) TABLES USED IN THE


SYSTEM…………………………………………………………………………………….14

6.2) SNAPSHOTS AND


DESCRIPTION…………………………………………………………………………………16

7.) WORK
PROGRAM…………………………………………………………………………………………
………………23

8.) ER
DIAGRAM…………………………………………………………………………………………
……………………..25

9.) DATA FLOW


DIAGRAM…………………………………………………………………………………………
………26

10.) TESTING…………………………………………………………………………………
…………………………………….27
Page |5

11.) CONCLUSION……………………………………………………………………………
………………………………….28

12.) FUTURE SCOPE OF THE


PROJECT………………………………………………………………………………….28

13.) REFERENCES……………………………………………………………………………
……………………………………28

SUMMARY OF THE PROJECT


Today all the work at the time of admission of the students is done manually by ink
and paper, which is very slow and consuming much efforts and time.
It is required to Design of a Computerized Automated Student Admission System,
to speed up and make it easy to use system.

The Student Walkin Form, an application developed in CORE JAVA is designed to store student
data during admission process so as to make the admission procedure easy and error free.
University wants to computerize its admission process for higher education courses. The aim of
the proposed system is to address the limitations of the current system. The requirements for the
system have been gathered from the defects recorded in the past and also based on the feedback
from users of previous metrics tools. Following are the objectives of the proposed system:
Reducing time in activities. Reduce the time taken process the applications of students,
admitting a student, verify student marks etc.
Centralized data handling. Transfer the data smoothly to all the departments involved and
handle the data centralized way.
Page |6

Paperless admission with reduced manpower. Reduce the manpower needed to perform all the
admission and administration task by reducing the paper works needed.

Cost cutting. Reduce the cost involved in the admission process.

Operational efficiency. Improve the operational efficiency by improving the quality of the
process.

MODULE

Admin users - Has full access to all the modules of this system. Responsible for the accounts of
all students, colleges and remittances.

PROJECT FEATURES

User Interface:
Soothing Graphical User Interface
Totally Menu Driven
All reports for specified period selected using report

DATABASE SCHEME :

1) Studentinfo Table :

This table stores the member information.

OBJECTIVE
The main goal of the system is to automate the process carried out in the organization with
improved performance and realize the vision of paperless admission. Some of the goals of the
system are listed below:
1) Manage large number of student details.

2) Manage all details of student who registered for the course .

3) Create student accounts and maintain the data’s effectively.

4) View all the details of the students.


Page |7

5) Manage the details of hostellers and facilitate the allotment of hostels rooms for the students.

7) Reduce the work load in interview the students for selection and Counseling should be very

effective rather then direct methods. Activities like updating, modification, deletion of records

should be easier.

PROJECT SCOPE
This project’s aim is to automate the system, pre-checking the inclusion of all required material
and automatically ranking each student’s application based on a number of criteria. These criteria
include the ranking of their university, their grade at said university and their language grade
Certificate. The data used by the system is stored in a database that will be the centre of all
information held about students and the base for the remainder of the process after the initial
application has been made. This enables things to be simplified and considerably quickened,
making the jobs of the people involved easier. It supports the current process but centralizes it
and makes it possible for decisions to be made earlier and easier way.

TOOLS USED FOR DEVELOPMENT:


The tools used for the Project Development:

1) JAVA Development Kit 6.0

2) Microsoft Access 2007 as the Database.

INTRODUCTION TO THE PROGRAMMING ENVIRONMENT

JAVA
Page |8

Java is related to C++, which is a direct descendent of C.This programming languge was
originally developed by Sun Microsystems and released in 1995 as a core component of Sun
Microsystems' Java platform. Sun released the first public implementation as Java 1.0 in 1995. It
promised "Write Once, Run Anywhere" (WORA), providing no-cost run-times on popular
platforms. Fairly secure and featuring configurable security, it allowed network- and file-access
restrictions. Major web browsers soon incorporated the ability to run secure Java applets within
web pages, and Java quickly became popular. With the advent of Java 2, new versions had
multiple configurations built for different types of platforms.

The main features of Java are that

1) It is platform Independent.
2) It is complete Object Oriented.
3) In this pointers are not available.
4) Java applications are typically compiled to byte code that can run on any JVM(Java Virtual

Machine) regardless of computer architecture. These applications are portable. The

applications are such which needs to be compiled once and executed any number of times .

Java has been categorized into 3 parts:

1.) Core Java: It includes basics of Java(basically system software can be implemented and run

on LAN, Converters, Compressors, Zip Files etc.

2).Advanced Java: It is used for web Application(internet-Websites, intranet e.g. ATM machine).

3).Enhanced Java: It is the extended version of java.

FEATURES OF JAVA
Page |9

1. Platform Independent: The Write-Once-Run-Anywhere ideal has not been achieved (tuning
for different platforms usually required), but closer than with other languages. Java programs are
operating system independent.

2. Object Oriented: Java is object oriented throughout i.e. there is no coding outside of class
definitions, including main(). There is an extensive class library available in the core language
packages.

3. Compiler/Interpreter Combination: Code is compiled to bytecodes that are interpreted by a


Java virtual machines (JVM). This provides portability to any machine for which a virtual
machine has been written. The two steps of compilation and interpretation allow for extensive
code checking and improved security.

4. Dynamic Binding: The linking of data and methods to where they are located, is done at run-
time. New classes can be loaded while a program is running. Even if libraries are recompiled,
there is no need to recompile code that uses classes in those libraries. This differs from C++,
which uses static binding.
P a g e | 10

5. Robust: a) Automatic Memory Management (by JVM)

b) Exception handling built-in, strong type checking (that is, all data must be declared an
explicit type), local variables must be initialized.

6. Several Dangerous Features of C and C++ Eliminated: No memory pointers are used as they
increase the complexity and insecurity.

7. Threading: Threads are Lightweight processes which helps in performing multiprocessing. We


can take advantage of multiprocessors where available

8. Automatic Memory Management: Automatic garbage collection - memory management


handled by JVM.

9. Security:

9.1) No memory pointers.

9.2) Programs run inside the virtual machine sandbox.

9.3) Array index limit checking

10. High Performance: Interpretation of bytecodes slowed performance in early versions, but
advanced virtual machines with adaptive and just-in-time compilation and other techniques now
typically provide performance up to 50% to 100% the speed of C++ programs.

JAVA ENVIRONMENT

Java environment includes large number of development tools and hundreds of classes and
methods. The development tools are part of the system known as Java Development Kit (JDK)
and the classes and methods are part of the Java Standard Library (JSL), also known as the
Application Programming Interface (API).

Java swings class hierarchy:

JPanel is Swing's version of the AWT class Panel and uses the same default layout, FlowLayout.
JPanel is descended directly from JComponent.
P a g e | 11

JFrame is Swing's version of Frame and is descended directly from that class. The components
added to the frame are referred to as its contents; these are managed by the contentPane. To add
a component to a JFrame, we must use its contentPane instead.

JLabel, is used to create text labels.

JTextField allows editing of a single line of text. New features include the ability to justify the
text left, right, or center, and to set the text's font.

JTextArea allows editing of multiple line

JTextArea allows editing of multiple lines of text. JTextArea can be used in conjunction with
class JScrollPane to achieve scrolling. The underlying JScrollPane can be forced to always or
never have either the vertical or horizontal scrollbar;

JButton is a component the user clicks to trigger a specific action.

JChoice is like a drop down box. You can click a drop-down arrow and select an option from a
list. For example, when the component has focus, pressing a key that corresponds to the first
character in some entry's name selects that entry. A vertical scrollbar is used for longer lists.

FlowLayout when used arranges swing components from left to right until there's no more space
available. Then it begins a new row below it and moves from left to right again. Each component
in a FlowLayout gets as much space as it needs and no more.

BorderLayout places swing components in the North, South, East, West and center of a
container. You can add horizontal and vertical gaps between the areas.

GridLayout is a layout manager that lays out a container's components in a rectangular grid.
The container is divided into equal-sized rectangles, and one component is placed in each
rectangle.

Line Border and Titled Border provides border. These are used in conjunction with buttons
and labels. Titled Border is used to assign title.
P a g e | 12

Java awt class hierarchy:

The Java AWT (Abstract Windowing Toolkit) contains the fundamental classes used for
constructing GUIs. The abstract Component class is the base class for the AWT. Many other
AWT classes are derived from it. Button, Canvas, and Container are some AWT classes derived
from Component. The JComponent class is derived from Container and is one of the base classes
of Swing. The JFrame class is derived from the AWT Frame class. It is usually the main
container for a GUI application. The JApplet class (derived from the AWT Applet class) is
sometimes used for Web programming, but the Applet class is more frequently used.

Exception Handling In JAVA

A program can use exceptions to indicate that an error occurred. To throw an exception, use the
throw statement and provide it with an exception object to provide information about the specific
error that occurred. A method that throws an uncaught, checked exception must include a throws
clause in its declaration.

A program can catch exceptions by using a combination of the try, catch, and finally blocks. The
try block identifies a block of code in which an exception can occur. The catch block identifies a
block of code, known as an exception handler, can handle a particular type of exception. The
finally block identifies a block of code that is guaranteed to execute, and is the right place to
close files, recover resources, and otherwise clean up after the code enclosed in the try block.
The try statement should contain at least one catch block or a finally block and may have
multiple catch blocks.

The class of the exception object indicates the type of exception thrown. The exception object
can contain further information about the error, including an error message. With exception
chaining, an exception can point to the exception that caused it, which can in turn point to the
exception that caused it, and so on.

SQL (STRUCTURED QUERY LANGUAGE)


P a g e | 13

SQL (Structured Query Language, is a database computer language designed for the retrieval
and management of data in relational database management systems (RDBMS), database schema
creation and modification, and database object access control management.

The SQL language is sub-divided into several language elements, including:.

1) Queries which retrieve data based on specific criteria.

2)Expressions which can produce either scalar values or tables consisting of columns and

rows of data.

3) Clauses, which are in some cases optional, constituent components of statements and

queries.

4) Whitespace is generally ignored in SQL statements and queries, making it easier to

format SQL code for readability.

5) SQL statements also include the semicolon (";") statement terminator. Though not

required on every platform, it is defined as a standard part of the SQL grammar.

6) Predicates which specify conditions that can be evaluated to SQL logic Boolean truth

values and which are used to limit the effects of statements and queries, or to change

program flow.

QUERIES

The most common operation in SQL databases is the query, which is performed with the
declarative SELECT keyword. SELECT retrieves data from a specified table, or multiple related
tables, in a database. It is often grouped with Data Manipulation Language (DML) statements, as
it has no persistent effects on the data stored in a database.

SQL queries allow the user to specify a description of the desired result set, but it is left to the
devices of the database management system (DBMS) to plan, optimize, and perform the physical
P a g e | 14

operations necessary to produce that result set in as efficient a manner as possible. An SQL
query includes a list of columns to be included in the final result immediately following the
SELECT keyword. An asterisk ("*") can also be used as a "wildcard" indicator to specify that
all available columns of a table (or multiple tables) are to be returned. SELECT is the most
complex statement in SQL, with several optional keywords and clauses, including:

1) The “FROM” clause which indicates the source table or tables from which the data is

to be retrieved.

2) The “WHERE” clause includes a comparison predicate, which is used to restrict the

number of rows returned by the query.

3) The “GROUP BY” clause is used to combine, or group, rows with related values into

elements of a smaller set of rows.

4) The “HAVING” clause includes a comparison predicate used to eliminate rows after

the GROUP BY clause is applied to the result set

5) The “ORDER BY” clause is used to identify which columns are used to sort the

resulting data, and in which order they should be sorted (options are ascending or

descending).

DESCRIPTION OF PROJECT

The main goal of the system”STUDENT WALKIN FORM” is to automate the process carried
out in the organization with improved performance and realize the vision of paperless
admission.
The project is made using core java and SQL. The various frames through which the end user
interacts with the database and manages the information are:

Table used in the system


P a g e | 15

STUDENT INFO TABLE

UNIVERSITY TABLE

STUDENT TABLE
P a g e | 16

COURSE TABLE

EXAM TABLE

SNAPSHOTS

LOGIN PAGE
Starting page is the login page.User will enter the username and password.
P a g e | 17

HOMEPAGE
This is the home page of the system in the starting.
P a g e | 18

The user can navigate to other pages through”New Walk-in”, “Browse”,”Report” Buttons.

CREATE NEW RECORD

This page is used to store the data of a new student.


P a g e | 19

This page consists of two buttons “Submit”, “Reset”. User fills the information.
When submit button is clicked, if all fields are filled, the connection is made with “Studentinfo”
table , Roll no is checked whether it is available, all details are confirmed, then if all valid the
data is inserted into it.
If Reset button is clicked, the data of all textboxes get cleared.
If Home button is clicked, Home page is displayed.

INSERTION

All the data entered into the form is successfully inserted into the Database.
P a g e | 20

UPDATION
This page is used for updation of any record in the Database.To update any record select the
record by the roll no to be updated and make the necessary updation as required.When the
Update button is clickd the record will get updated.
P a g e | 21

DELETE A RECORD
This page is used for deletion of any record in the Database.To delete any record select the
record by the roll no to be deleted.When the Delete button is clickd the record will get deleted.
P a g e | 22

REPORT PAGE
When the user clicks the Report Button the report page will get open.It will dispays all the
records of the students stored in the Database.All the details of students will be displayed.
P a g e | 23

DETAILS OF THE WORK PROGRAM


My six weeks work program at SQL Technologies from June, 2010 to July 20010 included the
following topics:
1) Introduction to Java: Under this we were taught the difference between C Language and Java
and the difference between C++ and Java. This section also included the features of java and the
P a g e | 24

java buzzwords like simple, object oriented, multithreaded, architecture-neutral, high


performance, distributed etc.
2) Overview of Java: This included the abstraction and the OOPS principles. Along with this we
were taught how to write a simple java program. The control statement and the lexical issues
were also covered under this heading.
3) Data Types and Operators: The various data types in java like integer, floating type, characters
etc, variables and arrays were taught. Operators included arithmetic operators, bitwise operators,
relational operators, logical operators, assignment operators and ‘?’ operator.
4) Introducing classes: We were taught the basic class fundamentals and how to declare objects.
Methods were also introduced. The various types of constructors were covered and the this
keyword introduced.
5)Methods and Classes: Method overloading, constructor overloading, static keyword, final
keyword, nested and inner classes and how to use command line arguments were taught.
6) Inheritance: The inheritance basics, different types of inheritance, method overriding, abstract
classes and the use of the final keyword were covered under this heading.
7) Packages and Interfaces: Defining a package and access protection was discussed. Defining
and implementing an interface were taught. This is a very important application used in the
project. Varios packages have been constructed and imported wherever necessary.
8)Exceptional Handling: The exception types, using try and catch, multiple catch clauses, nested
try statements, throw, throws and finally keyword and programs using exceptional handing were
taught. Invalid entries, invalid cursor positions, wrong password, busy connections etc are all
handled using the exceptional handing concepts.
9) Event Handling: The ActionEvent and the MouseEvent classes were discussed. These classes
include methods to handle external events. The ActionListener interface and the MouseListener
interface have been extensively used in the project to handle mouse clicks, button clicks, mouse
movements etc.
10)Introducing the AWT and the SWING: Window fundamentals(frame , panel etc), working
with frames, controls, layouts, labels, text boxes, password fields, buttons, check boxes,
checkbox groups, dialog boxes, etc were taught. The knowledge of these have been used in the
project to make a graphical use interface. There tools have been used to make the usage of the
P a g e | 25

software easy, convenient and user friendly. Actions are performed on button clicks making the
work of the user simple and easily understandable.

FEASIBILITY STUDY
Technical Feasibility
This deals with computer resources and infrastructure. Technical feasibility revolves around the
existing computer system (hardware, software etc.) and to what extent it can support the
proposed system. For example, if the current computer is operating at 80% capacity then running
another application could overload the system or require additional resources. This project is
technically feasible as it is based on the existing technology which is in widespread use. Now the
proposed system will be able to run on the existing hardware and the required software. So the
proposed system is technically feasible.
Economic Feasibility
This estimates whether the proposed system would be financially justified. Economics is most
frequently used for the effectiveness of the proposed system. More commonly known as cost
benefit analysis, the procedure is to determine the comparison between benefits and savings that
are expected from the proposed system and costs. If benefits outweigh costs, then the decision is
made to design and implement the system. Otherwise, further justifications or alterations will
have to be made.
Operational Feasibility
This is in order to know whether the proposed system will be user friendly and error-free in it’s
functioning. People are inherently resistant to changes, and computers have been known to
facilitate changes. The proposed system is very much user friendly and easy to navigate therefore
there is no need for special training and guidance.
ER-DIAGRAM
P a g e | 26

DATA FLOW DIAGRAM


P a g e | 27

CONTEXT FREE DIAGRAM (ZERO LEVEL)

LEVEL 1 DFD

TESTING
P a g e | 28

Various types of input data were entered in the system to test the system so that the system
accepts only valid and correct data. If the user enters an illegal value or invalid data he/she is
interrupted either by exceptions or by message dialog boxes. This does not effect the working of
the system but informs the user for invalid data and gives another chance to the user to enter the
information again.

New Walkin Page : In this, as all the fields are required to be filled, if any field kept
empty message is displayed and user is asked to enter the complete information. Also user id
filled by user is checked for availability, as it should not match with any other existing user id.
For the numeric Text box :
Roll No.
The User is restricted to Input only Numerics in Numeric TextBox. He can’t enter the data in
this textbox other than numeric data.

For non numeric text boxes:


1) Name
2) Father’s name
The User is restricted to Input only Alphabets in alphabetical TextBox. He can’t enter the data in
this textbox other than alpahbets and blank space.

Check for empty fields:


In this, as all the fields are required to be filled, if any field kept empty message is displayed and
user is asked to enter the complete information

CONCLUSION
P a g e | 29

‘STUDENT WALKIN FORM’ is developed considering the requirements of common people.


The software fulfills most of the basic requirements of the user. The system is cost efficient and
no additional training is required to work on the software.

FUTURE SCOPE

The project is easily extensible and can be improved further by introducing new features like fee
deposition and mess management which is not included yet. The database can further be refined
by adding all the requirements.

REFRENCES

1) Class Notes BY HARMINDER SINGH.

2) SUN EDUCATIONAL SERVICES

3) Wikipedia