Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 27

HOME WORK TITLE- TERM PAPER

COURSE CODE-CAP 407

COURSE INSTRUCTOR-MR PANKAJ SHARMA

COURSE TUTOR-DO

ALLOCATION DATE-

SUBMITION DATE-10/05/10

STUDENT ROLL NO. – B46

SECTION-D3802

DECLARATION,

I declare that this TERM PAPER is


individual work. I have not copied from any student
work or from any other source except where due
acknowledgement is made explicitly in the text, nor
has any part been written from me by another
person.
EVALUATOR COMMENT……… STUDENT
SIGN

MARKS OBTAINED………. PRIYA RANJAN

OUT OF……….
Term-paper on

TOPIC:-TOURISM management SYSTEM


SUBMITTED BY:- SUBMITTED TO:-
PRIYA RANJAN MR.PANKAJ SHARMA
ROLL NO:-B46
Section:-d3802
stream:-BCA-MCA

ACKNOWLEDGEMENT
First foremost I thank to God and acknowledge my heartfelt
gratitude to LECT PANKAJ SHARMA who is a teacher of
exceptional Intelligence, knowledge, ability and qualities, quite
readily and subsequently like a beacon of light guided me in such
a persuasive manner that I was capable to complete this
ambitious task without having faced any difficult.

I would be improper on my part if at this point of time I am not


humble enough to convey my thankfulness to my family who
provided me every kind of assistance and did expected from
them.

While acknowledging my dept to all those who help me. I am


simply cannot be oblivious of my friends and classmates who
provided to me every sort of help required of them. I make my
best effort to make it effectively used in future.

I am very thankful to the university lecturers, my friends, and


my roommates for preparing this TERM PAPER

PRIYARANJA
N

INTRODUCTION
Tourism Categorized

Characteristics

5 Ages of Tourism

Feasibility Study

 Economical feasibility

 Technical feasibility

 Behavioural feasibility

Front end visual basic 6.0

Testing

Coding

Final output

Bibliography
Introduction

 Tourist-A person who stays for more than one night


and less than one year (UN definition; tour for
pleasure or convention) Comprises activities of people
traveling to and staying in places outside their usual
environment. Not more than one consecutive year for
leisure, business, and other purposes.

 Visitor-A person who visits a country other than where


they reside for not more than one year

 Excursionist-A person who travels to a site and returns


the same day
Tourism Categorized in Terms of the
Following Factors
 Geography(international, regional, state)

 Ownership(government, private)

 Function(suppliers, educators, associations)

 Industry(transportation, travel agents)

 Motive (profit or nonprofit)

Characteristics
 Year-round economic driver

 Support the creation of over 5.5 million jobs per year over
next decade (1 in every 11.2 jobs)

 8% of all jobs worldwide will depend on the industry


 11.7% of world GDP makes it world’s largest industry

 10% of global workforce

5 Ages of Tourism

First Age of Tourism


• Pre-Industrial Revolution…

– Phoenicians were first travelers

– Trade was motivation

– Romans also traveled

– Most medieval travel was of a religious nature

Second Age of Tourism


• Railway age…

– First railroad in U.S. built in 1830

– By 1869 transcontinental travel

– AMTRACK created in 1971

– Rail travel is big in Europe and Asia

Third Age of Tourism


• Automobile Travel…

– Production of automobiles began in 1891

– Almost 200 million automobiles are registered today


Fourth Age of Tourism
• Air Travel…

– In 1903 the Wright brothers made their first flight

– The first U.S. scheduled air service was in 1915

Fifth Age of Tourism


• Cruise Ships…

– A floating resort

– Has increased 800% from 1970 to 2000

– Most cruise ships sail under foreign flags

– Approximately 7 million Americans could/will be cruising each


year

Feasibility Study:-
A feasibility study is a test of a project proposal according to its
work ability, impact on the project, ability to meet user need

(i)Economic Feasibility:-
Economic feasibility deals with the cost and benefit .In economic
feasibility we generally check , are their sufficient benefits in
creating the project to make the costs acceptable ?

The proposed system for “Tourism Management System ” is

economically feasible as the benefits outweigh the cost involved in a

computerized system. McDonald’s Restaurant already owns the


required hardware and software. It is quite cost effective because

limited persons can carry out a variety of tasks efficiently,

accurately, economically with help of this system.

(ii)Technical feasibility:-
Technical feasibility generally includes both the hardware as well
as the software requirement.

It focuses on the existing computer system and to what extent it


can support the proposed system. The proposed system for
“Tourism Management System” is technically feasible as they
already have required hardware and the system will work even
after years and can be implemented whenever required.

Hardware Components:-

1.) RAM

2.) Hard disk

3.) Processer

4.) Monitor

5.) Keyboard

6.) Mouse

7.) printer

Software Components:-
1.) Operating system

2.) Ms – word
3.) Visual Basic

(iii)Behavior Feasibility/Operational feasibility:-


In behavior feasibility we generally check whether the project is
user friendly or not. we check will the system be used if it is
developed and implemented? will there be resistance from users
that will undermine the possible application benefits?

People are inherently resistant to change and computer has been


known to facilitate change. An estimate should be made of how
strong a reaction the user staff is likely to have toward the
development of a computerized system. It is common knowledge that
computer installation has something to do with turnover, transfers,
retraining & changes in employee job status. Therefore, it is
understandable that the introduction of a proposed system requires
special effort to educate, & train the staff on new ways in “Tourism
Management System”.

Front end Visual Basic 6.0


Visual basic is a highly interactive programming language. It has

several features that allow the programmer to develop applications

for ms-window in an easy and efficient manner. The visual basic

environment increases the productivity of the programmer by

providing. The tools necessary to develop extremely sophisticated

applications. Unlike other window-programming environment like

visual C++, visual basic programs are very simple and easy to write.

The purpose of the parent language BASIC (beginners all purpose

symbolic instruction code), which is to teach computer programming


to the beginner, has been retained in visual basic also. Visual basic

follows the standard syntax of basic, except that some new language

features have been added to it to give more flexibility to the

programmer. Visual basic relies very heavily on the windows user

interface. Therefore the only prerequisite to work in visual basic

environment is to have a firm understanding of how to use mouse,

windows, pull down Menus and dialog boxes.

THE VB DESKTOP Properties window


Project window
Toolbox Pull-down menus Tool bar Form

Immediate window Form layout window

There are 8 main parts to the VB desktop:

1. Pull-down menus - provides access to commands used to build

application.

2. Toolbar - Provides quick access to commonly used commands in

the programming environment.


3. Toolbox - Provides a set of tools used at design time to place

controls on a form.

4. Project explorer - Lists all the files that make up a single VB

program.

5. Properties window - Used to set the properties of forms and

controls at design

Pointer Time.
Picture Box
Label
Text Box
6. Form layout window - Enables you to arrange the location of
Frame
Command Button
where your Check
forms Box Appear on the screen.
Option Button

Combo Box List Box

Horizontal Scroll bar Vertical Scroll Bar


7. Form - Provides
Timer a window where you
Drivecan draw objects for the
List Box

user interface.
Directory list box File List Box

Shape Line
Immediate window - Enables you to debug your VB program
Image Data Control

OLE
THE VB TOOLBOX

This is used to draw the objects on the user

interface. Objects include:

 Pointer - Used to select and edit objects.


 Picture box - Display device which can contain bit-mapped

pictures, text and line drawings.

 Label - Used to display text that cannot be changed

 Text box - A text input device which accepts keyboard input

and supports editing.

 .Frame - An object which allows other controls to be arranged

in logical groups.

 Command button - Operates like a push button, which is

pressed by clicking the mouse on it.

 Check box - Displays an on or off value. Useful to display or

enter data which can be one of two values.

 Option button - Used in a group of similar controls to select

between a numbers of mutually exclusive options.

 Combo box - Can be used to enter or select data. It is

essentially a single text box attached to a list. Can be used to

input data or select existing data.

 List box - Just like the list part of a combo box.

 Horizontal Scroll Bar - control used to set a position or a level

of a quantity.

 Vertical Scroll bar - control used to set a position or a level of

a quantity.

 Timer - Operates by running a piece of program code at pre-

set intervals.
 Drive list box - Used to select and display from a range of disk

drives.

 Directory list box -Used to display files in a specified

directory.

 File list box - Used to select a list of files by their attributes.

 Shape - Used to add objects such as circles, rectangles and

rounded boxes to a form.

 Lines - Lines, like graphics can be used to embellish a form.

 Image - Similar to picture box with less events. Used to

display bitmaps.

 Data control - used to access DBs

 OLE - used to access other windows programs

CREATING APPLICATIONS IN VB

 A VB interface consists of forms and objects.

 A form is a window that appears on the screen.

 Most programs have at least one form, although it is

common to have many.

 Objects are items that appear on forms.

 Objects enable the program to interact with the user.

 The whole purpose of VB code is to tell objects what to do

when the user does something i.e. Event-driven.


 Any time a user presses a key, moves the mouse, or clicks

the mouse button; such an action is called an event.

 Whenever an event occurs VB commands tell the computer

that something has just happened.

FEATURES OF VB

1) Full set of objects-you ‘draw’ the application.

2) Lots of icons and pictures for your use.

3) Response to keyboard and mouse actions.

4) Clipboard and printer access.

5) Full array of mathematical, string handling, and graphics

functions.

6) Can handle fixed and dynamic variable and control arrays.

7) Sequential and random access file support.

8) Useful debugger and error handling facilities.

9) Powerful database access tools.

10) ActiveX support.

ADVANTAGES OF VISUAL BASIC


1) Has a shorter learning curve and development time than C/C++,

Delphi, and even Power builder.

2) Removes the complexities of the Windows API from the

programmer.

3) Allows for rapid application development.


4) Excellent for business application.

5) Used by most of the office suite tools as their macro language,

with the rest to follow. Other companies as well are starting to

support VBA in there such as AutoCAD, Visio, CorelDraw, SAP,

and any others.

6) Allow you to reuse third-party controls and components, as well as

your own.

7) Object oriented in nature. It is not a complete OOP language, but

it’s getting closer.

8) Can integrate with the Internet on both the server side and the

client Side.

9) Can create ActiveX Automation servers.

10) Integrates with Microsoft Transaction Server.

11)Can run servers either on the same machine or remotely on

another computer. This allows for true distributed processing.

12) Visual Basic has large community of developers (more than 3

million worldwide according to Microsoft). This means continued

support for new developers.

Due to large number of facilities provided by the Visual Basic

6.0 version, it has been used as a front-end tool in “TOURISM

MANAGEMENT SYSTEM”.
TESTING
Testing is vital to the success of the system. System testing makes

a logical assumption that if all parts of the system are correct, the

goal will be successfully achieved. A small error can conceivably

explode into a much larger problem. Effective testing early in the

process translates directly into long-term cost savings from a

reduced number of errors. The best program is worthless if it does

not meet the user needs. Often the software developer and the

users have communication barriers due to different backgrounds,

interests, priorities and perhaps languages.

NATURE OF TEST DATA

The proper choice of data is as important as the test itself. If test

data as input is not valid or representative of the data to be

provided by the user, then the reliability of the output is suspect.

Test date may be artificial or live. Unlike live data, which are biased

towards typical values, artificial data provide extreme values for

testing the limits of the candidate system.

THE TEST PALN

The first step in system testing is to prepare a plan that will test all

aspects of the system in a way that promotes its credibility among

users. Its features are: -


1) Programmers document and report on the method and extent of

their testing.

2) Users are involved, which means communication is improved

between users and the designer.

3) Programmers are involved when they become aware of user

problems and expectations. The user also becomes aware of the

complexity of programming and testing.

WHY DO WE TEST?

The first test of a system is to see whether it produces the correct

outputs. Following this step, a variety of other tests are conducted

as: -

FUNCTIONAL TESTING:- In functional testing the structure of

the program is not considered. Test cases are decided solely on the

basis of requirements or specifications of the program or module

and the internals of the module or the program are not considered

for selection of test cases. It is often called Black Box testing.

STRUCTURAL TESTING

Structural testing is concerned with testing the implementation of

the program. The intent of structural testing is not to exercise all

the different input or output conditions but to exercise the

different programming structures and data structures used in the

program.
UNIT TESTING

Unit testing is a dynamic method for testing and verification, where

the program is actually compiled and executed. It is one of the most

widely used methods and the coding phase is sometimes called the

‘coding and unit testing phase’. Unit testing involves executing the

code with some test cases and then evaluating the results. Its goal

is to test modules or ‘units’, not the entire software system. The

programmer often does it. After finishing the coding of a module, it

is tested with some test data. Then this module is delivered for

system integration and further testing.

INTEGRATED TESTING

The next level of testing is called ‘Integration Hence, emphasis is on

testing interfaces between modules. This testing activity can be

considered testing the design.

CODING

Public Class Form2

Private Sub Button1_Click(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles Button1.Click
Me.Visible = False
LoginForm1.Visible = True
End Sub
End Class

LOGIN FORM1.VB

Public Class LoginForm1

' TODO: Insert code to perform custom authentication using the


provided username and password
' (See http://go.microsoft.com/fwlink/?LinkId=35339).
' The custom principal can then be attached to the current
thread's principal as follows:
' My.User.CurrentPrincipal = CustomPrincipal
' where CustomPrincipal is the IPrincipal implementation used to
perform authentication.
' Subsequently, My.User will return identity information
encapsulated in the CustomPrincipal object
' such as the username, display name, etc.

Private Sub OK_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles OK.Click
If UsernameTextBox.Text = "ranju" And
PasswordTextBox.Text = "harjit" Then
Form1.Visible = True
Me.Visible = False
End If
End Sub

Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles Cancel.Click
Me.Close()
End Sub

End Class

ADD
Public Class Form1

Private Sub TextBox5_TextChanged(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
TextBox5.TextChanged

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles Button1.Click
Dim con As New OdbcConnection("dsn=raj")
con.Open()
Dim qry As String
qry = "insert into
tourism_mgmt(NAME,PHONE_NO,ADDRESS,DOJ,DOR,PLACE,COS
T,MEDIA)values('" + TextBox1.Text + "','" + TextBox2.Text + "','" +
RichTextBox1.Text + "', '" + TextBox3.Text + "','" + TextBox4.Text
+ "','" + TextBox5.Text + "','" + TextBox6.Text + "','" +
ComboBox1.Text + "')"
Dim comm As New OdbcCommand(qry, con)
comm.ExecuteNonQuery()
MessageBox.Show("saved")
con.Close()

End Sub

SEARCH

Private Sub Button2_Click(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles Button2.Click
Dim vconn As New OdbcConnection("dsn=raj")
Dim vcommand As OdbcCommand
Dim dr As OdbcDataReader
vconn.Open()
Dim vquery As String
vquery = "select* from tourism_mgmt where NAME ='" &
TextBox1.Text & "'"
vcommand = New OdbcCommand(vquery, vconn)
dr = vcommand.ExecuteReader
If (dr.HasRows) Then
While dr.Read()
TextBox2.Text = dr.Item("PHONE_NO")
TextBox3.Text = dr.Item("DOJ")
TextBox4.Text = dr.Item("DOR")
TextBox6.Text = dr.Item("COST")
RichTextBox1.Text = dr.Item("ADDRESS")
TextBox5.Text = dr.Item("PLACE")
ComboBox1.Text = dr.Item("MEDIA")

End While

End If

End Sub

DELETE

Private Sub Button3_Click(ByVal sender As System.Object, ByVal


e As System.EventArgs) Handles Button3.Click
Dim con As New OdbcConnection("dsn=raj")
Dim qry As String
con.Open()
qry = "delete from tourism_mgmt where NAME='" &
TextBox1.Text & "'"
Dim com As New OdbcCommand(qry, con)
com.ExecuteNonQuery()
con.Close()
MsgBox("This Record Is Deleted!")
End Sub

CLEAR

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles Button5.Click
TextBox1.Clear()
TextBox2.Clear()
TextBox3.Clear()
TextBox4.Clear()
TextBox5.Clear()
TextBox6.Clear()
RichTextBox1.Clear()
ComboBox1.Text = ""
End Sub

UPDATE

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles Button4.Click
Dim con As New OdbcConnection("dsn=raj")
Dim qry As String
con.Open()
qry = "update tourism_mgmt set PHONE_NO='" +
TextBox2.Text + "',ADDRESS='" + RichTextBox1.Text + "',DOJ='" +
TextBox3.Text + "',DOR='" + TextBox4.Text + "',PLACE='" +
TextBox5.Text + "',COST='" + TextBox6.Text + "',MEDIA='" +
ComboBox1.Text + "' where NAME='" & TextBox1.Text & "'"
Dim com As New OdbcCommand(qry, con)
com.ExecuteNonQuery()
con.Close()
MsgBox("This Record Is Updated!")
End Sub

SHOW DETAIL

Private Sub Button6_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles Button6.Click
DataGridView1.Visible = True
End Sub

HIDE DETAIL

Private Sub Button7_Click(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles Button7.Click
DataGridView1.Visible = False
End Sub
End Class
Final output
Bibliography

www.google.com

www.answer.com

www.project.com

www.scribd.com

You might also like