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
of my own work carried out at “SQL Technologies, Chandigarh” as requirements of six w
project term for the award of degree of B.E (Computer Science and Engineering),Thap University, Patiala under the guidance of Mr. Harminder Singh during 4Th June to 15Th 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 Pro
specially thank “Mr. Harminder Singh (Faculty, SQL Technologies,Chd.)” who taught me
basics and concepts of Core Java and data base handling (SQL). I would also like to pa gratitude to Mr. Parteek Bhatia (Faculty, Thapar University) for teaching me basic SQL.
would like to thank my fellow mates who helped me in my project. I am really thankf 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 stu
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 a
the proposed system is to address the limitations of the current system. The requirements
system have been gathered from the defects recorded in the past and also based on the fe
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 wit
improved performance and realize the vision of paperless admission. Some of the goals of 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 st
7) Reduce the work load in interview the students for selection and Counseling should be
effective rather then direct methods. Activities like updating, modification, deletion of r should be easier.
PROJECT SCOPE
This project’s aim is to automate the system, pre-checking the inclusion of all required ma
and automatically ranking each student’s application based on a number of criteria. These
include the ranking of their university, their grade at said university and their language gr
Certificate. The data used by the system is stored in a database that will be the centre of a
information held about students and the base for the remainder of the process after the in
application has been made. This enables things to be simplified and considerably quickene
making the jobs of the people involved easier. It supports the current process but centrali 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 langug 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 1
promised "Write Once, Run Anywhere" (WORA), providing no-cost run-times on popu
platforms. Fairly secure and featuring configurable security, it allowed network- and filerestrictions. Major web browsers soon incorporated the ability to run secure Java applets web pages, and Java quickly became popular. With the advent of Java 2, new versions 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 Virtua
Machine) regardless of computer architecture. These applications are portable. The
applications are such which needs to be compiled once and executed any number of tim Java has been categorized into 3 parts:
1.) Core Java: It includes basics of Java(basically system software can be implemented an on LAN, Converters, Compressors, Zip Files etc.
2).Advanced Java: It is used for web Application(internet-Websites, intranet e.g. ATM mach 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 (tu
for different platforms usually required), but closer than with other languages. Java progr operating system independent.
2. Object Oriented: Java is object oriented throughout i.e. there is no coding outside of cla
definitions, including main(). There is an extensive class library available in the core langu packages. 3. Compiler/Interpreter Combination: Code is compiled to bytecodes that are interpreted 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 exten code checking and improved security.
4. Dynamic Binding: The linking of data and methods to where they are located, is done at
time. New classes can be loaded while a program is running. Even if libraries are recompi
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, alldeclared data must anbe explicit type), local variables must be initialized.
6. Several Dangerous Features of C and C++ Eliminated: No memory pointers are used as increase the complexity and insecurity.
7. Threading: Threads are Lightweight processes which helps in performing multiprocessi 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,
advanced virtual machines with adaptive and just-in-time compilation and other technique 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 classe
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 th 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 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 alwa 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 t
character in some entry's name selects that entry. A vertical scrollbar is used for longer li 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 com 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 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 constructing GUIs. The abstract Component class is the base class for the AWT. Many
AWT classes are derived from it. Button, Canvas, and Container are some AWT classes de from Component. The JComponent class is derived from Container and is one of the base
of Swing. The JFrame class is derived from the AWT Frame class. It is usually the m
container for a GUI application. The JApplet class (derived from the AWT Applet class 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, throw statement and provide it with an exception object to provide information about the error that occurred. A method that throws an uncaught, checked exception must include clause in its declaration.
A program can catch exceptions by using a combination of the try, catch, and finally block 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 exceptio 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
The try statement should contain at least one catch block or a finally block and may multiple catch blocks. The class of the exception object indicates the type of exception thrown. The exception
can contain further information about the error, including an error message. With exc
chaining, an exception can point to the exception that caused it, which can in turn poin 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 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 format SQL code for readability.
5) SQL statements also include the semicolon (";") statement terminator. Though no 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 chan program flow.
QUERIES
The most common operation in SQL databases is the query, which is performed with
declarative SELECT keyword. SELECT retrieves data from a specified table, or multiple r
tables, in a database. It is often grouped with Data Manipulation Language (DML) statem 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 lef
devices of the database management system (DBMS) to plan, optimize, and perform the p
P a g e | 14
operations necessary to produce that result set in as efficient a manner as possible. A
query includes a list of columns to be included in the final result immediately followin
SELECT keyword. An asterisk ("*") can also be used as a "wildcard" indicator to specify
all available columns of a table (or multiple tables) are to be returned. SELECT is the 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 dat to be retrieved.
2) The “WHERE” clause includes a comparison predicate, which is used to restrict t number of rows returned by the query.
3) The “GROUP BY” clause is used to combine, or group, rows with related values in elements of a smaller set of rows.
4) The “HAVING” clause includes a comparison predicate used to eliminate rows aft 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 o descending).
DESCRIPTION OF PROJECT
The main goal of the system”STUDENT WALKIN FORM” is to automate the process carrie 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 en 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 “Student table , Roll no is checked whether it is available, all details are confirmed, then if all valid 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 t
record by the roll no to be updated and make the necessary updation as required.When th 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 th
record by the roll no to be deleted.When the Delete button is clickd the record will get del
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 t following topics:
1) Introduction to Java: Under this we were taught the difference between C Language an
and the difference between C++ and Java. This section also included the features of java a
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 th
were taught how to write a simple java program. The control statement and the lexical iss were also covered under this heading.
3) Data Types and Operators: The various data types in java like integer, floating type, cha
etc, variables and arrays were taught. Operators included arithmetic operators, bitwise op relational operators, logical operators, assignment operators and ‘?’ operator.
4) Introducing classes: We were taught the basic class fundamentals and how to declare o
Methods were also introduced. The various types of constructors were covered and the th keyword introduced.
5)Methods and Classes: Method overloading, constructor overloading, static keyword, fina 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, a 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. Defi
and implementing an interface were taught. This is a very important application used in th project. Varios packages have been constructed and imported wherever necessary. 8)Exceptional Handling: The exception types, using try and catch, multiple catch clauses,
try statements, throw, throws and finally keyword and programs using exceptional handin
taught. Invalid entries, invalid cursor positions, wrong password, busy connections etc are handled using the exceptional handing concepts.
9) Event Handling: The ActionEvent and the MouseEvent classes were discussed. These c
include methods to handle external events. The ActionListener interface and the MouseLis
interface have been extensively used in the project to handle mouse clicks, button clicks, m movements etc.
10)Introducing the AWT and the SWING: Window fundamentals(frame , panel etc), workin 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 i
project to make a graphical use interface. There tools have been used to make the usage o
P a g e | 25
software easy, convenient and user friendly. Actions are performed on button clicks makin work of the user simple and easily understandable.
FEASIBILITY STUDY Technical Feasibility
This deals with computer resources and infrastructure. Technical feasibility revolves arou 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
another application could overload the system or require additional resources. This projec
technically feasible as it is based on the existing technology which is in widespread use. N
proposed system will be able to run on the existing hardware and the required software. S proposed system is technically feasible. Economic Feasibility
This estimates whether the proposed system would be financially justified. Economics is m
frequently used for the effectiveness of the proposed system. More commonly known as co
benefit analysis, the procedure is to determine the comparison between benefits and savin
are expected from the proposed system and costs. If benefits outweigh costs, then the dec made to design and implement the system. Otherwise, further justifications or alterations have to be made. Operational Feasibility
This is in order to know whether the proposed system will be user friendly and error-free functioning. People are inherently resistant to changes, and computers have been known
facilitate changes. The proposed system is very much user friendly and easy to navigate th 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 syste
accepts only valid and correct data. If the user enters an illegal value or invalid data he/sh
interrupted either by exceptions or by message dialog boxes. This does not effect the work
the system but informs the user for invalid data and gives another chance to the user to e 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 use
filled by user is checked for availability, as it should not match with any other existing use For the numeric Text box : Roll No.
The User is restricted to Input only Numerics in Numeric TextBox. He can’t enter the dat 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 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 display user is asked to enter the complete information
CONCLUSION
P a g e | 29
‘STUDENT WALKIN FORM’ is developed considering the requirements of common peop
The software fulfills most of the basic requirements of the user. The system is cost efficie 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
deposition and mess management which is not included yet. The database can further be by adding all the requirements.
REFRENCES 1) Class Notes BY HARMINDER SINGH. 2) SUN EDUCATIONAL SERVICES 3) Wikipedia