0% found this document useful (0 votes)
106 views

Quick Quiz

quiz app

Uploaded by

mansha99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

Quick Quiz

quiz app

Uploaded by

mansha99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 33

ABOUT THE PROJECT

THEORETICAL BACKGROUND

SYSTEM ANALYSIS AND DESIGN

METHODOLOGY ADOPTED,SYSTEM IMPLEMENTATION AND


DETAILS OF HARDWARE AND SOFTWARE

DETAILED LIFECYCLE OF THE PROJECT

1. DATA FLOW DIGRAM

About The Project:-

Introduction:-
Quick Quiz, allow people with common interests to meet,
communicate and share documents and information,
through a network like the web. While doing this,
participants develop bonds with each other and the
community as a whole. Quick Quiz have emerged as one of
the most potential levers of action the web. Such Quick Quiz
can be built around demographic groups - students, friends,
professional groups.

Threaded by a common interest, community participants


have a lot to share with each other. Once established, Quick
Quiz provides a new way for brands:

The target audience is anyone interested in local community


issues/ any other issues.

How do online Quick Quiz Interact?

Online Quick Quiz interacts by virtue of their shared passion.


They can be found in a variety of web destinations offering
expression to interest-related activities. Like discussion
forums, book sites, auction sites, trading/exchange sites,
blogs and so on. The tools used are generally message
boards, blogging applications, text chat.

Problem Statement

Online virtual Quick Quiz make use of a range of


technologies that support person-to-person and person-to-
group quiz system for preparation of campus. Before there
was no any virtual system.

To use quick quiz system user or student must be register


then login. Only logged in users or students can give answer
of any objective question.

Quick quiz system allows user to add multiple objective


questions at a time.
Quick quiz system allows user to give multiple answers for
objective questions at a time.

This system is based on paper less work because manually it


will take so much time.

System Overview

The application that I will develop covers the following


areas:
Users Personal Details with Other Information:
o Entering Personal Professional Details.
o Manage Personal Details.
o Existing user login/logout.
Ask Quiz:
o Registered user can ask objective question
and will take answer from other user.
o Registered user can give answer of objective
questions posted by other registered user.

THEORETICAL BACKGROUND
SOFTWARE

The Software has been designed using HTML and PHP


Pagesin which JavaScript is used as a Scripting Language and
MYSQL SERVER take as backhand.

INTRODUCTION TO HTML
Hyper Text Markup Language (HTML) is the encoding scheme
used to create and format web based documents. A user
need not be an expert programmer to make used of HTML to
create hypertext documents that can be put on the Internet
or an Intranet.

IMPORTANCE OF HTML :

HTML can be used to display any type of document on the


host computer, which can be geographically at a different
location. It is a versatile language and can be used on any
platform or desktop. Being platform independent, HTML
indicates the manner in which the document is to be read by
the interpreter. This can be done be a set of HTML element,
which markup the document and inform the browser like the
Internet Explorer above the action to be taken when a
certain element is specified.

The appearance of the Web page is important, and HTML


provides tags to make a document look attractive. Using
graphics, fonts, different sizes, color etc, can enhance a
presentation of the document. This language allows the
creation of Hypertext Links, also known as hyperlinks; to
other documents are some portions of the same documents.
There is no limit to the time and type of information that can
be disseminated through the web pages by using this
versatile language. For example, many companies to
publicize their products are using web pages using HTML
language.

HTML AND THE WORLD WIDE WEB :

# Wide-area Hypermedia information retrieval initiative


aiming to give a

universal access to a universe of documents.

# Created in 1991-1992 by Tim Berners-Lee, CERN, Geneva.

# Hypertext based multimedia browser.

# Client-server architecture.

# Provides a virtual cohesive view of all information sources.


It

provides an easy-to use GUI and hook into many services.

Element of the Web :

Hyper Text Transfer Protocol HTTP

Hyper Text Markup Language HTML

1. The HTTP Server (httpd winhttpd)

2. The HTTP client (mosaic, Netscape)


3. Display Utilities (helper applications)

4. Uniform Resource Locators (URLS)

URLs in HTML:

Uniform Resource Locator (URL) locates the document to be


retrieved when a user clicks on a Hypertext Link. URL is
similar to file name except that in this case, the file can be
on the same machine or on a different in the network. Here
are some conventions to be followed while writing URLs.

The file retrieval method varies, depending on the type of


the document to be retrieved. The URL need not always
point to a document that can also point to a query, image
are the result of the command. It is the reference address of
the document used on the Internet. The format of a URL is
very important. The Syntax of URL is

Scheme://host.Domain/path/data name

The URL used on the WWW to retrieve HTML documents is


called HTTP URL.
JAVA (FRONT END)

Introduction
Adobe Flash now performs many of the functions that
were originally envisioned for Java applets, including
the playing o Java is a programming
language originally developed by Sun Microsystems
and released in 1995 as a core component of Sun
Microsystems' Java platform. The language derives
much of its syntax from C and C++ but has a simpler
object model and fewer low-level facilities. Java
applications are typically compiled to byte code that
can run on any Java virtual machine (JVM) regardless
of computer architecture.
The original and reference implementation
Java compilers, virtual machines, and class libraries
were developed by Sun from 1995. As of May 2007,
in compliance with the specifications of the Java
Community Process, Sun made available most of
their Java technologies as free software under the
GNU General Public License. Others have also
developed alternative implementations of these Sun
technologies, such as the GNU Compiler for Java and
path. so required a download by the user before
applets would appear f video content, animation, and
some rich GUI features. Java itself has become more
widely used as a platform and language for server-
side and other programming.

PRIMARY GOALS
There were five primary goals in the creation of
the Java.
1. It should use the object-oriented programming
methodology.
2. It should allow the same program to be executed
on multiple operating systems.
3. It should contain built-in support for using
computer networks.
4. It should be designed to execute code from
remote sources securely.
5. It should be easy to use by selecting what were
considered the good parts of other object-
oriented languages.
CLASS LIBRARIES
Java libraries are the compiled byte codes of
source code developed by the JRE implementer to
support application development in Java.
Examples of these libraries are:
The core libraries, which include:
1.Collection libraries that implement data structures
such as lists, dictionaries, trees and sets.
2. XML Processing (Parsing, Transforming, Validating)
libraries Security.
3. Internationalization and localization libraries.
4. The integration libraries, which allow the
application writer to communicate with external
systems. These libraries include:
5. The Java Database Connectivity (JDBC) API for
database access Java Naming and Directory Interface
(JNDI) for lookup and discovery RMI and CORBA for
distributed application development .
User Interface libraries, which include:
The (lightweight, or native) Abstract Windowing
Toolkit (AWT), which provides GUI components, the
means for laying out those components and the
means for handling events from those components.
The (heavyweight) Swing libraries, which are built on
AWT but provide (non-native) implementations of the
AWT widgetry.
APIs for audio capture, processing, and playback A
platform dependent implementation of Java virtual
machine (JVM) that is the means by which the byte
codes of the Java libraries and third party
applications are executed.

Java version

JDK 1.0 (January 23, 1996) (Unsupported)

JDK 1.1 (February 19, 1997) (Unsupported)


Major additions an extensive retooling of the AWT
event model inner classes added to the language.
1. JavaBeans
2. JDBC
3. RMI

J2SE 1.2 (December 8, 1998) (Unsupported)

Codename Playground. This and subsequent releases


through J2SE 5.0 were rebranded retrospectively Java
2 and the version name "J2SE" (Java 2 Platform,
Standard Edition) replaced JDK to distinguish the
base platform from J2EE (Java 2 Platform, Enterprise
Edition) and J2ME (Java 2 Platform, Micro Edition )
The Swing graphical API was integrated into the core
classes
Sun's JVM was equipped with a JIT compiler for the
first time
Java Plug-in
Java IDL, an IDL implementation for CORBA
interoperability
1. Collections framework
2. Collections framework2
3. Collections framework3.0

J2SE 1.3 (May 8, 2000) (Unsupported)


Codename Kestrel. Hotspot JVM included (the
Hotspot JVM was first released in April, 1999 for the
J2SE 1.2 JVM)
1. RMI was modified to support optional
compatibility with CORBA
2. Java Sound. Java Naming and Directory
Interface (JNDI) included in core libraries
(previously available as an extension)
3. Java Platform Debugger Architecture (JPDA)

J2SE 1.4 (February 6, 2002) (EOL)

Codename Merlin. This was the first release of the


Java platform developed under the Java Community
Process as JSR 59.
Assert keyword. Regular expressions modeled after
Perl regular expressions exception chaining allows an
exception to encapsulate original lower-level
exception, Internet Protocol version 6 (IPv6) support
Non-blocking NIO (New Input/Output) Logging API
Image I/O API for reading and writing images in
formats like JPEG and PNG integrated XML parser
and XSLT processor (JAXP).
Integrated security and cryptography extensions
(JCE, JSSE, and JAAS).
Metadata: Also called annotations, allows language
constructs such as classes and methods to be tagged
with additional data, which can then be processed by
metadata-aware utilities.
Autoboxing/unboxing: Automatic conversions
between primitive types (such as int) and primitive
wrapper classes (such as Integer).
Enumerations: The enum keyword creates a type
safe, ordered list of values (such as Day. MONDAY,
Day. TUESDAY, etc.). Previously this could only be
achieved by non-type safe constant integers or
manually constructed classes (type safe enum
pattern).
Swing: New skinnable look and feel, called synth.
Varargs: The last parameter of a method can now be
declared using a type name followed by three dots
(e.g. void draw text (String... lines)). In the calling
code any number of parameters of that type can be
used and they are then placed in an array to be
passed to the method, or alternatively the calling
code can pass an array of that type.
Enhanced 'for loop': The for loop
syntax is extended with special syntax for iterating
over each member of either an array or any Iterable,
such as the standard Collection classes, using a
construct of the form:

Java SE 6 (December 11, 2006) (Supported)

Codename Mustang. As of this


version, Sun replaced the name "J2SE" with Java SE
and dropped the ".0" from the version number.[11]
Internal numbering for developers remains 1.6.0.[12]
This version was developed under JSR 270.
During the development phase, new builds including
enhancements and bug fixes were released
approximately weekly. Beta versions were released in
February and June 2006, leading up to a final release
that occurred on December 11, 2006. The current
revision is Update 7 which was released in mid-2008.
1. Scripting Language Support (JSR 223): Generic
API for tight integration with scripting languages,
and built-in Mozilla JavaScript Rhino integration.
2. Dramatic performance improvements for the
core platform [15][16], and Swing.
3. Java Compiler API (JSR 199): an API allowing a
Java program to select and invoke a Java
Compiler programmatically.
4. Upgrade of JAXB to version 2.0: Including
integration of a STAX parser.
5. Support for pluggable annotations (JSR 269).
Many GUI improvements, such as integration of
Swing Worker in the API, table sorting and filtering,
and true Swing double-buffering (eliminating the
gray-area effect).

Java SE 6 Update 10

Java SE 6 Update 10 (previously known as Java SE 6


Update N), while it does not change any public API, is
meant as a major enhancement in terms of end-user
usability. Java Deployment Toolkit, a set of JavaScript
functions to ease the deployment of applets and Java
Web Start application Java Kernel, a small installer
including only the most commonly used JRE classes.
Other packages are downloaded when needed.
The Features of JAVA are:-

Compiled and Interpreted.

Platform-Independent and portable.

Object-Oriented.

Robust and Secure.

Distributed.

Simple, Small and Familiar.

Multithreaded and Interactive.

High Performance

Dynamic.
Jsp and Servlet

A Servlets Job

Read explicit data sent by client (form data)


Read implicit data sent by client
(request headers)
Generate the results
Send the explicit data back to client (HTML)
Send the implicit data to client
(status codes and response headers)

The Advantages of Servlets Over Traditional


CGI

Efficient
Threads instead of OS processes, one
servlet copy
Convenient
Lots of high-level utilities
Powerful
Sharing data, pooling, persistence
Portable
Run on virtually all operating systems and
servers
Inexpensive
There are plenty of free and low-cost servers
Secure
No shell escapes, no buffer overflows

The Need for JSP

With servlets, it is easy to


Read form data
Read HTTP request headers
Set HTTP status codes and response
headers
Use cookies and session tracking
Share data among servlets
Remember data between requests
Get fun, high-paying jobs
But, it sure is a pain to
Use those println statements to generate
HTML
Maintain that HTML
Benefits of JSP

Although JSP technically can't do anything


servlets can't do, JSP makes it easier to:
Write HTML
Read and maintain the HTML
JSP makes it possible to:
Use standard HTML tools such as
Macromedia DreamWeaver or Adobe Go
Live.
Have different members of your team do the
HTML layout than do the Java programming
JSP encourages you to
Separate the (Java) code that creates the
content from the (HTML) code that presents
it

Advantages of JSP over Competing


Technologies

Versus ASP or ColdFusion


Better language for dynamic part
Portable to multiple servers and operating
systems
Versus PHP
Better language for dynamic part
Better tool support
Versus pure servlets
More convenient to create HTML
Can use standard tools (e.g., DreamWeaver)
Divide and conquer
JSP programmers still need to know
servlet programming

Advantages of JSP (Continued)

Versus Velocity or WebMacro


Standard
Versus client-side JavaScript (in browser)
Capabilities mostly do not overlap with JSP,
but
You control server, not client
Richer language
Versus server-side JavaScript
(e.g., LiveWire, BroadVision)
Richer language
Versus static HTML
Dynamic features
Adding dynamic features no longer
"all or nothing" decision

MYSQL SERVER

MYSQL SERVER is an application used to create computer. It


provides an environment used to generate databases that
can be accessed from workstations, the web, or other media
such as a personal digital assistant (PDA). MYSQL SERVER is
probably the most accessible and the most documented
enterprise database environment right now.

It supports a superset of Structured Query Language SQL,


the most common database language. It is commonly used
by businesses for small to medium sized databases, and in
the past 5 years large enterprise databases, and competes
with other relational database products for this market
segment. MYSQL SERVER is easy to manage and provides a
separate OLAP engine. It is the ideal database for web
applications written in PHP/PHP.Net as well. MYSQL SERVER
currently runs only on the Windows operating systems, no
plans for
Porting it to other platforms has been disclosed.

The code base for MYSQL SERVER originated in Sybase SQL


Server, and was 's entry to the enterprise-level database
market, competing against Oracle, IBM, and Sybase. ,
Sybase and Ashton-Tate teamed up to create and market the
first version named MYSQL SERVER 4.2 for OS/2. About the
time Windows NT was coming out, Sybase and parted ways
and pursued their own design and marketing schemes.
negotiated exclusive rights to all versions of MYSQL SERVER
written for operating systems. Later, Sybase changed the
name of its product to Adaptive Server Enterprise to avoid
confusion with SQL Server.

Several revisions have been done independently since with


improvements for SQL Server. MYSQL SERVER 7.0 was the
first true GUI based database server, and a variant of MYSQL
SERVER was the first commercial database for the Intel IA64
architecture.

Features of MYSQL SERVER


Internet Integration.

The MYSQL SERVER database engine includes integrated


XML support. It also has the scalability, availability, and
security features required to operate as the data storage
component of the largest Web sites. The MYSQL SERVER
programming model is integrated with the Windows DNA
architecture for developing Web applications, and MYSQL
SERVER supports features such as English Query and the
Search Service to incorporate user-friendly queries and
powerful search capabilities in Web applications.

Scalability and Availability.

The same database engine can be used across platforms


ranging from laptop computers running Windows 98
through large, multiprocessor servers running Windows
Data Center Edition. MYSQL SERVER Enterprise Edition
supports features such as federated servers, indexed views,
and large memory support that allow it to scale to the
performance levels required by the largest Web sites.

Enterprise-Level Database Features.

The MYSQL SERVER relational database engine supports the


features required to support demanding data processing
environments. The database engine protects data integrity
while minimizing the overhead of managing thousands of
users concurrently modifying the database. MYSQL SERVER
distributed queries allow to reference data from multiple
sources as if it were a part of a MYSQL SERVER database,
while at the same time, the distributed transaction support
protects the integrity of any updates of the distributed data.
Replication allows to also maintain multiple copies of data,
while ensuring that the separate copies remain
synchronized. We can replicate a set of data to multiple,
mobile, disconnected users, have them work autonomously,
and then merge their modifications back to the publisher.

Ease of installation, deployment, and use.

MYSQL SERVER includes a set of administrative and


development tools that improve upon the process of
installing, deploying, managing, and using MYSQL SERVER
across several sites. MYSQL SERVER also supports a
standards-based programming model integrated with the
Windows DNA, making the use of MYSQL SERVER databases
and data warehouses a seamless part of building powerful
and scalable systems. These features allow to rapidly deliver
MYSQL SERVER applications that customers can implement
with a minimum of installation and administrative overhead.

Data warehousing.
MYSQL SERVER includes tools for extracting and analyzing
summary data for online analytical processing. MYSQL
SERVER also includes tools for visually designing databases
and analyzing data using English-based questions.

Model-View-Controller Pattern

Model-View-Controller (MVC) is a classic design pattern often


used by applications that need the ability to maintain
multiple views of the same data. The MVC pattern hinges on
a clean separation of objects into one of three categories
models for maintaining data, views for displaying all or a
portion of the data, and controllers for handling events that
affect the model or view(s).

Because of this separation, multiple views and controllers


can interface with the same model. Even new types of views
and controllers that never existed before can interface with a
model without forcing a change in the model design.

How It Works

The MVC abstraction can be graphically represented as


follows.
Events typically cause a controller to change a model, or
view, or both. Whenever a controller changes a models data
or properties, all dependent views are automatically
updated.

ANALYSIS

1. Project Analysis

The objective of our project online


testing is to provide user an online platform for
taking sample practice papers for various
competitive examinations.

2. Requirement Gathering

Hardware Constraints:
An input device
A display device
An internet connection between server and
client (any type of connection can be used like
broadband, net1, mobile office).
Early increments can be implemented with fewer
people.If the core product is well received then
additional staff (if required) can be added to
implement the next increment.In addition,
increments can be planned to manage technical
risks.For example the major system might require the
availability of new hardware that is
underdevelopment and whose delivery date is
uncertain.
SOFTWARE DEVELOPMENT LIFE
CYCLE

SDLC shows about the development process of a


software and the time required in phases which are
as follows:
DESIGNING

Different phases of project development and


desingning can be shown using following Entity-
Relation Diagram:

1.
SYSTEM ANALYSIS AND DESIGN

ANALYSIS:

Requirement analysis is down in order to understand


the problem the software system is to solve. The problem
could be automating an existing manual process, developing
a new automated system, or a combination of the two. For
large systems that have many features, and that need to
perform many different tasks, understating the requirements
of the system is the major task. The emphasis in the
requirements analysis is on identifying what is needed from
the system, not how the system will achieve its goals. The
developer has to develop the system to satisfy the clients
needs.

Once the problem is analyzed and the


essentials understood, the requirement must be satisfied in
the requirement specification document. For requirement
specification in the form of a document, some specification
language has to be selected. All the factors that may affect
the design and the proper functioning of the system should
be specified in the requirement document. Preliminary user
manual

That describes the entire major user interfaces


frequently forms a part bof the requirements documents.

DESIGN:

The purpose of the design phase is to plan a solution of


the problem specified by the requirement document. This
phase is the first step in moving fro the problem domain to
the solution domain. Stating with what is needed; design
takes us towards how to satisfy the needs. The designs
affect the quality of software; it has major impact on the
later phases, particularly testing and maintenances. The
output of this phase is the design document.

This document is similar to a blue print or


as plan fort the solution and is used later during
implementation, testing and maintenance. The design
activity is often divided into two separate phases system
design And detailed design, which is some time also called
top level design, aims to identify the modules should be in
the system, the specifications of these modules, and how the
they interact with each other to produce the desired results.

At the and of the system design all the major data


structures, file formats, output formats and the major
modules in the system and their specifications are decided.

METHADOLOGY ADOPTED, SYSTEM IMPLEMENTATION


& DETAILS OF HARDWARE & SOFTWARE

System implementation:-
The implementation phase is less creative then
system design. It is primarily concerned with user train, site
preparation and file conversion. When the candidate system
is linked to terminals or remote sites, the telecommunication
network and tests of the network along with the system are
also included under implementation.
During the final testing, user acceptance is tested
followed by user training. Depending on the nature of the
system, extensive user training may be required.

Details of hardware & software


Hardware:-
Processor Pentium IV 3.0 GHz

Ram 512 MB

Hdd-80 GB Capacity With 256 MB Free Space

LAN Card

Software Tools:-
Windows Xp

Netbeans 6.9+ ,Mysql Server,Tomcat


Front-end :-

JSP,Servlet

Back-end:-
MS-SQL SERVER
DFD

Level 0

Quick
Quick Quiz Quiz STUDEN
System T
Level 1

New user

Existing user

Register
Login
UserAccount

Menu
Option

Answer a
Quiz
Ask A
Query

Query

Response

You might also like