You are on page 1of 92

E-LEARNING PLATFORM USING CLOUD COMPUTING

Abstract
Cloud computing infrastructure, the sharable e-Learning platform can be proposed to
provide a good learning environment for learners. Three layer architecture of the e-Learning
platform is provided to facilitate the sharing, reusing learning objects and interoperability among
various learning content efficiently. The middleware layer imports an indexing module and a
metadata transformation module to complete metadata exchange among acknowledged e-
Learning standards. Therefore, learners can make use of available learning objects without
having to be affiliated with other LMS. The proposed e-Learning platform based on Cloud
computing infrastructure would allow the independent LMS embedded in different e-Learning
standards to share the learning objects. In short, you can say cloud computing will help huge
amount of learning objects to be accessed reliably and flexibly over the Internet.

PROJECT DESCRIPTION

1
This project entitled as “E-LEARNING PLATFORM USING CLOUD COMPUTING” is
done in JSP as front end and MY SQL as back end. This project consists of following modules.

MODULES:

 Admin
 User
 Career
 Scholarship
 Courses
 IEEE Papers
 Knowledge pool

Admin Login:

The admin has to login with username and password that is unique for him. After
authenticating the username and password is it is wrong he has to login again with appropriate
username and password. If it is correct, he can manage the web application. Admin can add
career related information like what are the courses one can do after puc and degree. The related
colleges information and eligibility for that career option. He can add the all the government and
private scholarships the student can get. The scholarship name, eligibility criteria for that
scholarship and the url link are provided. He can add the courses related to different engineering
domain such as programming, networking. The courses information is provided along the course
description and the useful youtube link.

User Login:

The user has to register with some required details in the web application where the
username and password are provided to each user and after the user has to login with that
username and password. After authenticating the username and password is it is wrong he has to
login again with appropriate username and password. If it is correct, he can access the contents
from web application.

User Career:

2
User can access career related information like what are the courses one can do after puc
and degree. The related colleges information and eligibility for that career option. He can view
the all the government and private scholarships. Get the scholarship name, eligibility criteria for
that scholarship and apply for the scholarship through the url link provided. He can know the
courses related to different engineering domain such as programming, networking. Access
course description and go for the provided youtube link for more information. He can download
the different IEEE papers through the url link given for that paper.

Career:

The “CAREER OPTIONS” module includes following options

 Completed Course
 Career Course
 College Name
 Description

Completed Course includes some courses like BE, Bcom, BBA and others. User need to
choose any of the course which he completed so that he can get the Career Courses, College
Name for that career course and Description of the college.

SCHOLARSHIPS:

The “SCHOLARSHIPS” module includes following options,

 Name
 Eligibility
 Url
 Description

In scholarships module admin provides different Scholarship Name, Eligibility for that
scholarship, Url link for the scholarship, by clicking on the link he can directly go that website
and Description about particular scholarship. User can search the particular scholarship.

Courses:
3
The “COURSES” module includes following options

 Domain Name
 Video
 Title
 Description

In courses module there is a Domain Name like programming, networking, electronics


etc. Based on domain names related Videos and Title of the videos are provided. The Description
is provided for the video.

IEEE:

The “IEEE” module includes following options

 Title
 Description
 Download link

In this module some IEEE papers are provided by admin. Title contains the domains like
image processing, cloud computing, data mining, android etc. Description gives the title of the
paper. There is a Download link for downloading the particular paper.

KNOWLEDGE POOL:

The “KNOWLEDGE POOL” module includes following options

 Title
 Description
 Download link

In knowledge pool, Title contains the aptitude papers and competitive exams question
papers. Here Admin add those papers. Description contains the question paper names. User can
access those by using Download link. User is unable to modify the content.

4
CHAPTER 2
SOFTWARE PROJECT PLAN

This chapter discusses about the time schedule for the project, and it contains the Various
phases of the project.

TIME SCHEDULE FOR VARIOUS PHASES

S.NO TASK DURATION

1. Problem definition 5 days

2. Requirement Specification 4 days

3. Requirement Document Specification 5days

4. Design Analysis 12 days

5. Screen design 17 days

6. Design Review 12 days

7. Coding 35 days

8. Testing 5 days

Total Days 95 days

5
CHAPTER 3
CUSTOMER REQUIREMENTS DETERMINATION

3.1 EXISTING SYSTEM


E-learning is important platform in education. Previous system fully manual. Handle the
information through note books. Information are not share the other members. At the time one
person are used this information. Manual maintained time more mistakes and more data are
losses. More mistakes in data transfer time. Information gathering time is very long period.
Every information write manually. Message passing is very poor. Data are store in same place.
Not gather the information in anywhere.

DISADVANTAGES
 Low information sharing.
 Spelling mistakes.

6
3.2 PROPOSED SYSTEM

There will be admin and user. Admin can dump the data in web application and manages,
controls all the activities of the application. The user has to register in the web application ad
fetch, view data which was added by admin. The web application is hosted in the cloud server.
Adding and fetching information by admin and user is done by using Mysql. E-Learning is
essential in current trend and combining ELearning with Cloud computing gives more benefits.
Cloud computing deliver services autonomously based on demand and provides sufficient
network access, data resource environment and flexibility by keeping this point in view,
implementation of system will be done.

ADVANTAGES

 Improved performance of PC.

 Lower maintenance issues.

 Lower hardware requirements for users.

 Increased computing power.

 Lower software cost.

7
CHAPTER 4
SOFTWARE REQUIREMENTS SPECIFICATION

4.1 FUNCTIONAL REQUIREMENTS

A functional requirement defines a function of a software-system or its component. A


function is described as a set of inputs, the behavior, and outputs

4.2 PERFORMANCE REQUIREMENTS

The project must satisfy the End user requirements. Accuracy and fast must be imposed
in this project.

The project is developed as easy as possible for the sake of end user. The project has to
be developed with a view of satisfying the future requirements and future enhancement.

This project has been finally implemented satisfying the needs specified by the company.
As per as the performance is concerned this system said is performing well. The processing times
as well as time taken to generate reports were also very less even when large amount of data was
used. The system is designed in such a way that even when large amount of data are used for
processing there would less performance degradation

4.3 INTERFACE REQUIREMENTS

During a requirements-gathering session for major new information system, key users
asked the attributes of the web-oriented graphical interface.

Most interface constraints and restrictions that are imposed by a designer are intended to
simplify the mode of interaction.

The user interface should move into the virtual world of the application. The user should
not be aware of the operating system, file management functions, or other arcane computing
technology .A user should never be required to type operating system commands from within
Web application software.

8
The user feels a sense of control when able to manipulate the objects that are necessary to
perform a task in a manner similar to what would occur if the object were physical thing.

4.4 OPERATIONAL REQUIREMENTS

The database or databases that are being failed over to the standby server cannot be used
for anything else. But databases on the standby server not being used for failover can still be
used normally.

When it comes time for the actual failover, you must do one of two things to make your
applications work: either rename the standby server the same name as the failed production
server (and the IP address), or re-point your user's applications to the new standby server. In
some cases, neither of these options is practical.

9
4.5 RESOURCE REQUIREMENTS

4.5.1 SOFTWARE REQUIREMENTS

Operating System : Microsoft windows 10

Front End : JSP

Back End : MY SQL

Documentation : Microsoft Word

4.5.2 HARDWARE REQUIREMENT

Processor : Intel Core i3

Speed : 3.7 GHz

RAM : 4 GB

Hard Disk : 500GB

Monitor : LED Monitor

Mouse : Wireless Mouse

Keyboard : Multi Type

Printer : Laser Printer

10
4.6 SECURITY REQUIREMENTS

Web Applications are available via network access, it is difficult, if not possible, to limit
the population of End-users who may access the application, In order to protect sensitive content
and provide secure modes of data transmission, strong security measures must be implemented
throughout the infrastructure that supports a Web Application and within the application itself.

For these and many other reasons, Web Application security is paramount in many
situations. The key measure of security is the ability of the Web Application and its server
environment to rebuff unauthorized access and/or thwart an outright malevolent attack.

4.7 DESIGN REQUIREMENTS


It shows how to create a project, add base masters and masters to the project, assign
behaviors to the masters, create and assign behavior sets, and then apply, test, and validate those
behaviors. It also shows how to create and build a stencil to hold the shapes.

4.7.1 MAJOR STEPS IN SHAPE CREATION


The following list shows the major steps to develop shapes in Shape Studio:
 Create a project
 Create a base master specification
 Assign behaviors to the base master specification
 Apply base master behavior and validate the base master specification
 Create master specifications based on the base master specification
 Define styles to apply to masters
 Add shape geometry to masters
 Assign behaviors to masters
 Create and apply sets of behaviors to masters
 Run developer and test tools on masters
 Create and validate stencil specifications and build stencil files
 Create reports

4.8 QUALITY AND RELIABILITY REQUIREMENTS

11
A software component that is developed for reuse would be verified to be correct and
would contain no defects. In reality, formal verification is not carried out routinely, and defects
can and do occur. However, with each reuse, defects are found eliminated, and a component’s
quality improves as a result. Over time, the component becomes virtually defect free.

Software reliability is defined in statistical terms as “the probability of failure –free


operation of a computer program in a specified environment for a specified time”. The software
quality and reliability, failure is nonconformance to software requirements. Failures can be only
annoying or catastrophic. One failure can be corrected within seconds while another requires
weeks or even months to correct. Complicating the issue even further, the correction of one
failure may in fact result in the introduction of the errors in result.

Web Correct link processing

Application Reliability Error recovery

Quality User input validation and

Recovery

CHAPTER 5

12
SYSTEM ANALYSIS

5.1 DATA FLOW DIAGRAM

E-learning Platform Using Cloud Computing

Admin User

Login Register

Add Career Login

Scholars Details View Career

Add Courses View Scholarship

Add IEEE Papers View Courses

Add Knowledge Pool View Courses

View User Information View Courses

Database

13
Admin

Level 0

Admin Check No Record

Details DB

Level 1

Admin Career DB Career

Level 2

Admin Scholarship DB Customer Details

Level 3

Admin Course DB
Course

Level 4

Admin IEEE Paper DB IEEE Paper

Level 5

Admin Kowledge Pool DB Knowledge Pool

14
Level 6

Admin Check No Record

Details DB User Details

User

Level 0

User Check No Record

Details DB

Level 1

User Check No Record

Details DB View Scholarship


Level 2

User Check No Record

Details DB View Courses

15
Level 3

User Check No Record

Details DB IEEE Paper

Level 4

User Check No Record

Details DB Knowledge Pool

16
5.2 USE CASE DIAGRAM

Login

Add Career

Controller Add Courses

View User
Information
Customer
View Career

View Courses

View
Scholarship

IEEE Papers

Knowledge
Pool

17
5.3 UML

Unified Modeling Language (UML) is a standardized visual specification language


for object modeling. UML is a general-purpose modeling language that includes a graphical
notation used to create an abstract model of a system, referred to as a UML model.

Admin User

Login Register

Add Career Login

Scholars Details View Career

Add Courses View Scholarship

Add IEEE Papers View Courses

Add Knowledge Pool View Courses

View User Information View Courses

RESPONSE

QUERY

18
5.4 CASE TOOL FOR ANALYSIS
CASE BUILDING BLOCKS

CASE Tools

Integration Framework

Portability Services

Operating System

Hardware Platform

Environment Architecture

 To maintain the implemented software


 To train the new people in software development
 To get clear idea about software engineering processes
 To test the developed software

The compilers, editors and debuggers those are available to support most conventional
programming languages. Web development tools include to the generation of text, graphics,
forms, scripts and other elements of a web page.

19
CHAPTER 6

DESIGN

6.1 INPUT DESIGN

In this project, the end user gives the input through the predefined options. For
administrator the input is given through the JSP to the database.

In accurate input data is the most common cause of errors in data processing .Input design is the
process of converting user oriented inputs into a computer based format. the goal of designing is
to make data entry as easy, logical and from errors as possible.

The input forms are designed to be user friendly. Meaningful labels are given to input
fields. Immediate validations are done for each input from the user so that the individual inputs
are not sending to the gateway.

The input forms are designed so that they provide proper links to the other forms. Each
screen has the provision to view the home previous and next page.

The Administrator can create a new user, edit the existing user, delete the existing user
and view all user information. But the normal user can only view the user information and edit
his / her profile such as First name, last name, and password and so on

6.1.1 NORMALIZATION

This project consists of second normal form.

A relation is said to be in second normal form is it is in first normal form and it should
satisfy any one of the following rules;

 Primary key is not a composite primary key


 No non key attributes are present
 Every non key attribute is fully functionally dependent on full set of primary
key.

20
SECOND NORMAL FORM

A relation is said to be in 2NF if and only if it is in 1NF and every non key attribute is
fully functional dependent on the primary key.

The relation users are in 2NF, because every non-key attribute such as Name, Password
are fully functional dependent on the primary key User Id.

21
6.2 TABLE AND DATABSE DESIGN

CAREER

FIELD NAME DATA TYPE DESCRIPTION

Completed Course Varchar(50) Completed Course

Course Name Varchar(50) Course Name

College Name Varchar(50) College Name

Description text Description

COURSE

FIELD NAME DATA TYPE DESCRIPTION

Domain Varchar(50) Domain

title Varchar(50) title

url1 Varchar(50) url1

url2 Varchar(50) url2

url3 Varchar(50) url3

IEEE

FIELD NAME DATA TYPE DESCRIPTION

domain Varchar(50) domain

title Varchar(50) title

url Varchar(50) url

22
KNOWLEDGE POOLING

FIELD NAME DATA TYPE DESCRIPTION

domain Varchar(50) domain

title Varchar(50) title

url Varchar(50) url

REGISTRATION:

FIELD NAME DATA TYPE DESCRIPTION

Name Varchar(50) Name

gender Varchar(50) gender

address Varchar(50) address

phone number Varchar(50) phone number

email id Varchar(50) email id

username Varchar(50) username

password Varchar(50) password

SCHOLARSHIP

FIELD NAME DATA TYPE DESCRIPTION

Scholar name Varchar(50) Scholar name

Eligibility Varchar(50) Eligibility

Url Varchar(50) Url

Description text Description

23
6.3 OUTPUT DESIGN
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In any system results of processing are communicated to the users and to
other system through outputs. In output design it is determined how the information is to be
displaced for immediate need and also the hard copy output. It is the most important and direct
source information to the user. Efficient and intelligent output design improves the system’s
relationship to help user decision-making.

1. Designing computer output should proceed in an organized, well thought out manner; the right
output must be developed while ensuring that each output element is designed so that people will
find the system can use easily and effectively. When analysis design computer output, they
should Identify the specific output that is needed to meet the requirements.

2.Select methods for presenting information.

3.Create document, report, or other formats that contain information produced by the system.

The output form of an information system should accomplish one or more of the following
objectives.

 Convey information about past activities, current status or projections of the


 Future.
 Signal important events, opportunities, problems, or warnings.
 Trigger an action.
 Confirm an action.

6.4 INTERFACE DESIGN


Once an operational user interface prototype has been created, it must be evaluated to
determine whether it meets the needs of the user. Evaluation can span a formality spectrum that
ranges from an informal “test drive,” in which a user provides impromptu feedback to a formally
designed study that uses statistical methods for the evaluation of questionnaires completed by a
population of end-users.

24
6.5 FRONT END DESIGN

JAVA

Java is a computer programming language. It enables programmers to write computer


instructions using English based commands, instead of having to write in numeric codes. It’s
known as a “high-level” language because it can be read and written easily by humans. Like
English, Java has a set of rules that determine how the instructions are written. These rules are
known as its “syntax”. Once a program has been written, the high-level instructions are
translated into numeric codes that computers can understand and execute.

WHO CREATED JAVA?

In the early nineties, Java was created by a team led by James Gosling for Sun
Microsystems. It was originally designed for use on digital mobile devices, such as cell phones.
However, when Java 1.0 was released to the public in 1996, its main focus had shifted to use on
the Internet. It provided more interactivity with users by giving developers a way to produce
animated webpage’s. Over the years it has evolved as a successful language for use both on and
off the Internet. A decade later, it’s still an extremely popular language with over 6.5million
developers worldwide.

WHY CHOOSE JAVA?

 Easy to Use: The fundamentals of Java came from a programming language called c++.
Although c++ is a powerful language, it was felt to be too complex in its syntax, and
inadequate for all of Java's requirements. Java built on, and improved the ideas of c++, to
provide a programming language that was powerful and simple to use.
 Reliability: Java needed to reduce the likelihood of fatal errors from programmer
mistakes. With this in mind, object-oriented programming was introduced. Once data and
its manipulation were packaged together in one place, it increased Java’s robustness.

 Secure: As Java was originally targeting mobile devices that would be exchanging data
over networks, it was built to include a high level of security.

25
 Platform Independent: Programs needed to work regardless of the machine they were
being executed on. Java was written to be a portable language that doesn't care about the
operating system or the hardware of the computer.

THE JAVA PROGRAMMING LANGUAGE

The Java programming language is a high-level language that can be characterized by all
of the following buzzwords:

 Simple  Architecture neutral

 Object oriented  Portable

 Distributed  High performance

 Multithreaded  Robust

 Dynamic  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 extension. Those source files are then compiled into .class files by the
javac compiler. A .class file does not contain code that is native to your processor; it instead
contains BYTE CODES — the machine language of the Java Virtual Machine (Java VM). The
java launcher tool then runs your application with an instance of the Java Virtual Machine.

26
THE JAVA PLATFORM

A platform is the hardware or software environment in which a program runs. We've


already mentioned some of the most popular platforms like Microsoft Windows, Linux, Solaris
OS, and Mac OS. Most platforms can be described as a combination of the operating system and
underlying hardware. The Java platform differs from most other platforms in that it's a software-
only platform that runs on top of other hardware-based platforms.

THE JAVA PLATFORM HAS TWO COMPONENTS:

 The Java Virtual Machine


 The Java Application Programming Interface (API)

You've already been introduced to the Java Virtual Machine; it's the base for the Java
platform and is ported onto various hardware-based platforms.

The API is a large collection of ready-made software components that provide many useful
capabilities. It is grouped into libraries of related classes and interfaces; these libraries are known
as packages.

As a platform-independent environment, the Java platform can be a bit slower than native
code. However, advances in compiler and virtual machine technologies are bringing performance
close to that of native code without threatening portability.

WHAT CAN JAVA TECHNOLOGY DO?

27
The general-purpose, high-level Java programming language is a powerful software platform.
Every full implementation of the Java platform gives you the following features:

 Development Tools: The development tools provide everything you'll need for
compiling, running, monitoring, debugging, and documenting your applications. As a
new developer, the main tools you'll be using are the javac compiler, the java launcher,
and the javadoc documentation tool.
 Application Programming Interface (API): The API provides the core functionality of
the Java programming language. It offers a wide array of useful classes ready for use in
your own applications. It spans everything from basic objects, to networking and
security, to XML generation and database access, and more. The core API is very large;
to get an overview of what it contains, consult the Java Platform Standard Edition 7
Documentation.

 Deployment Technologies: The JDK software provides standard mechanisms such as the
Java Web Start software and Java Plug-In software for deploying your applications to end
users.

 User Interface Toolkits: The Swing and Java 2D toolkits make it possible to create
sophisticated Graphical User Interfaces (GUIs).

 Integration Libraries: Integration libraries such as the Java IDL API, JDBC™ API,
Java Naming and Directory Interface™ (JNDI) API, Java RMI, and Java Remote Method
Invocation over Internet Inter-ORB Protocol Technology (Java RMI-IIOP Technology)
enable database access and manipulation of remote objects.

JAVA TECHNOLOGY HELP:

 Get started quickly: Although the Java programming language is a powerful object-
oriented language, it's easy to learn, especially for programmers already familiar with C
or C++.
 Write less code: Comparisons of program metrics (class counts, method counts, and so
on) suggest that a program written in the Java programming language can be four times
smaller than the same program written in C++.

28
 Write better code: The Java programming language encourages good coding practices,
and automatic garbage collection helps you avoid memory leaks. Its object orientation, its
JavaBeans™ component architecture, and its wide-ranging, easily extendible API let you
reuse existing, tested code and introduce fewer bugs.

 Develop programs more quickly: The Java programming language is simpler than C++,
and as such, your development time could be up to twice as fast when writing in it. Your
programs will also require fewer lines of code.

 Avoid platform dependencies: You can keep your program portable by avoiding the use
of libraries written in other languages.

 Write once, run anywhere: Because applications written in the Java programming
language are compiled into machine-independent byte codes, they run consistently on any
Java platform.

29
6.6 BACK END DESIGN
MY SQL

A database is a separate application that stores a collection of data. Each database


has one or more distinct APIs for creating, accessing, managing, searching and replicating the
data it holds.

MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses. MySQL
is developed, marketed and supported by MySQL AB, which is a Swedish company. MySQL is
becoming so popular because of many good reasons −

 MySQL is released under an open-source license. So you have nothing to pay to


use it.

 MySQL is a very powerful program in its own right. It handles a large subset of
the functionality of the most expensive and powerful database packages.

 MySQL uses a standard form of the well-known SQL data language.

 MySQL works on many operating systems and with many languages including
PHP, PERL, C, C++, JAVA, etc.

 MySQL works very quickly and works well even with large data sets.

 MySQL is very friendly to PHP, the most appreciated language for web
development.

 MySQL supports large databases, up to 50 million rows or more in a table. The


default file size limit for a table is 4GB, but you can increase this (if your operating
system can handle it) to a theoretical limit of 8 million terabytes (TB).

FEATURES OF MYSQL:

The following list shows the most important properties of MySQL. This section is
directed to the reader who already has some knowledge of relational databases. We will

30
use some terminology from the relational database world without defining our terms
exactly. On the other hand, the explanations should make it possible database novices to
understand to some extent what we are talking about.

 Relational Database System: Like almost all other database systems on the market,
MySQL is a relational database system.

 Client/Server Architecture: MySQL is a client/server system. There is a database server


(MySQL) and arbitrarily many clients (application programs), which communicate with
the server; that is, they query data, save changes, etc. The clients can run on the same
computer as the server or on another computer (communication via a local network or the
Internet).

Almost all of the familiar large database systems (Oracle, Microsoft SQL Server, etc.) are
client/server systems. These are in contrast to the file-server systems, which include Microsoft
Access, dBase and FoxPro. The decisive drawback to file-server systems is that when run over a
network, they become extremely inefficient as the number of users grows. Ease of Use &
Administration Ease of use has been a design goal for MySQL since its inception. MySQL offers
exceptional quick-start capability with the average time from software download to installation
completion being less than fifteen minutes. Once installed, self management features like
automatic space expansion, auto-restart, and dynamic configuration changes take much of the
burden off already overworked database administrators. The visual database design,
development, administration and monitoring tools delivered within MySQL Enterprise Edition
and presented later in this document further enhance MySQL’s ease of use and administration.
The LAMP Stack Describing why MySQL became the #1 database choice for web-based
applications would not be complete without mentioning the LAMP stack. LAMP (standing for
Linux, Apache, MySQL, PHP/Perl/Python) became the leading open source web platform,
adopted by a large majority of popular Web sites across the world including Facebook, Google,
Twitter, YouTube, Craiglist and Zappos. LAMP is chosen by savvy IT leaders as a way to
improve operational efficiency and reduce IT infrastructure costs.

RELIABILITY & UPTIME:

31
Web-based applications must typically be available 24/7. Downtime can be extremely
detrimental to customer loyalty, and potentially very costly. Web properties need their database
platform to exhibit high code quality, fault tolerance, rapid restart & restore, dynamic adaptation
to increasing workload as well as simple upgrades and easy maintenance operations.

Robustness in addition to extensive QA testing at Oracle, MySQL is battle-tested by


millions of users in a very wide variety of application scenarios. As Eric Raymond noted: “given
enough eyeballs, all bugs are shallow”, the huge MySQL community contributes to the
extremely high quality of the world’s most popular open source database. Security Because
guarding the data assets of corporations is the number one job of database professionals, MySQL
offers exceptional security features that ensure absolute data protection. In terms of database
authentication, MySQL provides powerful mechanisms for ensuring only authorized users have
entry to the database, with the ability to block users down to the client machine level being
possible. SSH and SSL support are also provided to ensure safe and secure connections. A
granular object privilege framework is present so that users only see the data they should, and
powerful data encryption and decryption functions ensure that sensitive data is protected from
unauthorized viewing. Finally, backup and recovery utilities are provided through MySQL
Enterprise Edition.

MYSQL DATABASE ARCHITECTURE:

There are two flavors of Database Management System (DBMS) known as shared-file
and client-server. A shared file based DBMS consists of a database access application which
interacts directly with the underlying database files. These types of database are typically
designed for less demanding data storage needs and are used almost exclusively on desktop
computers. Microsoft Access is a typical example of this category of DBMS. Such database
systems are never used in distributed or enterprise level environments. MySQL falls into the
client-server DBMS category. A client-server DBMS is split into two components. The server
component typically resides on the same physical computer as the database files and is
responsible for all interactions with the database. The second component is the client. The client
sends all database requests to the server which in turn processes the request and returns the
results of the request back to the client.

32
There are a couple of key advantages to the client-server architecture DBMS. Firstly, there is no
need for the client to be running on the same computer system as the server. Instead, requests can
be sent by the client over a network or internet connections to the server on a remote host. The
fact that the server resides on a remote computer is invisible to the client user. This makes the
database available to greater numbers of users than a shared-file DBMS offers. In large scale
enterprise environments this also allows high levels of fault tolerance and load balancing to be
implemented. Secondly, separating the client from the server allows a wider range of client types
to be used to access the database. Valid clients can be the MySQL tools, applications written in
other programming languages such as C, C++ or Java, or web based applications developed
using languages such as PHP or JSP).

33
6.7 ALGORITHM USED

ADMIN:

Step 1: The login credentials should be correct otherwise it won’t login.

Step 2: Admin can add the career.

Step 3: Upload the scholar details.

Step 4: The course details can be added

Step 5: Add the IEEE papers and knowledge pool.

Step 6: View the user Information.

USER:

Step 1: The login credentials should be correct otherwise it won’t login.

Step 2: View the information about the careers and scholarships.

Step 3: View the course details.

Step 4: Logout from the user module.

34
CHAPTER 7
IMPLEMENTATION AND TESTING

7.1 PROGRAMS

ADMIN LOGIN

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ include file="module.html"%>

<html>

<body>

<form action="adminlogin.jsp">

<center>

<table border=2 cellpadding=5 cellspacing=5>

<tr><th colspan=2>ADMIN LOGIN</th></tr>

<tr><th>USER NAME:</th><td><input type=text placeholder="enter your username"


name=t1></tr>

<tr><th>PASSWORD:</th><td><input type=password placeholder="enter your password"


name=t2></tr>

<tr><th colspan=2><input type=submit value="LOGIN" name=b1></th></tr>

<tr><th colspan=2><a href="achagepassword.jsp">Change Password</a></th></tr>

<%

try

35
{

String u=request.getParameter("t1");

String p=request.getParameter("t2");

if(request.getParameter("b1")!=null)

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from adminlogin where username=? and


password=?");

ps.setString(1,u);

ps.setString(2,p);

ResultSet rs=ps.executeQuery();

if(rs.next())

response.sendRedirect("admin.html");

else

%>

<script>

alert("Login Failed");

36
</script>

<%

}}}

catch(Exception e)

out.println(e);

%>

</center></table>

</form></body>

</html>

CHANAGE PASSWORD

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ include file="module.html"%>

<html>

<body>

<form action="achagepassword.jsp">

<center>

<table cellpadding=5 cellspacing=5>

<tr><th colspan=2>CHANGE PASSWORD</th></tr>

<tr><td>USER NAME</td><td><input type=text placeholder="enter your

37
username" name=t></tr>

<tr><td>CURRENT PASSWORD</td><td><input type=password

placeholder="enter your old password" name=t1></tr>

<tr><td>NEW PASSWORD</td><td><input type=password

placeholder="enter your new password" name=t2></tr>

<tr><td>REPEAT NEW PASSWORD</td><td><input type=password

placeholder="Repeat your new password" required name=t3></tr>

<tr><th colspan=2><input type=submit value="CHANGE"

name=b1></th></tr>

<%

try

String u=request.getParameter("t");

String c=request.getParameter("t1");

String p=request.getParameter("t2");

String r=request.getParameter("t3");

if(request.getParameter("b1")!=null)

if(p.equals(r))

38
Class.forName("com.mysql.jdbc.Driver");

Connection con=DriverManager.getConnection

("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("update adminlogin set

password=? where password=? and username=?");

ps.setString(1,p);

ps.setString(2,c);

ps.setString(3,u);

int x=ps.executeUpdate();

if(x>0)

%>

<script>

alert("Update Success");

</script>

<%

else

%><script>

39
alert("Update Failed");

</script>

<%

}}

}}

catch(Exception e){

out.println(e);

%>

</center>

</table>

</form>

</body>

</html>

CAREER PORT

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ include file="admin.html"%>

<html>

<body bgcolor=pink>

<form action="careerport.jsp">

<center>

40
<table cellpadding=5 cellspacing=5>

<tr><th colspan=2>CAREER PORT</th></tr>

<tr><td>Completed Course</td><td><select name=t1>

<option>B.E</option>

<option>B.Sc</option>

<option>BCA</option>

<option>MCA</option>

<option>M.Sc</option>

</select></tr>

<tr><td>Career Course</td><td><input type=text placeholder="enter career course"


name=t2></tr>

<tr><td>College Name</td><td><input type=text placeholder="enter college name"


name=t3></tr>

<tr><td>Description</td><td><textarea name=t4></textarea></tr>

<tr><th><input type=submit value="CAREER" name=b1></th><th><input type=reset


value="CLEAR" name=b2></th></tr>

<%

try

String a=request.getParameter("t1");

String b=request.getParameter("t2");

String c=request.getParameter("t3");

String d=request.getParameter("t4");

41
Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

if(request.getParameter("b1")!=null)

PreparedStatement ps=con.prepareStatement("insert into careerport values(?,?,?,?)");

ps.setString(1,a);

ps.setString(2,b);

ps.setString(3,c);

ps.setString(4,d);

int x=ps.executeUpdate();

if(x>0)

%>

<script>

alert("Register Success");

</script>

<%

}}}

catch(Exception e)

out.println(e);

42
}

%>

</center>

</table>

</form>

</body>

</html>

ADD COURSE

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ include file="admin.html"%>

<html>

<body bgcolor=pink>

<form action="course.jsp">

<center>

<table cellpadding=5 cellspacing=5>

<tr><th colspan=2>COURSE</th></tr>

<tr><td>Domain Name</td><td><input type=text placeholder="enter domain name"


name=t1></tr>

<tr><td>Title</td><td><input type=text placeholder="title" name=t2></tr>

<tr><td>Link1</td><td><input type=text placeholder="enter Url" name=t3></tr>

<tr><td>Link2</td><td><input type=text placeholder="enter Url" name=t4></tr>

43
<tr><td>Link3</td><td><input type=text placeholder="enter Url" name=t5></tr>

<tr><th><input type=submit value="SUBMIT" name=b1></th><th><input type=reset


value="CLEAR" name=b2></th></tr>

<%

try

String a=request.getParameter("t1");

String b=request.getParameter("t2");

String c=request.getParameter("t3");

String d=request.getParameter("t4");

String e=request.getParameter("t5");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

if(request.getParameter("b1")!=null)

PreparedStatement ps=con.prepareStatement("insert into course values(?,?,?,?,?)");

ps.setString(1,a);

ps.setString(2,b);

ps.setString(3,c);

ps.setString(4,d);

ps.setString(5,e);

44
int x=ps.executeUpdate();

if(x>0)

%>

<script>

alert("Insert Success");

</script>

<%

}}}

catch(Exception e)

out.println(e);

%>

</center>

</table>

</form></body></html>

IEEE

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ include file="admin.html"%>

<html>

45
<body bgcolor=pink>

<form action="ieee.jsp">

<center>

<table cellpadding=5 cellspacing=5>

<tr><th colspan=2>IEEE PAPERS</th></tr>

<tr><td>Domain Name</td><td><input type=text placeholder="enter domain name"


name=t1></tr>

<tr><td>Title</td><td><input type=text placeholder="title" name=t2></tr>

<tr><td>Url</td><td><input type=text placeholder="enter Url" name=t3></tr>

<tr><th><input type=submit value="SUBMIT" name=b1></th><th><input type=reset


value="CLEAR" name=b2></th></tr>

<%

try

String a=request.getParameter("t1");

String b=request.getParameter("t2");

String c=request.getParameter("t3");Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

if(request.getParameter("b1")!=null)

PreparedStatement ps=con.prepareStatement("insert into ieee values(?,?,?)");

ps.setString(1,a);

46
ps.setString(2,b);

ps.setString(3,c);

int x=ps.executeUpdate();

if(x>0)

%>

<script>

alert("Insert Success");

</script>

<%

catch(Exception e)

out.println(e);

%>

</center>

</table>

</form>

</body>

47
</html>

REGISTER

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<html>

<body bgcolor=pink>

<form action="register.jsp">

<div style="margin-left:900px;"> <a href="home.html" >Sign out</a></div>

<center>

<table cellpadding=5 cellspacing=5>

<tr><th colspan=2>USER REGISTRATION</th></tr>

<tr><td>Name</td><td><input type=text placeholder="enter your name" name=t1></tr>

<tr><td>Gender</td><td><input type=radio name=r1 value="male">MALE<input type=radio


name=r1 value="female">FEMALE</tr>

<tr><td>Address</td><td><textarea name=ta></textarea></tr>

<tr><td>Phone Number</td><td><input type=text placeholder="enter mobile number"


name=t2></tr>

<tr><td>Email Id</td><td><input type=text placeholder="enter your mail id" name=t3></tr>

<tr><td>User Name</td><td><input type=text placeholder="create your username"


name=t4></tr>

<tr><td>Password</td><td><input type=password placeholder="create your password"


name=t5></tr>

48
<tr><th><input type=submit value="SUMBIT" name=b1></th><th><input type=reset
value="CLEAR" name=b1></th></tr>

<tr><th colspan=2><a href="userlogin.jsp">Sign in</a></th></tr>

<%

try

String a=request.getParameter("t1");

String b=request.getParameter("r1");

String ad=request.getParameter("ta");

String c=request.getParameter("t2");

String d=request.getParameter("t3");

String e=request.getParameter("t4");

String f=request.getParameter("t5");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

if(request.getParameter("b1")!=null)

PreparedStatement ps1=con.prepareStatement("select email from (select email from register


where email=?)register ");

ps1.setString(1,d);

ResultSet rs=ps1.executeQuery();

if(rs.next())

49
{

%>

<script>

alert("Already Your are Register this Website");

</script>

<%

else

PreparedStatement ps=con.prepareStatement("insert into register values(?,?,?,?,?,?,?)");

ps.setString(1,a);

ps.setString(2,b);

ps.setString(3,ad);

ps.setString(4,c);

ps.setString(5,d);

ps.setString(6,e);

ps.setString(7,f);

int x=ps.executeUpdate();

if(x>0)

%>

<script>

50
alert("Register Success");

</script>

<%

}}}}

catch(Exception e)

out.println(e);

%>

</center>

</table></form></body></html>

SCHOLARSHIP

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ include file="admin.html"%>

<html>

<body bgcolor=pink>

<form action="scholarship.jsp">

<center>

<table cellpadding=5 cellspacing=5>

<tr><th colspan=2>SCHOLARSHIP</th></tr>

<tr><td>Name</td><td><input type=text placeholder="enter scholarship name" name=t1></tr>

51
<tr><td>Eligibility</td><td><input type=text placeholder="Eligibility" name=t2></tr>

<tr><td>Url</td><td><input type=text placeholder="enter Url" name=t3></tr>

<tr><td>Description</td><td><textarea name=t4></textarea></tr>

<tr><th><input type=submit value="SUBMIT" name=b1></th><th><input type=reset


value="CLEAR" name=b2></th></tr>

<%

try

String a=request.getParameter("t1");

String b=request.getParameter("t2");

String c=request.getParameter("t3");

String d=request.getParameter("t4");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

if(request.getParameter("b1")!=null)

PreparedStatement ps=con.prepareStatement("insert into scholar values(?,?,?,?)");

ps.setString(1,a);

ps.setString(2,b);

ps.setString(3,c);

ps.setString(4,d);

52
int x=ps.executeUpdate();

if(x>0)

%>

<script>

alert("Register Success");

</script>

<%

}}}

catch(Exception e)

out.println(e);

%>

</center>

</table>

</form>

</body>

</html>

VIEW CAREER

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

53
<%@ page import="java.util.*;"%>

<%@ include file="module.html"%>

<html>

<body>

<form action="sviewcareer.jsp">

<center><br>

<%

try

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from careerport");

ResultSet rs=ps.executeQuery();

%>

</table>

<table border=2 cellpadding=5 cellspacing=5>

<br><br><br>

<tr><th>CAREER COURSE<th>COLLEGE NAME<th>DESCRIPTION</tr>

<%

while(rs.next())

54
%>

<tr>

<td><%=rs.getString(2)%>

<td><%=rs.getString(3)%>

<td><%=rs.getString(4)%></tr>

<%

}}

catch(Exception e)

out.println(e);

%>

</center>

</table>

<br><br><font color="red">More Details

<a href="register.jsp">Sign Up</a> this website</font>

</form></body></html>

VIEW COURSE

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ page import="java.util.*;"%>

<%@ include file="module.html"%>

55
<html>

<body>

<form action="sviewcourse.jsp">

<center><br>

<table border=4 cellpadding=5 cellspacing=5>

<tr><th colspan=2>COURSE INFORMATION</th></tr>

<%

try

String s=request.getParameter("t1");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from course");

ResultSet rs=ps.executeQuery();

%>

<tr><th>DOMAIN<th>TITLE</tr>

<%

while(rs.next())

%>

<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>

56
</tr>

<%

}}

catch(Exception e)

out.println(e);

%>

</center>

</table>

<br><br><font color="red">More Details

<a href="register.jsp">Sign Up</a> this website</font>

</form>

</body>

</html>

VIEW IEEE

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ page import="java.util.*;"%>

<%@ include file="module.html"%>

<html>

<body>

57
<form action="sviewieee.jsp">

<center><br>

<table border=4 cellpadding=5 cellspacing=5>

<tr><th colspan=4>IEEE PAPER INFORMATION</th></tr>

<%

try

String a="";

String s=request.getParameter("t1");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from ieee where not domain=?");

ps.setString(1,a);

ResultSet rs=ps.executeQuery();

%>

<tr><th>DOMAIN<th>TITLE</tr>

<%

while(rs.next())

%>

<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>

58
</tr>

<%

}}

catch(Exception e)

out.println(e);

%>

</center>

</table>

<br><br><font color="red">More Details

<a href="register.jsp">Sign Up</a> this website</font>

</form>

</body>

</html>

VIEW KNOWLEDGE POOLING

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ page import="java.util.*;"%>

<%@ include file="module.html"%>

<html>

59
<body>

<form action="sviewknow.jsp">

<center><br>

<table border=4 cellpadding=5 cellspacing=5>

<tr><th colspan=4>KNOWLEDGEW POOLING INFORMATION</th></tr>

<%

try

String s=request.getParameter("t1");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from knowledge");

ResultSet rs=ps.executeQuery();

%>

<tr><th>DOMAIN<th>TITLE</tr>

<%

while(rs.next())

%>

<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>

</tr>

60
<%

}}

catch(Exception e)

out.println(e);

%>

</center>

</table>

<br><br><font color="red">More Details

<a href="register.jsp">Sign Up</a> this website</font>

</form>

</body>

</html>

VIEW SCHOLARSHIP

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ page import="java.util.*;"%>

<%@ include file="module.html"%>

<html>

<body>

<form action="sviewscholarship.jsp">

61
<center><br>

<table border=4 cellpadding=5 cellspacing=5>

<tr><th colspan=2>SCHOLARSHIP INFORMATION</th></tr>

<%

try

String s=request.getParameter("t1");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from scholar");

ResultSet rs=ps.executeQuery();

%>

<tr><th>SCHOLAR NAME<th>ELIGIBILITY</tr>

<%

while(rs.next())

%>

<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>

</tr>

<%

62
}

catch(Exception e)

out.println(e);

%>

</center>

</table>

<br><br><font color="red">More Details

<a href="register.jsp">Sign Up</a> this website</font>

</form>

</body>

</html>

VIEW USER INFO

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ page import="java.util.*;"%>

<%@ include file="admin.html"%>

<html>

<body>

<form action="userinfo.jsp">

<center><br>

63
<table border=4 cellpadding=5 cellspacing=5>

<tr><th colspan=7>USER INFORMATION</th></tr>

<%

try

String s=request.getParameter("t1");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from register");

ResultSet rs=ps.executeQuery();

%>

<tr><td>NAME<td>GENDER<td>ADDRESS<td>PHONENUMBER<td>E-MAIL
ID<td>USER NAME</tr>

<%

while(rs.next())

%>

<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>

<td><%=rs.getString(3)%><td><%=rs.getString(4)%>

<td><%=rs.getString(5)%><td><%=rs.getString(6)%></tr>

<%

64
}}

catch(Exception e)

out.println(e);

%>

</center></table></form></body></html>

USER LOGIN

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ include file="module.html"%>

<html>

<body>

<form action="userlogin.jsp">

<center>

<table border=2 cellpadding=5 cellspacing=5>

<tr><th colspan=2>USER LOGIN</th></tr>

<tr><th>USER NAME:</th><td><input type=text placeholder="enter your username"


name=t1></tr>

<tr><th>PASSWORD:</th><td><input type=password placeholder="enter your password"


name=t2></tr>

<tr><th colspan=2><input type=submit value="LOGIN" name=b1></th></tr>

65
<tr><th colspan=2><a href="uchagepassword.jsp">Change Password</a></th></tr>

<%

try

String u=request.getParameter("t1");

String p=request.getParameter("t2");

if(request.getParameter("b1")!=null)

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from register where username=? and


password=?");

ps.setString(1,u);

ps.setString(2,p);

ResultSet rs=ps.executeQuery();

if(rs.next())

response.sendRedirect("user.html");

else

66
{

%>

<script>

alert("Login Failed");

</script>

<%

}}}

catch(Exception e)

out.println(e);

%>

</center></table></form></body></html>

SEARCH CAREER

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ page import="java.util.*;"%>

<%@ include file="user.html"%>

<html>

<body>

<form action="viewcareer.jsp">

<center><br>

67
<table border=2 cellpadding=5 cellspacing=5>

<tr><th colspan=2>VIEW CAREER</th></tr>

<tr><td>Completed Course</td><td><select name=t1>

<option>B.E</option>

<option>B.Sc</option>

<option>BCA</option>

<option>MCA</option>

<option>M.Sc</option>

</select></tr>

<tr><th colspan=2><input type=submit value=SEARCH name=b1></td></tr>

<%

try

if(request.getParameter("b1")!=null)

String s=request.getParameter("t1");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from careerport where


completedcourse=?");

ps.setString(1,s);

68
ResultSet rs=ps.executeQuery();

%>

</table>

<table border=2 cellpadding=5 cellspacing=5>

<br><br><br>

<tr><th>CAREER COURSE<th>COLLEGE NAME<th>DESCRIPTION</tr>

<%

while(rs.next())

%>

<tr>

<td><%=rs.getString(2)%>

<td><%=rs.getString(3)%>

<td><%=rs.getString(4)%></tr>

<%

}}}

catch(Exception e)

out.println(e);

%>

</center>

69
</table>

</form>

</body>

</html>

VIEW COURSE

<%@ page import="java.io.*;"%>

<%@ page import="java.sql.*;"%>

<%@ page import="java.util.*;"%>

<%@ include file="user.html"%>

<html><body>

<form action="viewcourse.jsp">

<center><br>

<table border=4 cellpadding=5 cellspacing=5>

<tr><th colspan=5>COURSE INFORMATION</th></tr>

<%

try

String s=request.getParameter("t1");

Class.forName("com.mysql.jdbc.Driver");

Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/learning","root","root");

PreparedStatement ps=con.prepareStatement("select * from course");

70
ResultSet rs=ps.executeQuery();

%>

<tr><th>DOMAIN<th>TITLE<th>URL<th>URL 1<th>URL 2</tr>

<%

while(rs.next()){

%>

<tr><td><%=rs.getString(1)%><td><%=rs.getString(2)%>

<td><a href=<%=rs.getString(3)%>><%=rs.getString(3)%></a>

<td><a href=<%=rs.getString(4)%>><%=rs.getString(4)%></a>

<td><a href=<%=rs.getString(5)%>><%=rs.getString(5)%></a></tr>

<%

}}

catch(Exception e)

out.println(e);

%>

</center>

</table></form>

</body></html>

71
7.2 TESTING

7.2.1 DEFINITION OF TESTING

The purpose of testing is to discover errors. Testing is the process of trying to discover
every conceivable fault or weakness in a work product. It provides a way to check the
functionality of components, sub assemblies, assemblies and/or a finished product It is the
process of exercising software with the intent of ensuring that the

Software system meets its requirements and user expectations and does not fail in an
unacceptable manner. There are various types of test. Each test type addresses a specific testing
requirement.

7.3 TYPES OF TESTS


7.3.1 UNIT TESTING
Unit testing involves the design of test cases that validate that the internal program logic is
functioning properly, and that program inputs produce valid outputs. All decision branches and
internal code flow should be validated. It is the testing of individual software units of the
application .it is done after the completion of an individual unit before integration. This is a
structural testing, that relies on knowledge of its construction and is invasive. Unit tests perform
basic tests at component level and test a specific business process, application, and/or system
configuration. Unit tests ensure that each unique path of a business process performs accurately
to the documented specifications and contains clearly defined inputs and expected results.

Unit testing is usually conducted as part of a combined code and unit test phase of the
software lifecycle, although it is not uncommon for coding and unit testing to be conducted as
two distinct phases.

Test strategy and approach


Field testing will be performed manually and functional tests will be written in detail.

Test objectives
 All field entries must work properly.
 Pages must be activated from the identified link.
 The entry screen, messages and responses must not be delayed.

72
Features to be tested
 Verify that the entries are of the correct format
 No duplicate entries should be allowed
 All links should take the user to the correct page.
7.3.2 INTEGRATION TESTING
Integration tests are designed to test integrated software components to determine if they
actually run as one program. Testing is event driven and is more concerned with the basic
outcome of screens or fields. Integration tests demonstrate that although the components were
individually satisfaction, as shown by successfully unit testing, the combination of components is
correct and consistent. Integration testing is specifically aimed at exposing the problems that
arise from the combination of components.

integration testing is the incremental integration testing of two or more integrated software
components on a single platform to produce failures caused by interface defects.

The task of the integration test is to check that components or software applications, e.g.
components in a software system or – one step up – software applications at the company level –
interact without error.

Test Results: All the test cases mentioned above passed successfully. No defects encountered.

7.3.3 FUNCTIONAL TEST


Functional tests provide systematic demonstrations that functions tested are available as
specified by the business and technical requirements, system documentation, and user manuals.

Functional testing is centered on the following items:

Valid Input : Identified classes of valid input must be accepted.

Invalid Input : Identified classes of invalid input must be rejected.

Functions : Identified functions must be exercised.

Output : Identified classes of application outputs must be exercised.

Systems/Procedures: interfacing systems or procedures must be invoked.

73
Organization and preparation of functional tests is focused on requirements, key functions, or
special test cases. In addition, systematic coverage pertaining to identify Business process flows;
data fields, predefined processes, and successive processes must be considered for testing.
Before functional testing is complete, additional tests are identified and the effective value of
current tests is determined.

7.3.4 SYSTEM TEST


System testing ensures that the entire integrated software system meets requirements. It tests a
configuration to ensure known and predictable results. An example of system testing is the
configuration oriented system integration test. System testing is based on process descriptions
and flows, emphasizing pre-driven process links and integration points.

7.3.5 WHITE BOX TESTING


White Box Testing is a testing in which in which the software tester has knowledge of the
inner workings, structure and language of the software, or at least its purpose. It is purpose. It is
used to test areas that cannot be reached from a black box level.

7.3.6 BLACK BOX TESTING


Black Box Testing is testing the software without any knowledge of the inner workings,
structure or language of the module being tested. Black box tests, as most other kinds of tests,
must be written from a definitive source document, such as specification or requirements
document, such as specification or requirements document. It is a testing in which the software
under test is treated, as a black box .user cannot “see” into it. The test provides inputs and
responds to outputs without considering how the software works.

74
CHAPTER 8

CONCLUSION

In conclusion, technology is being used increasingly by institutions to provide e-learning


services. These institutions face a wide range of challenges in implementing these systems such
as costs, a lack of technical resources, and resistance by key stakeholders to the implementation
of systems. Cloud-based learning systems are emerging as an attractive method for providing e-
learning services. They can reduce costs due to lower requirements of hardware and software,
and less need for onsite maintenance. They are also easier to deploy across multiple locations as
they are centrally administered. They also offer benefits to end users in terms of accessibility,
security, and compatibility. However, the limitations of cloud-based learning systems are that an
Internet connection is mandatory, low speed connections reduce the efficiency of the provision
of e-learning services, and issues surrounding the security of a cloud remain unclear. As the
speed and stability of the Internet are continuing to improve, it seems likely that the popularity of
cloud computing for e-learning will increase.

75
REFERENCES
BOOKS:
1. “Object Oriented Programming with Java” - E.Balagurusamy

Published By Tata Mc Graw Hill.

2. “Complete Reference” – Schildt

Published By Oracle.

3. “Head First” – Kathy Sierra & Bert Bates

Published By Tata Mc Graw Hill.

4. “Software Engineering” – Roser .S. Pressman

Published By Tata Mc Graw Hill.

5. “Head First Servlet And Jsp” – Kathy Sierra & Bert Bates

Published By O’Reilly.

WEB REFERRING:
https://www.owasp.org/index.php/Java_Security_Resources

http://www.j2ee-security.net/book/sample-chap/

http://www.murach.com/books/jse6/ides.html3

http://www.murach.com/servlet/murach.downloads.DownloadServlet?file=jse6_eclipse
_tutorial.pdf&code=jse6&description=Eclipse%20tutorial

http://java.sun.com/developer/technicalArticles/J2SE/Desktop/JavaSE6_build39.html

http://www.webopedia.com/TERM/J/Java.html

http://www.site.uottawa.ca/~tcl/javapres/limitations.html

76
ABBREVIATIONS USED

 CBF- Counting Bloom Filter

 DHT- Distributed Hash Table

 SQL- Structured Query Language

 GUI- Graphical User interface

 API-Application Programming Interface

 HTML-Hypertext Markup Language

 XML-Extensible Markup Language

 CLR-Common Language Runtime

 NF-Normal Form

 UML-Unified Modeling Language

77
APPENDIX
OUTPUTS
HOME

78
ADMIN LOGIN

ADMIN

79
CAREER PORT

80
SCHOLARSHIP

81
COURSE

82
IEEE PAPERS

83
KNOWLEDGE POOLING

84
USER INFO

85
USER LOGIN

86
VIEW CAREER

87
SCHOLARSHIP INFORMATION

COURSE INFORMATION

88
IEEE PAPERS

KNOWLEDGE

89
CAREER

SCHOLARSHIP

90
IEEE PAPER

KNOWLEDGE POOLING

91
USER REGISTER

92

You might also like