Anda di halaman 1dari 69

ONLINE EXAMINATION SYSTEM

Sandeep Kumar Ashwani Tomar Jitendra Arya (0832113027) (0832113005) (0832113014)

Name of supervisor:

Mr. Rajiv Kumar

May 2012
Submitted in partial fulfillment of the Degree of Bachelor of Technology

DEPARTMENT OF INFORMATION TECHNOLOGY

[Providing Online Exam] [2012]


TRANSLAM INSTITUTE OF TECHNOLOGY & MANAGEMENT MEERUT

TALBLE OF CONTENTS
Chapter No. Topics Certificate from the Supervisor Acknowledgement Summary List of Figures Page No. 05 06 07 08

Chapter-1

Introduction 1. Introduction

. .

. .

. .

. .

. .

09-14 10 11

1.1 Purpose of the system 1.2 Objective 1.3 Scope 1.4 Model Used Chapter- 2 Product Prespective 2. Product Prespective 2.1 User Characteristics . . . . . . . . . . . . . . . . . . . . . . . .

12 12 13 15-17 16 17

Chapter- 3

Feasiblity Study

18-21

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


3. Feasiblity Study 3.1 Technical Feasiblility 3.2 Economical Feasiblity 3.3 Operational Feasiblity Chapter-4 Programming Language Used . . . . . . . . . . . . . . . . . . . . . . . . . . 19 20 20 21 22-36 23 24

4. Programming Language Used 4.1 About the ASP.Net technology .

Chapter-5

Hardware & Software Specification

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

37-38 38 38 38 39-42 40 40 40 40 41 41 41 42 42 42 43-52 44

5. Hardware & Software Specification 5.1 Software Specification 5.2 Hardware Specification Chapter-6 Testing 6. Testing 6.1 System Testing . . . . . . . . . . . . . . . . .

6.2 Various Testing Approach . 6.2.1 Black Box Testing . 6.2.2 White Box Testing . 6.2.3 Unit Testing .

6.2.4 Integration Testing . 6.2.5 Validation Testing 6.2.6 Output Testing . .

6.2.7 User Acceptance Testing . Chapter-7 Appendix 7. Appendix . . . .

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


7.1 Screen Layouts Chapter-8 Analysis 8. Analysis 8.1 Data Flow Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 53-60 54 54 58 60 61 62 63-68

8.2 Entity-Relationship Diagram 8.3 Modular Description Conclusion . . . . .

Bibliography & Refrences Bio data (Resume)

..

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

CERTIFICATE

This is to certify that the work titled Online Examination System submitted by Sandeep Kumar, Jitendra Arya and Ashwani Tomar in partial fulfillment for the award of degree of B. Tech of Translam Institute of Technology & Management, Meerut has been carried out under my supervision. This work has not been submitted partially or wholly to any other University or Institute for the award of this or any other degree or diploma.

Signature of Supervisor Name of Supervisor: Designation: Date

.. Mr. Rajiv Kumar Asstt. Professor ..

Signature of HOD Name of HOD:

.. Mr. Ankur Shree Aggarwal

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

ACKNOWLEDGEMENT
I would like to express my sincere thanks to Mr.Rajiv Kumar for providing us the opportunity to work on this extremely interesting and important topic. His guidance and support have been a constant source of encouragement throughout the work of this project. It has been a great honour to have worked under his supervision. His valuable suggestions and feedback at every critical phase throughout the work were of utmost importance for timely completion of the project. His tremendous knowledge about the subject has gone a long way in ensuring the successful completion of this project.

Signature of the student Name of Student Date

.. Ashwani Tomar ..

Signature of the student Name of Student Date

.. Jitendra Arya ..

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Signature of the student Name of Student Date

.. Sandeep kumar

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

SUMMARY

This project assesses students by conducting online objective tests. The tests would be highly customizable. This project will enable educational institutes to conduct test and have automated checking of answers based on the response by the candidates. The project allows faculties to create their own tests. It would enable educational institutes to perform tests, quiz and create feedback forms. It asks faculty to create his/her set of questions. Faculty then creates groups and adds related students into the groups. Further the tests are associated with specific groups so that only associated students can appear for the test. The result of the response would be available to the faculty of the question set. Further the result would also be mailed to the student. This project would be helpful for creating practice tests, say for educational institutes and as a feedback form. __________________ Signature of Student Name Ashwani Tomar Date Date __________________ Signature of Student Name Jitendra Arya

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


__________________ Signature of Student Name Sandeep Kumar Date ___________________ Signature of Supervisor Name Mr. Rajiv Kumar Date

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


LIST OF FIGURES

6. Figures and Tables


1. 3.1.1. Use case Overview ....................................................................... 2. 3.1.2. Add Faculty Use Case .................................................................. 3. 3.1.3. Login Use Case ............................................................................ 4. 3.1.4. Manage Student Groups Use Case ................................................ 5. 3.1.5. Student Registration Use Case ..................................................... Error! Bookmark not defined. 6. 3.1.6. User Profile Edit Use Case ........................................................... Error! Bookmark not defined. 7. 3.1.7. Manage Test Use Case ................................................................. Error! Bookmark not defined. 8. 3.1.8. Appear for Test Use Case ............................................................ Error! Bookmark not defined. 9. 3.1.9. Generate Result Use Case ............................................................ Error! Bookmark not defined. 10. 3.2.1. Login Activity Diagram ............................................................... Error! Bookmark not defined. 11. 3.2.2. Manage Students Activity Diagram ............................................. Error! Bookmark not defined. 12. 3.2.3. Manage Tests Activity Diagram .................................................. Error! Bookmark not defined. 13. 3.2.4. Generate Result Activity Diagram ............................................... Error! Bookmark not defined. 14. 3.2.5. Student Registration Activity Diagram ........................................ Error! Bookmark not defined. 15. 3.2.6. Answer Test Activity Diagram .................................................... Error! Bookmark not defined. Translam Institute Of Technology & Management , Meerut(321)

10

[Providing Online Exam] [2012]


16. 3.3.1. Sequence Diagram Overview ........................................................ 17. 3.3.2. Login Sequence Diagram .............................................................

18. 3.3.3. Manage Student Groups Sequence Diagram ................................ Error! Bookmark not defined. 19. 3.3.4. Student Registration Sequence Diagram ...................................... Error! Bookmark not defined. 20. 3.3.5. Manage Test Sequence Diagram .................................................. Error! Bookmark not defined. 21. 3.3.6. Appear for Test Sequence Diagram ............................................. Error! Bookmark not defined. 22. 3.4 Class Diagram ............................................................................... Error! Bookmark not defined. 23. 3.5. Database Design ............................................................................ Error! Bookmark not defined. 24. 3.5.1. Table: Student .............................................................................. Error! Bookmark not defined. 25. 3.5.2. Table: Test ................................................................................... Error! Bookmark not defined. 26. 3.5.3. Table: TestQuestions.................................................................... Error! Bookmark not defined. 27. 3.5.4. Table: StudentResponse ............................................................... Error! Bookmark not defined. 28. 3.5.5. Table: TestSession ....................................................................... Error! Bookmark not defined. 29. 3.5.6. Table: Groups .............................................................................. Error! Bookmark not defined. 30. 3.5.7. Table: Faculty .............................................................................. Error! Bookmark not defined.

11

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


31. 3.5.8. Table: AssignGroupTest .............................................................. Error! Bookmark not defined. 32. 4.1. Login Interface ............................................................................... Error! Bookmark not defined. 33. 4.2. Create Group Interface .................................................................. Error! Bookmark not defined. 34. 4.3. Assign Test Interface ...................................................................... Error! Bookmark not defined. 35. 4.4. Create Questions Interface ............................................................ Error! Bookmark not defined.
36. 4.5. Register Students Interface ............................................................ Error! Bookmark not defined

12

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

CHAPTER 1 INTRODUCTION

13

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

1. INTRODUCTION
I have tried my best to make the complicated process of Online Hotel Management System as simple as possible using Structured & Modular technique & Menu oriented interface. I have tried to design the software in such a way that user may not have any difficulty in using this package & further expansion is possible without much effort. Even though I cannot claim that this work to be entirely exhaustive, the main purpose of my exercise is perform each Employees activity in computerized way rather than manually which is time consuming. The main aim of the entire activity is to automate the process of day to day activities of Hotel like Room activities, Admission of a New Customer, Assign a room according to customers demand, checkout of a computer and releasing the room and finally compute the bill etc.

1.1. Project Overview


This project assesses students by conducting online objective tests. The tests would be highly customizable. This project will enable educational institutes to conduct test and have automated checking of answers based on the response by the candidates. The project allows faculties to create their own tests. It would enable educational institutes to perform tests, quiz and create feedback forms. It asks faculty to create his/her set of questions. Faculty then creates groups and adds related students into the groups. Further the tests are associated with specific groups so that only associated students can appear for the test. The result of the response would be available to the faculty of the question set. Further the result would also be mailed to the student. This project would be helpful for creating practice tests, say for educational institutes and as a feedback form.

1.2. Purpose
Responses by the candidates will be checked automatically and instantly. Online examination will reduce the hectic job of assessing the answers given by the candidates. Being an integrated Online Examination System it will reduce paper work. Can generate various reports almost instantly when and where required.

14

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


1.3. Scope
This project would be very useful for educational institutes where regular evaluation of students is required. Further it can also be useful for anyone who requires feedback based on objective type responses.

1.4. Definitions, Acronyms


The sub-section provides the definitions of all terms, acronyms, and abbreviations used in this document to understand the SRS properly.

SR. No. 1. 2. 3.

Terms/Acronyms Student Faculty Administrator


examination

Description
User mostly a student who will appear for the

Another user mostly faculty member, lecturer or examiner who posts set of questions, the available options and correct answers. Super user, adds faculty and manages system.

CHAPTER- 2

15

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

PRODUCT PRESPECTIVE

2. PRODUCT PRESPECTIVE

This project helps to define internal boundaries achieving the appropriate balance between the general and the specific, hotel management giving a positive and efficient workflow to the staff of the hotel, thereby helping the business model of the hotel to expand. In principle the product exposes a simple and general interface and hides the specific and complex implementation based. In our example, we want our hotel design to hide detail that is too complex or unnecessary, thereby reducing paperwork and increasing efficiency. Also through this project we aim to reduce operating costs and increase throughput of the staff.

16

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Figure: 2 FLOW Diagram of the proposed software.

The user will have to login first in order to access the features offered by the system. On logging in the user will be given an option to do any of the following functions. Get information about the category of the rooms Get customer information according to the room no. Modify information about the rooms Check availability of the room Allocate room Display features of room Create bill Exit or logout from the software. If the user is a customer then a room will be generated for the customer registration his/her details then

17

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


the user will be assign a room. This data is then used to update the databases which are stored as a part of the system. While if the user want to check out the users details will be remove from the database. The user also has an option to print a receipt while check out.

2.1 USER CHARACTERISTICS

In the above proposed system single category of authenticated users are there that is the hotel staff. After the product has been delivered the staff will be trained by our development team. We also propose to provide a help document for the customers which will help them in using the product efficiently.

18

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

CHAPTER-3 FEASIBLITY STUDY

3.Feasibility study
When a project is started an initial investigation is carried out. During this phase of study users need has recognized and other requirements are determined. Once the problem has been defined a study is carried out to select the best system i.e. a feasible system that meets performance requirements. So Feasibility is the determination of whether or not a project is worth doing and the process followed in making this determination is called a Feasibility Study. In order to conduct the feasibility study we have seven distinct, but inter-related types of feasibility, these are Technical feasibility,

19

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


Operational feasibility, Economical feasibility, Social feasibility, Management feasibility, Legal feasibility and Time feasibility.

Out of these seven three are key feasibilities to consider, those are:

Technical Feasibility Economical Feasibility Operational feasibility

3.1 Technical feasibility:

This is concerned with specifying equipment (hardware) and software that will successfully satisfy the user requirement. It considers the following facts: 1. The facility to produce outputs in a given time
2. Response time under certain conditions 3. Ability to process a certain volume of transaction at a particular speed

4. Facility to communicate data to distant location

20

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


While examining technical feasibility, huge importance is given to the configuration of the proposed system. The configuration should give the complete picture about the systems requirement such that what kind of hardware is required and how these units are interconnected so that they could operate and communicate smoothly.

3.2 Economical feasibility:


Since cost plays quite an important role in deciding the new system, it must be identified and estimated properly. So economic analysis is the most frequently used technique for evaluating the effectiveness (economical feasibility) of a proposed system. To determine the economical feasibility of the system a cost/benefit analysis is to make. This procedure is to determine the benefits and savings that are expected from a proposed system and compare them with costs. Four facts that plays an important role in deciding economical

feasibility of the proposed system are as follows: Cost-saving benefits, Cost-avoidance benefits, Improved-performance benefits, Improved-information benefits, Hence the proposed system is economically feasible.

3.3 Operational feasibility:

21

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


It is mainly related to human organizational aspects. The points to be considered are:

What changes will be brought with the system What organizational structures are disturbed? What new skills will be required? Do the existing staff members have these skills if not, can they be trained

22

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

CHAPTER-4 PROGRAMMING LANGUAGE USED

4.0 PROGRAMMING LANGUAGE USED

23

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

4.1 About the Java Technology:

Java technology is both a programming language and a platform.

The Java Programming Language


The Java programming language is a high-level language that can be characterized by all of the following buzzwords:
Simple Object oriented Distributed Multithreaded Dynamic Architecture neutral Portable High performance Robust Secure

Each of the preceding buzzwords is explained in The Java Language Environment , a white paper written by James Gosling and Henry McGilton.

In the Java programming language, all source code is first written in plain text files ending with the
.java .class

extension. Those source files are then compiled into .class files by the Java compiler (javac). A file does not contain code that is native to your processor; it instead contains bytecodes-- the

24

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


machine language of the Java Virtual Machine. The Java launcher tool (java) then runs your application with an instance of the Java Virtual Machine.

Because the Java Virtual Machine is available on many different operating systems, the same .class files are capable of running on Microsoft Windows, the Solaris
TM

Operating System (Solaris OS), Linux, or MacOS.

Some virtual machines, such as the Java HotSpot Virtual Machine , perform additional steps at runtime to give your application a performance boost

Easy development and deployment of Java Technology-based application that are: Transactional, distributed, multi-tier, portable, scalable, secure.

4.2 Java Server Pages (JSP)

25

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


JSP is an exciting new technology that provides powerful and efficient creation of dynamic contents. It allows static web content to be mixed with Java code. It is a technology using server-side scripting that is actually translated into servlets and compiled before they run. This gives developers a scripting interface to create powerful Java Servlets. Java Server Pages (JSP) allows development of dynamic web-bases user interfaces. Enables separation of business logic from presentation Presentation is in the form of HTML or XML/XSLT Business logic is implemented as java Beans or custom tags Better maintainability, reusability Extensible via custom tags Builds on Servlet technology

Figure: 3 Java Servlets provides a mechanism for extending the functionality of the web server to access the business systems. Java objects, which extend the functionality of a HTTP server Dynamic contents generation Better alternative to CGI, NSAPI, ISAPI, etc.

26

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


--Efficient --Platform and server independent --Session management

4.3 Working of Web Server

Figure: 4

JDBC Servlet provides services for connectivity with relational databases. Privides standard java programming API to relational database --Use SQL

27

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


Vendors provide JDBC compliant driver, which can be invoked via standard java programming API Java Message Services (JMS) version 1.0.2 is a standardized API for accessing Message-Oriented Middleware (MOM), and supports the Point-to-Point and Publish/Subscribe models. Messaging systems (MOM) provide --Decoupled communication --Asynchronous communication --Plays a role of centralized systems Benefits of Messaging systems --Flexible, Reliable, Scalable communication systemsPoint-to-Point, Publish and Subscribe JMS defines standard Java APIs to messaging systems

4.4 Working of J2EE Server

28

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Figure: 5

Java Remote Method Invocation, RMI-IIOP, part of the java 2 SDK version 1.3, Standard Edition, provides the ORB services and enables transparent remote method invocation between distributed objects and components. The ORB is protocol-independent and currently supports the RMI native protocol (JRMO) and the CORBA-compliant IIOP protocol.

29

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


Java Interface Definition Language (IDL), part of the java 2 SDK version 1.3, Standard Edition, is a CORBA-compliant ORB that enables interoperability with external CORBA distributed objects using the IIOP protocol. Java Transaction API (JTA) version 1.0.1 and Java Transaction Services (JTS) version 1.1 provide support for transactions and provides interfaces for application-level transaction demarcation. Java Authentication and Authorization Service (JAAS) version 1.0 provides security services, particularly authentication and authorization. It provides the Pluggable Authentication Module (PAM) framework implementation for authenticating users.

Java Naming and Directory Interface (JNDI) version 1.2 part of the java 2 SDK version 1.3,Standard Edition, is a standardized API for accessing naming and directory services.

Utilized by J2EE applications to locate resources and objects in portable fashion --Application use symbolic names to find object references to resources via JNDI --The symbolic names and object references have to be configured by system administrator when the application is deployed. Java API for XML Parsing (JAXP) version 1.1 provides support for handling XML-formatted data. It provides DOM (Document Object Model) and SAX (Simple API for XML) parsers and an XSLT (XML Style Sheet Language for Transactions) transformation engine. J2EE Connector Architecture version 1.0 is a service provider interface that enables the development of resource adapters through whi8ch the access to enterprise information systems is enabled. It defines a standard set of system-level contracts between a J2EE-compliant server and a resource adapter. JavaMail version 1.2 provides and API for managing e-mails and requires the JavaBeans Activation Framework (JAF).

4.5 JSP Scripting Elements

30

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


JSP scripting elements are used to create and access objects, define methods, and manage the flow of control. Since one of the goals of JSP technology is to separate static template data from the code needed to dynamically generate content, very sparing use of JSP scripting recommended. JSP technology allows a container to support any scripting language that can call java objects. If you wish to support any scripting language other than the default, java, you must specify it in a page directive at the beginning of a

4.6 JSP page:


<%page language=scripting language %> Since scripting elements are converted to programming language statements in the JSP pages served class, you must import any classes and packages used by a JSP page. If the language is java, you import a class or package with the page directive: <%page import=package name.*fully_qualified_classname %>

Declarations
A JSP declaration is used to declare variables and methods in a pages scripting language. syntax for a declaration is as follows: <%! Scripting language declaration %> When the scripting language is the programming language, variables and methods in JSP declarations in the JSP pages servlet class. The

4.7 Script lets


A JSP Scriptlet is used to contain any code fragment that is valid for the scripting language used in a page. The syntax for a scripting is as follows:

31

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


<% scripting language statements %> When the scripting language is set to java, a scriptlet is transformed into a java programming language statement fragment and is insert into the service method of the JSP pages servlet. A programming language variable created within a scriptlet is accessible from anywhere within the JSP page.

Expressions
A JSP expression is used to insert the value of a scripting language expressions converted into a string, into the data string returned to the client. When the scripting language is the Java programming language, an expression is transformed into a statement that converse the value of the expression into a String object and inserts into the implicit out object: The syntax for an expression is as follows: <%=scripting language expressions % > Note that a semicolon is not allowed within a JSP expression, even if the same expression has a semicolon when you use it within a scriplet.

Using Tags
This section describes how a page author specifies that a JSP page is using a tag library introduces the different types of tags. and

32

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


Declaring Tag Libraries
You declare that a JSP page will use tags define in a tag library by including a tag library directive in the page before any custom tag is used: <%@taglib uri=/WEB-INF/tutorial-template.tldprefix=tt %> This taglib directive uses a short logical name to indirectly reference the TLD: <%@taglib uri=/tutorial-templateprefix=tt %>

What is Custom Tag ?


A custom tag is a user define JSP language element. When a JSP page containing a custom tag is translated into a servlet, the tag is converted to operation on an object called tag handler. The web containers than invokes those operation when the JSP pages servlet is execute. Custom tags have a rich set of features. Be customized via attributes passed from the calling page. Access all the objects the available to JSP pages. Modify the response generated by the calling page. Communicate with each other. You can create and initialize a Java Beans component, create variable that refers to that bean in one tag, and then use the bean in another tag. Be nested within one another ,following for complex interaction within a JSP page

Including Content in a JSP page


There are two mechanism for including another web resource in a JSP page:the including directive and the jsp:including element.

33

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


The including directive is processed when the JSP page is translated into a servlet class. The effect of the directive is to insert the text contained in another file-either static content or another JSP page in the including JSP page. You would probably use the including directive to include banner content, copyright information, or any chunk of the content that you might want to reuse in another page. The syntax for the including directive is as follows: <%@include file=filename %> For example, all the bookstore application pages include the file banners containing the banner content with the following directive: <%@include file=banner.jsp%> In addition, the pages bookstores, bookdetails.jsp, catalogs, and showcart.jsp include JSP elements that create and destroy a database bean with the following directive: accessed through %@include file=initdestroy.jsp% Because you must statically put an include directive in each file that reuses the resource referenced by the directive, this approach has its limitation. For a more flexible approach to building pages out of content chunks, see A Template Tag Library. The jsp:include element is processed when a JSP pages is executed. The include action allows you to include either a static or dynamic resource in a JSP file. The results of including static and dynamic resources are quite different. If the resource is static, its content is inserted into the calling JSP file. If the resource is dynamic, the request assents to the included resource, the included page is executed, and then the result is included in the response from the calling JSP page. The syntax for the jsp:include element is as follows: <jsp: include page=included Page/>

34

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


The date application introduced at the beginning of this chapter includes the page that generates the display of the localized date with the following statement: <jsp:include page=date.jsp/>

Extending the JSP language


You can perform a wide variety of dynamic processing tasks including accessing data base, using enterprise service such as e-mail and directories, and managing flow control with java beans components in conjunctions with script lets, one of the drawbacks of the script lets, however, is that tend to make JSP pages more difficult to maintain. Alternatively, JSP technology provides mechanism called custom tag that allows you to encapsulate dynamic functionality in the objects that are extension to the JSP language. Custom tags bring the benefits of another level of componentization to the pages. For example recall the script let used to loop through and display the content to the dukes Bookstore shopping cart: <% Iterator I=cart. getItems().iterator(); While(i.hasNext()){ ShoppingCartItem item=(ShoppingCartItem)i.next(); %> <tr> <td align=right bgcolor =#ffffff> <%=item.getQuantity()%> </td>

35

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


<% } %> An iterate custom tag eliminates the code logic and manages the scripting variable item that reference elements in the shopping cart: <Logic: iterate id=item> collection =<%=cart.getItems()%> <tr> <td align=right bgcolor =ffffff> </td> </logic:iterate> Custom tags are packaged and distributed in a unit called a tag library. The syntax of custom tags is the same as that used for the JSP elements, namely, <prefix:tag>;however, For custom tags, prefix is defined by the user of the tag library and is define by the tag developer.

Creating Static Content


You create a static content in a JSP page by simply writing it as if you where creating a page that consisted only of that content. Static content can be expressed in any text based format such as HTML, WML and XML. The default format is HTML. If you want to use a format other than

36

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


HTML, you include a page directive with the content Type attribute set to the format type at the beginning of your JSP page .For example, if you want a page to contain data expressed in the wireless mark up language (WML),you need to include following directive:%@page

contentType=text/vnd.wap.wml%

Creating Dynamic Content


You create dynamic content by accessing Java Programming Language objects from with in scripting element.

Using Objects within JSP Pages


You can access a variety of objects, including enterprise beans and JavaBeans components with in a JSP page. JSP Technology automatically makes some objects available, and you can also create and access application-specific objects.

37

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

CHAPTER-5
HARDWARE & SOFTWARE SPECIFICATION

38

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

5 . HARDWARE & SOFTWARE SPECIFICATION

5.1 Software Specification:


User interface (GUI screens) would be used to provide information necessary to generate a new claim and also update information.

Front End- JAVA Back End- ORACLE OPERATING SYSTEM: WINDOWS 7

5.2 Hardware Specification:


PROCESSOR Core 2 Duo RAM 1GB HARD DISK 320 GB. 124 KEYS.

M.KEYBOARD

MONITOR 17INCH MOUSE

39

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

CHAPTER-6 TESTING

40

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

6. TESTING

6.1 System Testing


One of the main requirements of the software development is to develop bug free, reliable system. During the process of development of any application there is always a possibility of some errors being developed. And also the software may not be as user asked for. Thus, it becomes imperative that, the software should be checked at every step. This helps in a bug free reliable system. If there is any bug or alterations that have to be made that can be done at the preliminarily level as the application gets more complicated after every step. The objective of the testing is to discover bugs and malfunctioning of the application. To fulfill the objective, a series of test steps such as Unit testing, Validation testing, system testing were planned and executed. Testing objective includes: Testing is a process of executing a program with the intent of finding an error. A good test case is one that has a high probability of finding an undiscovered error. A successful test is one that uncovers an undiscovered error.

6.2 Various testing approaches


Following are main types of tests software undergoes:

6.2.1 Black box testing


Black box testing relates to tests that are performed at the software interface. Although they are designed to identify errors, black box tests are used to demonstrate that software functions are operational; that inputs are correctly accepted and the output is correctly produced.

41

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

6.2.2 White box testing


White box testing is test case design approach that employs the control architecture of the procedural design to produce test cases. Test case can be derived such that they:

Guarantee that all independent paths within a module have been exercised at least once Exercise all logical decisions on their true and false sides, Execute all loops at their boundaries and within their operational bounds and Exercise internal data structures to ensure their validity.

6.2.3 Unit testing


This test focuses verification effort on the small unit of design module. Here using test plans prepared in design descriptions as guide, important control paths are tested to uncover errors within boundary of the module. Boundary condition are tested to ensure module operate properly at boundaries established to limit or restrict processing. All paths in the control structure are exercised to ensure all statements in a module are executed at least once and finally all errors handling paths are tested to see message are intelligent. Corresponds to errors, encountered and provide enough description for the cause of error.

6.2.4 Integration testing


The focus of the test here is on, the design and construction of software architecture. This is a systematic technique for construction the program structure and conducting tests to uncover errors associated with interfacing. The objective here is to take unit tested module and build a program that is dictated by signs. All fractions are integrated successfully after successful completion of development and unit testing.

42

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


6.2.5 Validation testing
At the culmination of integration testing, software is completed assembled as a package, interfacing errors have been uncovered and corrected and a final series of software testing, validation test begins. Validation succeeds when the software functions in manner that can be reasonably expected by the customer. Software validation is achieved through a series of black box tests that demonstrates the conformity of the requirements. After validation testing have been conducted one of the two possibility exits. The performance characteristic confers to specification and acceptance. A deviation from specification is uncovered and deficiency list is created. Deviation or errors discovered at the step in this system with the help of the user by negotiating to establish a meeting for resolving differences.

6.2.6 Output testing


After performing the validation testing, the next step is output testing of the proposed system, since system be useful if it does not produce the required output in the required format. Hence the output format is considered in two ways: one is on the screen and another is the printed format. Both need to be shown to the user for his comments.

6.2.7 User Acceptance testing


User acceptance of a system is the key factor for the success of any system. This is done with regard to following points: Input screen design. Output screen design. On-line guide to the user. Menu driven system. Format of output, both on the screen and on the hard copy.

43

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

CHAPTER-7 APPENDIX

44

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

APPENDIX:
Screen layout:
Home

Figure: 6

45

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Services

Figure: 7

46

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

List of Hotels

Figure: 8

47

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

User Registration

Figure: 9

48

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Enquiry Form

Figure: 10

49

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Contact Us

Figure:11

50

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Login

Figure: 12

51

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Check Availability

Figure: 13

52

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Hotel Reservation

Figure: 14

53

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

CHAPTER-8 ANALYSIS

54

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

8. ANALYSIS
One view of analysis modeling, called structured analysis, consider data and the process that transform the data as separate entities. Data object are modeled in a way that defines their attributes and relationship.

8.1 Data Flow Diagram


The Data Flow diagram enables the software engineer to develop models of the information domain and functional domain at the same time. As the DFD is refined into greater levels of detail, the analyst performs an implicit functional decomposition of the system.

55

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Figure: 15

56

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Figure: 16

57

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Figure: 17

58

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

8.2 ENTITY RELATIONSHIP DIAGRAM (ERD)

This depicts relationship between data objects. The attribute of each data objects noted in the entity-relationship diagram can be described using a data object description. Data flow diagram serves two purposes:

1. To provide an indication of how data are transformed as they move through the system.

2. To depict the functions that transformation the data flow.

59

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

Figure: 18

60

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

8.3 MODULAR DESCRIPTION

We devide our project in basicly in to three modules.

Account: In this we work for the money. in it we calculate the money that spends in providing service, works done by worker and benefit of hotel and there owner.

Quality of Service: In this module we work for giving the best quality service to the customer. i.e. Better food, proper light & water or other things. Room management: In this module we check that which type of room is needed to the customer and is the room is available?

61

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

CONCLUSION
Working on this project was good experience. I understand the importance of Planning and designing as a part of software development. But its very difficult to complete the program for single person.

Developing the project has helped me to gain some experience on real-time development Procedures.

I am very thankful to my guide Mr. Rajat Goel who gave a lot of good programming skills and so many related skills that will help me in the future.

62

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

BIBLIOGRAPHY
BOOKS
1. 2. 3. 4. 5. Charles Hampfed(2000)Instant Java Server Pages University of Toranto Herbert Schildt(2000) Java Complete Reference Tata McGrow Hill John Zukowski(2000)Master in Java2 BPB Publications Jamie Jaworsky J2EE Bible Techmedia Stefen Denniger Enterprise JavaBeans 2.1 Authors Press

ONLINE REFERENCE
1. www.codeproject.com 2. www.java.sun.com 3. www.codeguru.com

63

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]

BIO DATA (RESUME)

64

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012] Resume


SHUBHAM KUMAR
Vill-Rukanpur, Post-Morna Distt- Meerut , ( UP) PIN 250001 :09045231336

E-mail: tyagishubham51@gmail.com

OBJECTIVE

To find a challenging position where my creativity and skills can be utilized in the field of IT Sector.

PROFESSIONAL QUALIFICATION

Pursuing B.TECH from TITM, Meerut affiliated to U.P. Technical University, Lucknow, with 67.78%.

EDUCATIONAL QUALIFICATIONS

XII from U.P Board Allahabad in 2008 With 65.6%. X from U.P Board Allahabad in 2006 With 65.5%.

65

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


TECHNICAL SKILLS

Programming Languages : Core Java .

SPECIAL PACKAGE

I have done a two month special package of Core java from Sunrise Technologies Meerut

Basic knowledge in computer like as MS office ,Net .

TRAINING & PROJECT

Training: Webroot Delhi. Project Title: Sharing Hotel Information.

HOBBIES

Interacting with new people Chatting with friends

STRENGTHS

Honesty and hardworking Work with Punctuality & discipline

66

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


PERSONAL DETAILS

Fathers Name Date of Birth Languages Known Nationality Mobile No. E mail Marital Status Gender Permanent Address

: Shri Gajendra Kumar : 17- Mar-1992 : English & Hindi : Indian :09045231336 : tyagishubham51@gmail.com : Single : Male : Vill-Rukanpur, Post-Morna Distt- Meerut , ( UP) PIN 250001

DECLARATION

I hereby certify that all the particulars stated above are to the best of my knowledge and believe true and fair.

Place: Meerut Date: Shubham Kumar

67

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


Resume RAVI KUMAR
Intend to build a career with leading corporate of hi-tech environment with committed & dedicated people & Willing to work as a key player in challenging & creative environment.
Objective

Email:
Ravi.kumar.sikka@gmail.com

Present Address: 179,govind puri, Kanker Khera , Meerut. Mob. 9319332076,9045517937.

Personal Data: Father Sex D.O.B Nationality : Sh. Gulshan kumar : Male : 15\12\1988 : Indian

Marital Status: Unmarried Language Hobbies : Hindi,English. :watching news,racing games.

68

Translam Institute Of Technology & Management , Meerut(321)

[Providing Online Exam] [2012]


Professional Experience Six month experience in marketing. Subject Specialization Design & analysis of algorithm, Data structure & Computer organization.

Computer Skills: Operating Systems Internet


Packages

: WIN Xp, DOS,vista & win7 : E-mail, Browsing.


: MS Office 2003,C, Oracle10g.

Education: High school from u.p. board with 66% in 2006. Intermediate from u.p. board with 67.6% in 2008. persuing B. Tech.(4th year) from Translam Institute of Management,mawana road, meerut in Information Technology. Technology&

DATE:

PLACE:Meerut

(RAVI

KUMAR)

69

Translam Institute Of Technology & Management , Meerut(321)