Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 105

MCS – 044

MY CONTACT BOOK
By

Under the guidance of


()

Submitted to the School of Computer and Information Sciences,


IGNOU
in the partial fulfillment of the requirements
for the degree of

Masters of Computer Applications (MCA)

INDIRA GANDHI NATIONAL OPEN UNIVERSITY


Maidan Garhi
New Delhi - 110068
Original Copy of the Approved Proforma of Project
Proposal

My Contact Book Page 1


Certificate of Authenticated Work

This is to certify that the project report entitled My Contact Book: an application based project
submitted to Indira Gandhi National Open University in partial fulfillment of the requirement of the
award of the degree of Masters of Computer Applications (MCA) is an original work carried out by
Varinder Kaur Saluja enrollment no _____________ under my guidance. The matter embodied in
this project is authentic and is genuine work done by the student and has not been submitted to this
university or to any other University / Institute for the fulfillment of the requirement of any course of
study.

…………………………

…………………………

Signature of the Student Signature of the Counselor

Date: ____________ Date: ________________

Name and Address Name, Designation


Of the Student and Address of the counselor

Enrollment no:

My Contact Book Page 2


Roles and Responsibilities Form

Name of the project: Contact Book Date: 26/11/2013

Name of the member of Role Tasks and


team Responsibilities
Garima Arora Designer Handled all the form designing,
which includes placing all the
controls on the right place,
choosing the right color so that
user can easily view and
understand the form.
Garima Arora Developer Handled all the coding part, i.e.
the whole transaction work is
done by the coder due to which
the system is running
successfully
Garima Arora Testing Handled all the transaction for
testing i.e. all testing is done,
each test case is run on the
system and all the results are
stored.
Garima Arora Maintenance Whatever failed transactions
occur during testing, are here
solved and rectified which is
known as maintaining.

Name and Signature of the Project Team Members:

1…………………………….. Signature………………………………………..
2…………………………….. …………………………………………….

Signature of the Counselor Date


…………………………………………. ……………………………………

ABSTRACT

My Contact Book Page 3


My Contact Book: is primarily meant for keeping the records of the persons. Records consist of their
name, office address, home address, email id, designation, phone numbers etc. In the project most of
the functions are handled.

My Contact Book will provide the basic set of features of adding a new contact, searching, updating,
deleting a contact. It also provides the user to connect to the face book. The project also generates a
report, also export it to pdf. The user can provide its feedback and can also give any suggestions.

By successfully implementing the Contact Book: a substantial knowledge has been acquired
regarding the implementation of the application based database system in order to store the records.

ACKNOWLEDGMENT

My Contact Book Page 4


I would like to thank my project guide__________________, for his valuable guidance and advice.
inspired us greatly to work in this project. His willingness to motivate us contributed tremendously to our
project.

Besides, I would like to thank the authority of_______________College, IGNOU Study Centre for
providing me with a good environment and facilities to complete this project.

In addition WE express gratitude to _______________ and all other faculty members for the guidance and
support rendered to us throughout my academic career as a student in the institution .

Also I would like to take the opportunity to thank my family members for giving me full support,
without which this endeavor could not have been possible.

My Contact Book Page 5


5.3 Testing Approach - 84
5.3.1 Unit Testing - 84
TABLE
TABLEOF
OFCONTENTS
5.3.2 Integrated Testing
FIGURES
- 89
5.3.3 System Testing - 90
Page
5.4. Modifications and Improvements - 92
CHAPTER 1: INTRODUCTION -1
CHAPTER 6 : RESULTS AND DISCUSSION -- 1 94
Page
1.1 Background - 1
6.1
1.2 Test Reports
Objectives
3.01 ENTITY-RELATIONSHIP DIAGRAM -- 94
1
38
6.2
3.02 DATA User
1.3FLOW Documentation
Purpose, Scope and Applicability
DIAGRAM -- 95
1
39
CONTEXT 1.3.1
LEVELPurpose
DFD - 1
39
CHAPTER DFD7 LEVEL-1
: CONCLUSIONS
1.3.2 Scopes - 106
2
40
1.3.3 Applicability
DFD LEVEL-2 - 2
41
7.1
1.4 Conclusion
3.03 GANTT Achievements
CHART -- 106
2
42
7.2 Limitations
Organizationofofthe
1.5CHART
3.04 PERT System
Report -- 106
2
43
7.3
3.05 LOGIN Future Scope of the Project -- 107
45
CHAPTER
3.06 LIBRARY2: SURVEY
MATERIALOF TECHNOLOGIES
DATA PAGE -- 3 45
REFERENCES
3.07 LOAN CART -- 108
45
CHAPTER
3.08 3: REQUIREMENTS
TRANSACTION PAGE AND ANALYSIS -- 5 46
GLOSSARY
3.09 LOGIN DATA PAGE -- 109
46
3.1 Problem
3.10 SCREEN VIEWS Definition -- 5
47
3.2 Requirements
3.11 E-R DIAGRAM Specification -- 6
48
Table
3.12 DATA FLOW DIAGRAMS of Contents - 6
49
3.3 Planning
CONTEXT and DFD
LEVEL Scheduling - 42
49
3.3.1
DFD LEVEL-1 GANTT Chart - 42
50
3.3.2
DFD LEVEL-2 PERT Chart - 43
51
3.4 Software and Hardware Requirements - 44
3.4.1 Hardware Requirements - 44
3.4.2 Software Requirements - 44
3.5 Preliminary Product Description - 44
3.6 Conceptual Models - 46
3.6.1 Module Specifications - 46
3.6.2 Screen Views - 47
3.6.3 E-R Diagram - 48
3.6.4 Data Flow Diagrams - 49

CHAPTER 4 : SYSTEM DESIGN - 52

4.1 Basic Modules - 52


4.2 Data Design - 53
4.2.1 Schema Design - 53
4.2.2 Data Integrity and Constraints - 53
4.3 Procedural Design - 55
4.3.1 Logic Diagrams - 55
4.4. User Interface Design - 58
4.5 Security Issues - 63
4.6 Test Cases Design - 65

CHAPTER 5 : IMPLEMENTATION AND TESTING - 73

5.1 Implementation Approaches - 73


5.2 Coding Details and Code Efficiency - 73
5.2.1 Coding - 73
5.2.2 Code Efficiency -- 80
MEMBER

My Contact Book Page 6


MY CONTACT BOOK

My Contact Book Page 7


1. INTRODUCTION

Complete Contact Book is an application based project. It is designed for people to store the

information about their contacts. Rather than going through the pages of their diaries and copies to

search a person information, a person can simply use this software to view any of his stored contacts.

A user can also add or update or delete the contact information according to his need. Big

Organizations need to have this software in order to keep the records of thousands of his employees

at one place without any paper work. Also registers maintained for this purpose can be left around, or

can be destroyed in any accident, but in software no such problem will occur This software also

provides an option to connect to facebook , it also provides the report , you can also view people

through various groups.

1.1 Background

The project Complete Contact Book provides a person to add its personal information like name ,

company, phone number, designation , etc. to the database. A user can search any other person or can

update or add a new contact onto the software. Also, user can view the report generated or can view

the groups according to a common field.

Project provides a questionnaire and suggestions page for the betterment of the project.

1
1.2Project Objective

For easy and convenient processing we need to develop software which works as per our

requirements. While preparing this software we got to remember few things i.e. this software must

have a friendly environment, in other words it should not be much complicated to handle, it should

have options for future modifications in the society. For smooth functioning, we had to prepare a

database by which we could enter the required data in their respective locations. In this data base all

the records of daily transactions made are stored i.e. Contact Details , so that we can use them in

future whenever needed. From security point of view this software has a special login name and

password allotted to their Administrator. Other than that no one could use this and on entering an

illegal password or login name an error message get displayed.

The major specifications of project are:

 To allow only authorized user to access various function and processed available in

the system.

 Locate any Contact wanted by the user.

 Reduced written work and problem of storing the diaries as most of the work done by

computer.

 Provide greater speed & reduced time consumption

1.3Purpose and Scope


2
1.3.1. Purpose :

The overall purpose of this project is to develop a Visual Basic .net which will provide an interface

between controls applications written in the VB.net language and the MYSQL Server Management.

One aspect of this work will be to develop a language independent object-oriented model to the

accelerator devices.

Contact Book will have the following key goals:

 Provide an easy interface for user.


 Easy to store records
 No need to remember while storing that on what page we are storing as software will

automatically search the name you enter


 Updation can be done.
 Deletion can also be done when you do not need a contact.
 You can search a contact through his/her name , part of name, or through id.
 You can view group of people according to various options like group of people of same

address or group of people of same company etc.


 Reports can be viewed to show an abstract form of contact book containing all the contacts

together at one place


 Reports can be converted as a pdf file to store as a shortcut, no need to run the software again

and again
 User can automatically connect themselves to social media site
 User can give all suggestions they need and can save their files.

1.3.2. Scope:

The main scope and deliverables of the project would be to:

 Understand and prepare detailed user requirement and specifications


 Prepare high level and detailed design specifications of the system
 Prepare Test Plan & Test cases
 Develop the system and coding
 Perform unit testing, integration testing and system testing
 Demonstrate a bug free application after suitable modification, if needed

3
1.3.3. Applicability:

The application is to be deployed as a application based program which would be accessible to the

issued people only. Searching of contacts can be done and nothing can be done without entering in

the software as it is password protected. Reports are generated electronically and could be converted

into pdf files for later use and can be kept as a record on client side.

1.4Achievements

By successfully implementing Contact Book , a substantial knowledge has been acquired on the

implementation of an application based database system. This knowledge will be useful in the future

in creating any type of application or database systems

The objective of Contact Book was the creation of an application based system for the use on a large

scale as well as on a small scale and even for a personal use on the home basis. This system can be

easily modified to serve the needs of various people and make their life easier.

1.5 Organization of Report


This report is organized in seven chapters, as indicated in the Table of Contents. These chapters

deal withthe important aspects of the Systems Development Life Cycle. Each of the chapters

are divided into headings and sub-headings. Chapter 1 introduces the project, its background and

purpose. The technologies used in the project and the reason thereof are explained in Chapter 2.

Chapter 3 broadly deals with the requirements, analysis and planning of the project. All the

design aspects have been dealt with in. Chapter 4 including schema design, interface design,

4
security and test cases. The actual implementation has been discussed in Chapter 5, which

includes coding and testing of the working of the system. Chapter 6 discusses the test report and

project documentation and finally the conclusions have been drawn in Chapter 7. At the end of

the report, the references made and the glossary has been included.
2. Survey of Technologies

In an application based system like Contact Book, there is a scope for a large number of platforms,

languages, web servers and frameworks to choose from. Before selecting from this large array of

technologies the following aspects have been kept in mind:

 Performance
 Reliability
 Portability
 Security
 Performance
 Fast speed
 Cost Constraint
 Time Constraint

The project Contact Book could have been built by various technologies like VB.net, C#, C++,

Java.

I chose VB.net as my front end to build this project because

 It is easy to understand
 It is easy to install
 It has a good GUI which makes it very easy to work with.
 MSDN library supports us and give us all the help needed while we come through any errors

or problems.
 I was convenient to work with it.

I didn’t chose others because

 They don’t have GUI which makes it difficult to understand


 No built libraries to solve the problems.
 It was inconvenient to work with them.

5
To develop this package different types of tools and database are used which are as follows:

 VB.NET 2008
 Framework 4.0
 Microsoft MYSQL Server 2008
 Microsoft Word

VB.NET 2008

Visual Basic .NET (VB.NET) is an object-oriented computer programming language that can be

viewed as an evolution of the classic Visual Basic (VB), implemented on the .NET Framework.

Microsoft currently supplies two main editions of IDEs for developing in Visual Basic: Microsoft

Visual Studio 2012, which is commercial software and Visual Basic Express Edition 2012, which

is free of charge. The command-line compiler, VBC.EXE, is installed as part of the freeware .NET

Framework SDK. Mono also includes a command-line VB.NET compiler.

Advantages of VB.NET

1. First of all, VB.NET provides managed code execution that runs under the Common

Language Runtime (CLR), resulting in robust, stable and secure applications. All features of

the .NET framework are readily available in VB.NET.

2. VB.NET is totally object oriented. This is a major addition that VB6 and other earlier releases

didn't have.

3. The .NET framework comes with ADO.NET, which follows the disconnected paradigm, i.e.

once the required records are fetched the connection no longer exists. It also retrieves the

records that are expected to be accessed in the immediate future. This enhances Scalability of

the application to a great extent.

4. VB.NET uses XML to transfer data between the various layers in the DNA Architecture i.e.

data are passed as simple text strings.

6
5. Error handling has changed in VB.NET. A new Try-Catch-Finally block has been introduced

to handle errors and exceptions as a unit.

6. Another great feature added to VB.NET is free threading against the VB single-threaded

apartment feature.

7. Security has become more robust in VB.NET. In addition to the role-based security in VB6,

VB.NET comes with a new security model, Code Access security.

8. The CLR takes care of garbage collection i.e. the CLR releases resources as soon as an object

is no more in use. This relieves the developer from thinking of ways to manage memory.

CLR does this for them

Framework 4.0

Dot net framework is a platform that is provided by Microsoft technology in which we can develop

web based application,window based application and console base application with C#(c sharp),VB

and J#(J sharp) and other 22 Language.

Microsoft SQL Server 2008

Microsoft SQL Server fulfills these responsibilities :

 Reduction and redundancy :

Centralized control of the dba avoids the unnecessary duplication of data and effectively

reduces the total amount of data storage required. It also eliminates the extra processing and

of the inconsistencies eg. Same format of grade card for all student.

 Sharing data :

Any number of application program of user’s can share the same database .For example we

can access the list of study centers.

 Data integrity :

Data integrity means that the data contains in the database both accurate and consistent.

7
 Data security :

In this facility the confidential data must not be accessed by unauthorized person.

 Rapidly Accessing Data :

SQL Server provides rapid access to data by utilizing indexes and storing frequently accessed

data in memory

 SQL Server Enterprise Manager :

The Enterprise Manager is the central console from which most SQL Server database-

management tasks can be coordinated. SQL Enterprise Manager provides a single interface

from which all servers in a company can be managed.

Microsoft Word

Microsoft Word is a word processor developed by Microsoft. It was first released in 1983 under the

name Multi-Tool Word for Xenix systems .Subsequent versions were later written for several other

platforms including IBM PCs running DOS (1983), the Apple Macintosh (1984), the AT&T Unix

PC (1985), Atari ST (1986), SCO UNIX, OS/2, and Microsoft Windows (1989). It is a component of

the Microsoft Office software system; it is also sold as a standalone product and included

in Microsoft Works Suite.

8
3. Requirement Analysis

The Contact Book requires computerizing its storage of contacts in order to provide fully service to

automate the following activities. The requirements from the proposed software are as follows:

 Contact Information Handling


 Adding a new contact
 Deleting a contact
 Updating a contact
 Searching a contact

3.1 Problem Definition

The problem here is that storing the contact information on paper is little bulky and is difficult to

manage and store these papers. They can be forgotten where they were placed or could be destroyed

by the small animals like rat etc. For a personal purpose it could be managed but for organizations

where there is a need to keep these information’s for later use it will create a problem if such thing

happens.

So, why don’t we keep it in our computer as a record? You may say that we could have used WORD

or NOTEPAD, yes we could have used but in that case it would be a little difficult to search a contact

or delete one or add a contact after scrolling thousands of pages of word but the software CONTACT

BOOK provides a total and an easy interface to add , search , delete a contact without going through

pages. All that work will be done by he software itself.

3.2 Requirements Specification

 User Requirements:-

9
A careful study of the requirement of the end user; i.e. the Contact Book should meet the

following requirements:
 User should be able to add image for his contact
 No User without the correct login and password may be allowed to enter the project
 User should be provided with an option to add the record just by adding the fields

value.
 User could be able to delete any record he/she wants.
 User should be able to search a record either by entering name or part of name or by

choosing groups.
 User should be able to update the record.
 User should be able to connect to facebook.
 User should be able to see the records in a file and in report also.
 Although the system is to be installed in a low end system with Windows based OS at

present, in future it should be portable to a higher end system with Linux OS


 The system should have a relatively lower memory and bandwidth requirement
 Logical Database Requirements:-

The database of the Contact Book consists of five tables. First table consists of the basic

information of the record. The next table consists of the address details, The third table

consists of the phone details. The next table consists of other details. The last table consists of

image of the contact.


Keeping in view these requirements, data dictionary of the Contact Book is convinced.
Data Dictionary

Name Description

Name,aname,pname,onam Name of the contact

e
Designation The designation of contact

Company The company where the contact

works
Aoffice Address of office of contact

Aresidence Present address of contact of his

living
Apermanent Permanent address of contact

10
Poffice Contact no. of office

Presidence Contact no. of residence

Pmobile Contact no. of mobile

Fax Fax number of contact

EmailId Email id of contact

Website Website address of contact

Functional Requirements:-

The Functional Requirements of the project are as follows:

 To provide the functionality to person to view details of contact.

 To provide login interface through which only authorized user can pass by.

 The application provide contact the option to add the photo from any file in its pc..

 This system should handle multiple contacts at the same time.

 To functionally enable Contacts define criteria and create Admin.

 The application also provides an option to view group belonging to a person.

Performance Requirements:

As Contact Book is an application based system, the application should be installed in

Windows. Usage of software should not cause consumption.


In order to assess the performance of a system the following must be clearly specified:

• Response Time

• Workload

11
• Scalability

• Platform

The response time should be less than 2-3 minutes.


The workload should not be so much which hangs the system.
The scalability required is often driven by the lifespan and the maturity of the system.
The platform on the system who runs is Windows.
Non Functional Requirements:-

The Non-Functional Requirements of the project are as follows:


 The system should be reliable and robust.
 The system should be User friendly.
 The system should be completely Consistent and Secure.

3.3 Planning and Scheduling

 Planning and Scheduling are two of the most critical elements for project success. Project

planning is much more than simply following well-established procedures.Proper planning

determines the direction, goals, scope, quality and ultimately the outcomes for any given

project.

 The purpose of Project Planning is to establish an acceptable plan to execute a project in an

effective manner through the review of project scope and objectives.

The purpose of Project Scheduling is to:

1. Define activities, durations, and relationship logic to implement the project plan Monitor,

update, and communicate the schedule to reflect current status and the impact of project

changes.

 The Planning and Scheduling professional provides the project management team with the

expertise to deliver the project in the most effective manner.

 SNC's highly pprofessionals are using Primavera Project Management( P6) as main software

for scheduling and besidesMicrosoft Office especially Excel for cost analysis and reporting.

12
GANTT Chart :

A Gantt chart is a type of bar chart, developed by Henry Gantt in the 1910s, that illustrates

a project schedule. Gantt charts illustrate the start and finish dates of the terminal elements

and summary elements of a project. Terminal elements and summary elements comprise

the work breakdown structure of the project.

PERT Chart:

The Program (or Project) Evaluation and Review Technique, commonly

abbreviated PERT, is a statistical tool, used in project management, that is designed to

analyze and represent the tasks involved in completing a given project

13
3.4 Software and Hardware Requirements

Software Requirements

For development, software’s used are:


Operating System : Windows 7 professional , service pack-1
Platform : .Net
Technology : Visual Studio
Language : VB.net
Backend : SQL server 2008

14
Editor : Microsoft word 2007
For Development : visual studio .Net setup tools
For Design : Visual studio designer

For deployment, software’s used are :

Operating system : Windows 7 professional, service pack-1


Framework : .Net 2008
IIS : Configured
Backend : sql server 2008
Hardware Requirements
For Development, Hardware’s used are:

1. Intel Core
2. 40GB hard disk
3. 4 GB RAM

For Deployment, Hardware’s used are :


Minimum
1. Intel Core
2. 10 GB hard disk
3. 256MB RAM
Recommended
1. Intel Core
2. 20 GB hard disk
3. 1 GB RAM

3.5 Preliminary Product Description

The system will store the contact information to the software. The system can add various

contacts for various persons. One person can be a part of one or more groups.All one needs to

do is to change the database accordingly. Project deals with storing all the information of a

person , delete a person information , update a person information. The modules with its

functions described below as:

 The application has Login module we need the user name and password facility and only

authorized person is allowed to enter into login page.


 The application has Project Module that shows the overview of project and provides an

interface to go to all the operations that can be performed on the software.


 The application has add module to add a new contact to the database.
 The application has delete module to delete a contact from the database.
 The application has search module to search a contact from the database.
 The application has update module to update an existing contact in the database.

15
 The application has view module to view all the tables of the database.
 The application has query module to perform different queries on the database.
 The application has report module to generate a report on the tables currently we have.
 The application has group module to show if person belongs to more than one group.
3.6 Conceptual Models

3.6.1 Screen Views:

The view of the screen with all the possible operations is shown diagrammatically below:

Add Form
Delete Form
Search Form
Update Form
LOGIN WELCOME Connect to facebook form
SCREEN Group Form
Report Form
Table Form
3.6.2 Entity Relationship Diagram: Questionnaire Form
Pdf Form
An ER model is an abstract way of describing a database. In Suggestions
the case of aForm
relational database,

which stores data in tables, some of the data in these tables point to data in other tables - for

instance, your entry in the database could point to several entries for each of the phone

numbers that are yours. The ER model would say that you are an entity, and each phone

number is an entity, and the relationship between you and the phone numbers is 'has a phone

number'. Diagrams created to design these entities and relationships are called entity–

relationship diagrams or ER diagrams.

16
3.6.3 Data Flow Diagrams:

The table structure for the various tables to be used in the proposed software is described in

Data Structure part of this proposal.


The data flow in the software is depicted in next page through Data Flow Diagram (DFD).

Zero Level DFD:


It is the first level of DFD. This shows a overview of the project in a short form. If we want

to show a detailed functions of project we can make level 1 , level 2 dfd and so on…….

according to the need of project.

USER

Request for Operation

COMPLETE Provide service


CONTACT
BOOK
Request Result

CONTACT BOOK
DATABASE

ATTEND Access

ALL TABLES OF
DATABASE

17
Level 1 DFD

This level of DFD shows a little detailed pictorial description of the project.

Level 2 DFD

This is the last phase of dfd according to the need of this project. The level 2 DFD is as follows:

18
MODULE DESIGN BY DFD

19
DFD for each individual module is shown below

1. LOGIN MODULE

ENTER LOGIN ID AND REQUEST VALIDATE DATABASE


PASSWORD
LOGIN MODULE

VALUES

PROCESS
ENTER
TRUEPROJECT PAGE
RESULT

FALSE

ASK USER TO ENTER AGAIN


IF USER HAS TRIED THREE TIMES THEN
EXIT THE PROJECT

2. ADD MODULE

20
ENTER ADDING
VALUES OF FIELDS
MODULE

VALIDATION CHECK
WRITE CONTACT
DETAILS TO
CHECK ALL PROCESS DATABASE
CHECK IS SET
FIELDS HAVE OF CHECK MOBILE NUMBER
VALUES VALIDITY IS VALID THAT IS OF 10
DIGITS
ASK USER TO ENTER
VALID NUMBER
GIVE A
ASK USER TO WARNING
ENTER ONLY
NUMBER
CHECK FAX NUMBER, MOBILE
PHONE,RESIDENCE PHONE
AND OFFICE PHONE CONSISTS
ONLY OF DIGITS

3. DELETE MODULE

21
NAME OF CONTACT
ENTER
DELETE
MODULE

SEARCH

DATABASE DISPLAY AN ERROR


NOT FOUND MESSAGE AND ASK TO
TRY AGAIN

FOUND
CONFIRM TO DELETE CONFIRM YES
ASK PROCESS DELETE CONTACT

NO
GO BACK

4. SEARCH MODULE

22
By entering name or VALUE
part of name

CHECK ID DON’T REMEMBER ID VALUE SEARCH


PROCESS MODULE

SEND VALUE
FETCH
VIEW THE CONTACT DETAILS
SEARCH IN DATABASE
DATABASE FOUND

VALUES
NOT FOUND

DISPLAY AN APPROPRIATE
MESSAGE

5. UPDATE MODULE

ID ENTER
VALIDATION
UPDATE CHECK
MODULE

FIRSTLY SEARCH

RUN SEARCH CHECK


MODULE FOUND ENTER VALUES
TO BE UPDATED RESULTS

NOT
FOUND

DISPLAY AN APPROPRIATE
6. QUERY MODULE UPDATE THE VALUES
MESSAGE

23
QUERY CHOSEN VALUE
QUERY
MODULE

RESULT

QUERY
PROCESSOR
RESULT
RUN ON DATA GRID

REQUEST FETCH

DATABASE

7. GROUP MODULE

24
CHOOSE SEND VALUE GROUP
NAME MODULE

RESULT

QUERY
RESULT
PROCESING
SHOW CONTACT
WITH GROUP

FETCH

DATABASE

4. SYSTEM DESIGN

25
4.1 Basic Modules

Contact Book comprises of the following modules:

Name of the Module Login Module


Handled by
Description The user logins here into the system

Name of the Module Add Module


Handled by
Description The user adds the record in the database

Name of the Module Delete Module


Handled by
Description The user deletes a record from database

Name of the Module Search Module


Handled by
Description The user searches the record from database

Name of the Module Update Module


Handled by
Description The user updates the record in the database

Name of the Module Groups Module


Handled by
Description Various groups according to choosen option are

viewed

4.2 Data Design

 Schema Design:-

26
Personal Table Address Table

Name Name
Designation Residence Address
Company Permanent Address
Office Address

Phone Table

Name
Photo Table
Home Phone
Others Table
Office Phone
Id
Mobile Phone
Image Name
Fax
Email id
Website

 Data Integrity and Constraints:-

Data Integrity and constraint have been implemented on database level. checks and

constraints have been implemented within the MySQL database in the following

manner to ensure that data integrity is not violated.

Table 1 Basic Details

CONSTRAINT
FIELD_NAME DATA_TYPE DESCRIPTION
S
Id Int It show contact id Primary key
Contact_name Varchar It show Contact Name Candidate Key
Designation Varchar It show Contact’s Designation
Company_Nam Varchar It shows name of company person is working

e in.

Table 2 Contact Details

FIELD_NAME DATA_TYPE DESCRIPTION CONSTRAINTS


Id Int It show Contact id Primary Key

27
Contact_name Varchar It show Contact Name Foreign Key relates to other

tables
Mobile Number Varchar It show Mobile Number Length of 10 digits
Residence Varchar It show Residence phone

Number number
Office Number Varchar It shows office phone number

Table 3 Address Details

CONSTRAINT
FIELD_NAME DATA_TYPE DESCRIPTION
S
Id Int It show Contact id Primary key
Contact_name Varchar It show Contact Name Foreign key
Permanent Address Varchar It show Permanent

address
Residence Address Varchar It show Residence address
Office Address Varchar It shows office address

Table 4 Other Details

CONSTRAINT
FIELD_NAME DATA_TYPE DESCRIPTION
S
Id Int It show Contact id Primary key
Contact_name Varchar It show Contact Name Foreign Key
Email ID Varchar It show Email id of the

person
Website Address Varchar It show website address
Fax Number Varchar It shows fax number

Table 5 Photo

28
FIELD_NAM CONSTRAIN
DATA_TYPE DESCRIPTION
E T
Id Int It show Contact id Primary Key
PHOTO Picture It stores picture Image

address

4.3 Procedural Design:-

Logic Diagrams: A flowchart is a type of diagram that represents an algorithm or process, showing

the steps as boxes of various kinds, and their order by connecting them with arrows

Start

Admin login

Main page

Add page Choose Search Page Search from


operation database

Delete page Update


page
Add to
database
Update in
Deletes from database
database
29
4.4 User Interface Design

The Contact Book gives a user an option to have its personal contact diary stored on a system. A

system always works more fast than a person can. User is given an interface to add a new record in

case he wants to add a record , a option to delete a record , search a record with various options,

update a record, view the contacts according to the groups. Also there are other options of connecting

to facebook also.It also gives option to view report. User can also perform a questionnaire. User can

also give their suggestions for improvement.

30
External Interface Requirements:

 Interface Requirements and Input/output Formats :

Name of Item User Login Screen


Description of purpose Users of Contact Book use it to login into the system
Source of input or Destination of User typed user name and password
output
Valid range, accuracy and/or User name should be within 6 characters and password also of
tolerance 6 characters
Units of measure Number of characters
Timing User acceses the entrance page of Contact Book
Relationship to other inputs On successful login user is taken to the page of Contact Book
/outputs
Screen formats/Organization Centre bottom area of page of Contact Book
Data Formats A-Z, a-z
End Messages On successful login-welcome page is displayed
On failure- three attempts are given if each of it fails project
terminates itself with a sorry message

Name of Item Welcome Screen


Description of purpose Users of Contact Book are welcomed to the
software
Source of input or Destination of No input just a Button to go to main page
output
Valid range, accuracy and/or tolerance None
Units of measure None
Timing User acceses the main page of the project
Relationship to other inputs /outputs None
Screen formats/Organization Centre bottom area of page of Contact Book

31
Data Formats None
End Messages On button click user comes to main page of project

Name of Item Main Screen


Description of purpose Users of Contact Book use it to enter into
operations a user want to perform
Source of input or Destination of output User clicks the button of the operation , user
wants to perform
Valid range, accuracy and/or tolerance None
Units of measure None
Timing User acceses that operation page of Contact
Book the user chooses
Relationship to other inputs /outputs On button click user will view the page of the
operation you choose
Screen formats/Organization Centre bottom area of page of Contact Book
Data Formats None
End Messages On button click user will view the page of the
operation you choose

Name of Item Select for Add page


Description of purpose Users of Contact Book use it to enter the
record fields
Source of input or Destination of output User types the records fields
Valid range, accuracy and/or tolerance Each field has different specifications. Some
only takes alphabets and some only take
numbers. Like mobile number will be of 10
digits only , fax number of 4 digits and some
fields contain special characters also.User is
also asked to upload image also.
Units of measure Characters, numbers, picture
Timing User is able to add record to database
Relationship to other inputs /outputs On successful addition user is asked to either
add again or go back to the main page to
perform any other option User is also given an
option to add the contact as a .vcf file
Screen formats/Organization Frame format of page in order to enter the
values of the fields
Data Formats A-Z, a-z, 0-9, special characters like @
End Messages On successful addition it to database, a
message of successful addition is displayed,
but on the failure of addition a sorry message
is displayed.

32
Name of Item Select for Delete page
Description of purpose Users of Contact Book use it to delete one or
more records.
Source of input or Destination of output User types the name of the record user want to
delete.
Valid range, accuracy and/or tolerance Only characters are allowed as name is asked to
input
Units of measure Characters
Timing User is able to delete a record from database
Relationship to other inputs /outputs On successful deletion user is asked to either
delete again or go back to the main page to
perform any other option.
Screen formats/Organization Frame format of page in order to enter name of
the record.
Data Formats A-Z, a-z
End Messages On successful deletion from database, a message
of successful deletion is displayed, but on the
failure of deletion i.e. in case name is not found
in the records a sorry message is displayed.

Name of Item Select for Search page


Description of purpose Users of Contact Book use it to search one or
more records.
Source of input or Destination of output User types the id of the record or the name or
part of the name , user wants to search.
Valid range, accuracy and/or tolerance Characters are allowed as name is asked to input
and only number is allowed when id is asked.
Units of measure Characters, numbers
Timing User is able to search a record from database
Relationship to other inputs /outputs On successful searching user is given an option
to either search again or can connect to facebook
or go back to the main page to perform any other
option.
Screen formats/Organization Frame format of page in order to enter id of the
record or name or part of name of the record
Data Formats A-Z, a-z, 0-9
End Messages On successful searching from database, the
record details are shown on the screen in the
tabular form, but on the failure of searching i.e.
in case name is not found in the records a sorry
message is displayed.

33
Name of Item Select for Update page
Description of purpose Users of Contact Book use it to update one or
more records.
Source of input or Destination of output User types the id of the record he wants to
update.
Valid range, accuracy and/or tolerance Only number is allowed as id is asked.
Units of measure Numbers
Timing User is able to update a record from database
Relationship to other inputs /outputs On successful updation user is given an option
to either go back to the main page to perform
any other option or to search again if the
corresponding record is not the one he wanted
or if he wants to update again.
Screen formats/Organization Frame format of page in order to enter id of
the record
Data Formats 0-9
End Messages On successful searching from database, the
record are asked to update and if its not the
record the user wanted to search then an option
is given to search again by rechecking the list
of ids , but on the failure of searching i.e. in
case id is not found in the records a sorry
message is displayed and user is asked to
check the list of ids.
Name of Item Select for Group page
Description of purpose Users of Contact Book use it to view groups of
people based on various options given.
Source of input or Destination of output User chooses which type of group he wants to
view.
Valid range, accuracy and/or tolerance None
Units of measure None
Timing User is able to view the groups
Relationship to other inputs /outputs None
Screen formats/Organization Button format of page in order to choose from
the options
Data Formats None
End Messages On successful completion user is able to view
the groups.

34
Name of Item Select for Group of people page
Description of purpose Users of Contact Book use it to view groups of
people by choosing name.
Source of input or Destination of output User chooses name of person from the list whose
group he wants to view.
Valid range, accuracy and/or tolerance None
Units of measure None
Timing User is able to view the group by name
Relationship to other inputs /outputs None
Screen formats/Organization Combo box format of page in order to choose
from the options of name.
Data Formats None
End Messages On successful completion user is able to view the
groups by name.

Name of Item Select for Group of address page


Description of purpose Users of Contact Book use it to view groups of
address by choosing different addreses either of
residence or office or permanent.
Source of input or Destination of output User chooses type of addresses from the list
whose group he wants to view.
Valid range, accuracy and/or tolerance None
Units of measure None
Timing User is able to view the group by address
Relationship to other inputs /outputs None
Screen formats/Organization Combo box format of page in order to choose
from the options of address.
Data Formats None
End Messages On successful completion user is able to view the
groups by address.

Name of Item Select for Group of designation page


Description of purpose Users of Contact Book use it to view groups of
designation by choosing different designations.
Source of input or Destination of output User chooses designation from the list whose
group he wants to view.
Valid range, accuracy and/or tolerance None
Units of measure None

35
Timing User is able to view the group by designation.
Relationship to other inputs /outputs None
Screen formats/Organization Combo box format of page in order to choose
from the options of designation.
Data Formats None
End Messages On successful completion user is able to view the
groups by designation.

Name of Item Select for Group of company page


Description of purpose Users of Contact Book use it to view groups of
company by choosing list of companies.
Source of input or Destination of output User chooses company from the list whose group
he wants to view.
Valid range, accuracy and/or tolerance None
Units of measure None
Timing User is able to view the group by company.
Relationship to other inputs /outputs None
Screen formats/Organization Combo box format of page in order to choose
from the options of company.
Data Formats None
End Messages On successful completion user is able to view the
groups by company.

Name of Item Select for view tables page


Description of purpose Users of Contact Book use it to view all the
records in form of table.
Source of input or Destination of output None

36
Valid range, accuracy and/or tolerance None
Units of measure None
Timing User is able to view all the records
Relationship to other inputs /outputs None
Screen formats/Organization Tabular format of page to view the records
Data Formats None
End Messages On button click all the records are viewed in
tabular form.

Name of Item Select for report page


Description of purpose Users of Contact Book use it to view all the
records in form of report.
Source of input or Destination of output None
Valid range, accuracy and/or tolerance None
Units of measure None
Timing User is able to view all the records, also option
of exporting report to pdf file is given
Relationship to other inputs /outputs None
Screen formats/Organization Report format of page to view the records
Data Formats None
End Messages On button click all the records are viewed in
report form.

Name of Item Select for questionnaire page


Description of purpose Users of Contact Book use it to perform survey
on the project.
Source of input or Destination of output User chooses between yes or no for each
question
Valid range, accuracy and/or tolerance Yes or no on a button click
Units of measure None
Timing User is able to perform survey

37
Relationship to other inputs /outputs None
Screen formats/Organization Question format of page
Data Formats None
End Messages On button click a calculated percent is shown
telling how much user is satisfied with the
project.

Name of Item Select for Give Suggestions page


Description of purpose Users of Contact Book use it to give their
suggestions
Source of input or Destination of output User writes his views and can save it in a text file
on the computer
Valid range, accuracy and/or tolerance Everything is valid as it is written itself by user
Units of measure None
Timing User is able to give suggestions
Relationship to other inputs /outputs None
Screen formats/Organization Frame format of page
Data Formats A-Z, a-z, 0-9 special characters
End Messages On button click a saving window is shown to
save the views and then automatically a Thank
You page is shown to show the gratitude and
automatically the project is exit.

Name of Item Select for view pdf page


Description of purpose Users of Contact Book use it to view the pdf file
which contains all the records.
Source of input or Destination of output None
Valid range, accuracy and/or tolerance None
Units of measure None
Timing User is able to view the records without running
the software
Relationship to other inputs /outputs None
Screen formats/Organization Report format of page
Data Formats None
End Messages On button click a pdf file is viewed which
contains all the records. It is useful as a person
does not have to run the project each time in
order to view the records.

Name of Item Select for connect to facebook page


Description of purpose Users of Contact Book useit to connect to the
facebook
Source of input or Destination of output Characters of 12 size in password and id which is

38
automatically written
Valid range, accuracy and/or tolerance 12 size of characters for password
Units of measure Characters
Timing User is able to use his/her facebook profile
Relationship to other inputs /outputs Displays error and asks to input again if wrong
password is entered
Screen formats/Organization Web format of page
Data Formats A-Z, a-z, 0-9, special characters
End Messages On successful login the facebook profile is
viewed. On failure user is asked to again enter
the values.

4.5 Security Issues:

The security provided by a password system depends on the passwords being kept secret at all times.

Thus, a password is vulnerable to compromise whenever it is used, stored, or even known. In a

password-based authentication mechanism implemented on a system, passwords are vulnerable to

compromise due to five essential aspects of the password system:

 A password must be initially assigned to a user when enrolled on the system.

 A user's password must be changed periodically.

39
 The system must maintain a "password database."

 Users must remember their passwords.

 Users must enter their passwords into the system at authentication time.

 Employees may not disclose their passwords to anyone. This includes administrators and IT

managers.

Password policies can be set depending on the needs of the organization. For example, it is possible

to specify minimum password length, no blank passwords, and maximum and minimum password

age. It is also possible to prevent users from reusing passwords and ensure that users use specific

characters in their passwords making passwords more difficult to crack.

4.6 Test Cases Design:-

“A test case has components that describes an input, action or event and an expected response, to

determine if a feature of an application is working correctly.” There are levels in which each test case

will fall in order to avoid duplication efforts

Id Steps Expected Results Actual Results


T00 Login: Enter the correct user id and password and Welcome screen Same
1 click the login button should be
displayed
T00 Main: Buttons consisting different operations should They are viewed same

2 been viewed
T00 Add: Fields to enter the record values should be They are Same

3 displayed and the record should be successfully successfully added

added to the database


T00 Delete: Name should be asked and a confirmation The above said After pressing

4 before deletion should be done if yes is said then it should be done no, the record

40
should be deleted and if o the deletion should be got deleted

cancelled
T00 Search: Searching by given options will be done Searching is done Same

5 with various

options
T00 Update: Updation should be done without any Updation should Same

7 changes done to any other record be done


T00 Groups: Groups should be viewed according to The same is done Same

8 choice
T00 Questionaire: A survey should be performed and a Percentage is Same

9 calculated percent should be shown about the shown

satisfaction of the user


T01 Report: Report should be viewed containing all Report is viewed Same

0 records
T011 Tables: All tables should be viewed with values Tables are shown Same
5. Implementation and Testing

5.1 Implementation Approaches:

The Software Design Description Document has been used as input in the implementation process.

The actual implementation of the system has been done using VB.net, which is a GUI based

application language. VB.net has been used to interact with the backend database. In this

implementation, MySQL has been used as the backend RDBMS. VB.net processes the inputs or

commands given by the user and translates them in the commands understandable to the backend

database. The output produced by the backend database are also handled by VB.net, which then

generates code in real-time and formats the output produced by MySQL format, which can be

displayed by the software. Since VB.net and MySQL are both available in varied platforms like

Windows, Unix, Macintosh and Linux, Contact Book can be implemented in a truly platform

41
independent manner. Since both these technologies are open source and free and have a large user

community, the development cost of Contact Book using VB.net/MySQL is very low.

5.2 Coding Details and Code Efficiency:

5.2.1 Coding Details:-

As we are using VB.Net so all the designing of forms via buttons, labels, textboxes etc. is done here

only by mouse. Now the rest comes to coding. Coding of the form will be shown here one by one.

42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
5.2.2 Code Efficiency

Efficiency is the amount of computing resources and code required by a program to perform its

functions. Efficient codes are required for the better performance of the system. Efficient coding makes

a system robust. A method is robust if it does not fail even if it receives improper parameters.

Robustness against internal bugs may be trade off against efficiency.

The need for efficiency arises due to the cost of consideration. If some resources are scarce and

expensive, it is desirable that those resources should be used efficiently. In the computer system the

resources the most often considered for efficiency are processor time and less memory. This coding for

the system has been started after completing the design phase, because all software methodologies

emphasize the importance of first designing then coding. The codes that construct this system are

68
structured, modular, efficient, and require less amount of computing resources. All functions of this

system are understandable since the functions are small and coherent. Functions and variables are

meaningful variable names to increase the readability and avoided abbreviations that may confuse the

users.

In order to execute the database queries faster used the following methods. During the retrieval of data

from the database using SELECT statement all the known conditions are specified in the WHERE

clause.

If we want to find the maximum, minimum, sum and average value or the count of a database column,

use a Select list with aggregate functions instead of computing the aggregates within the program. The

RDBMS is responsible for aggregated computations instead of transferring large amount of data to the

application. Overall network, application server and database load is also considerably less. Simplicity

and clarity are the main properties of the coding.

Some points are kept in mind while making the project:

 The code repeating again was made as a module which is common for all
 Proper indentation is given to understand the code
 The forms are designed in a way that all the data and buttons are properly viewed and

spaced. User can easily see and understand.


 Any person can use it easily as it is user friendly

Code Optimization

1. Modulo and division operation take a lot of time and they should be replaced by something

else.

2. Try to analyze the problem and obtain an alternate representation of the problem.

3. Try to eliminate the IF statements from your code in the case that their only purpose is to set

some values based on a condition.

69
5.3 Testing Approach:

Software testing is an investigation conducted to provide stakeholders with information about the

quality of the product or service under test. [1] Software testing can also provide an objective,

independent view of the software to allow the business to appreciate and understand the risks of

software implementation

Unit testing is a method by which individual units of source code, sets of one or more computer

program modules together with associated control data, usage procedures, and operating procedures

are tested to determine if they are fit for use.

Integration Testing is the phase in software testing in which individual software modules are

combined and tested as a group

Id Steps Expected Results ActualResults


T00 Login: Enter the correct user id and password and Welcome screen Same
1 click the login button should be displayed
T00 Main: Buttons consisting different operations should They are viewed Same
2 been viewed
T00 Add: Fields to enter the record values should be They are successfully Same
3 displayed and the record should be successfully added
added to the database
T00 Delete: Name should be asked and a confirmation The above said After
4 before deletion should be done if yes is said then it should be done pressing no,
should be deleted and if o the deletion should be the record got
cancelled deleted
T00 Search: Searching by given options will be done Searching is done Same
5 with various options
T00 Update: Updation should be done without any Updation should be Same
7 changes done to any other record done
T00 Groups: Groups should be viewed according to The same is done Same
8 choice
T00 Questionnaire: A survey should be performed and a Percentage is shown Same
9 calculated percent should be shown about the
70
satisfaction of the user
T01 Report: Report should be viewed containing all Report is viewed Same
0 records
T011 Tables: All tables should be viewed with values Tables are shown Same

5.4 Modifications and Improvements:

One test was failed in all the tests performed.

Test Case ID: - T004

Problem: On clicking No while confirmation no deletion should have been performed but

unfortunately it was done

Investigation: The code is as follows for this test problem:

If MessageBox.Show("Do you really want to Delete this Record?",


"Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) =
DialogResult.No Then
MessageBox.Show("Operation Cancelled", "Cancel")
Exit Sub
End If
If MessageBox.Show("Do you really want to Delete this Record?",
"Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) =
DialogResult.Yes Then
MessageBox.Show("Record Deleted.You can go back to
the main page", "Delete Succesful")
TextBox1.Text = ""
TextBox1.Focus()

End If
Else
MessageBox.Show("The Contact you are searching is not in the
database.Please re-check the name and try. You can go back to main page
by hitting the button", "Attempt to delete")
TextBox1.Text = ""
End If
cn.Close()

71
Findings and rectification:

It was found that the position of cancelling the confirmation was wrong that is why this test was
failed.
Now the message box position is changed and the project has been run and cross checked once again
thus, the problem has been rectified.

6. Results and Discussion

6.1 Test Reports:-

Test case id Date Pass/Fai Comments

l
T001 20/10/201 PASS Tested with three different ids and passwords

3
T002 23/10/201 PASS Only one test required

3
T003 26/10/201 PASS Only one test required

3
T004 2/11/2013 PASS Failed for the first time and was then

rectified
T005 8/11/2013 PASS Tested 6 times with each of the options given
T007 15/11/2013 PASS Tested 2 times with all the options given
T008 15/11/2013 PASS Only one test required
T009 17/11/2013 PASS Only one test required
T010 19/11/2013 PASS Only one test required
T011 22/11/2013 PASS Only one test required

72
6.2 User Documentation:

Introduction:

The system will store the contact information to the software. The system can add various contacts

for various persons. One person can be a part of one or more groups. All one needs to do is to change

the database accordingly. Project deals with storing all the information of a person, delete person

information, update person information. The modules with its functions described below as:

 The application has Login module we need the user name and password facility and only

authorized person is allowed to enter into login page.


 The application has Project Module that shows the overview of project and provides an

interface to go to all the operations that can be performed on the software.


 The application has add module to add a new contact to the database.
 The application has delete module to delete a contact from the database.
 The application has search module to search a contact from the database.
 The application has update module to update an existing contact in the database.
 The application has view module to view all the tables of the database.
 The application has query module to perform different queries on the database.
 The application has report module to generate a report on the tables currently we have.
 The application has group module to show if person belongs to more than one group.

Information for the use of the documentation:

This user documentation is intended for the users of the Contact Book where the handling of

important operations of the Contact Book system, like addition, deletion, searching, updation, and

grouping have been explained. This user documentation follows the guidelines and specifications of

IEEE 1063-2001 relating to Software User Documentation. The following pages describe the concept

of operations, procedures, information on software commands and error messages and problem

resolution in respect of Contact Book.

73
Procedures

The forms of the project are as follows:-

The following is the login interface for administrators. Here the user has to enter the user id and

password in order to login. If the user enters the wrong values user is given another chance to enter

the values… but only for three times and after that project exits itself. The login screen is as shown

below:

After successful login the user is taken to the welcome screen. Here you can only see two buttons

one for entering into the project and other to exit from the project. If the button is pressed it will lead

to the main operational page of the project. The welcome screen is as follows:

74
After this main page comes to display in which user chooses an option to perform. Here we can see

many buttons each giving an option of operation from which user will choose any one to perform.

The main page looks like:

75
Firstly, assuming the user chooses the first option i.e. to add a contact. Here, we can see many text

boxes asking us to enter the values of the record we want to enter. Also there is an option to upload a

photo for the contact. By clicking on the Add to database button the record will be automatically

added to the database despite some of the fields are compulsory to enter and other constraints are

applied as fax contact numbers should only contain numbers and mobile number should be of 10

digits not less not more. There is also other option of adding contact as a .vcf file which will store the

contact information as a .vcf file also. The page is as follows:

After pressing the add to database button the following record will be added to database.

Also a person can add the entered values as a vcf file. So the values will be stored as a vcf file.

76
Now assuming if the user would choose to delete a record. Here we can see user is asked to enter a

name whose record is to be deleted. When after entering name we press the delete button, firstly

software searches the database that if the name is available or not. If it is available then a

confirmation message is shown, if user presses yes then the record is deleted otherwise operation is

cancelled. And if the name is not found then a sorry message is displayed with a request to enter the

name again.

Assuming if user chose to search a record. Then here we have three options through which searching

can be done.

1. By entering id
2. By entering name or part of name
3. By choosing from group of people

77
Now let us start firstly by Search by ID option. Here we see that user has to enter the id of the record.

In case, one don’t remember the id he can view it by the button given of view ids to see which ids are

present. When a user presses the search button system searches in the database for the record if it is

found then the details are viewed otherwise a message of record not found is displayed.

78
As soon as the user searches we get:

79
Also you can see an option of connect to facebook.As soon as we press the button the specific

contacts email id is copied to user name text box and he is asked to enter password which is bounded

with maximum 12 characters only he enters the password and presses the login button if it is a valid

login then the profile is viewed otherwise the user is asked to again enter the values.

80
Now going back to searching lets search by name or part of name. Here again we see two options i.e.

either by entering the name or part of name or by directly choosing the name from the list.

In the former part we are asked to enter the name or part of name and when search button is pressed

the record is searched in the database. If the record is found then it is viewed in the tabular form

otherwise a message of “Not Found “is displayed by the system.

81
In the latter part, the names are shown in the form of list in a combo box which ever name is choosed

by the user the corresponding record is shown in tabular form. There is no chance of not founding

the record as user will choose from the list.

82
Now searching by the groups will first show us the available groups of name in table and as soon as

the user clicks on any row the records full information will be displayed on the screen.

83
Considering the user wants to update the record then user is asked to enter id of the record one wants

to update If a person do not remember the id he can view the list of ids from the button given. If user

after entering the id clicks directly on the update button he will be given a warning message to first

search the record then update, then searching is performed. If record is found then the user is first

told that record is found and its corresponding name is shown to user to confirm if this is the record

he wanted to update If he clicks yes then the textboxes are shown in order to update the record, but if

he clicks no then he is asked to again check the ids and then input them. After making the changes

when the update button is pressed then the following changes are performed on the database.

84
Now considering if user wanted to view the groups will also give us four options

1. Group of people
2. Group of address
3. Group of designation
4. Group of company

When group of people is choosed , then option of choosing names from the list of names is given.

When the user chooses name the number of times that name is present in database is first viewed and

it is asked by the user if we should display the values .If user says yes then the record details is

shown in tabular form and if no is clicked then a message showing “thank you for working with us

“is shown and user comes back to groups page.

85
If user chooses group of address. Here we have address of three types a. Permanent b. Office c.

Present Address. Here we will see two combo boxes one of address other of city. As soon as the user

chooses one of the addresses at that time the next combo box of cities is updated by the cities

belonging to the choosed address. Then the user have to choose city also and then he clicks on the

button to view the group then the names of those people living at the address chosen are displayed.

86
If the group of designation is choosed then a list of available designations is displayed and when the

user chooses any one of the designation then the names of those records with the choosed

designation and the company name is displayed.

87
If the user chooses the option of group of company then list of companies is displayed. When the

user chooses any one then the name of the records working with the company are displayed.

If the user chose to view table’s page here we have a button of show tables by clicking the same the

tables are shown with all the existing records of the system.

88
If user wants to perform questionnaire there are option box of yes/no under each question User can

give a yes or a no or can leave it. The number of answers will be counted and viewed to the user then

the percent is calculated and shown telling them this much percent you are satisfied from the project.

89
If user wants to view the report there is a button to view report. After clicking it we will be able to

view the report of records containing all of them. Here is one more option of exporting it to pdf file

which means by clicking it the report will also be made as a pdf file for a backup.

90
If user wants to give suggestions he can do so by putting text in textbox and then save them to a txt

file.

91
After writing your views an automatic Thank you page comes to show the gratitude to everyone and

then the project will be automatically exited.

92
7. Conclusion

7.1 Conclusion

The Contact Book project has been successfully completed by the developer well within the

scheduled time and all the functional requirements of the project that were set in the SRS have been

fully achieved. The external interface requirements and Input/output formats have also been

implemented as per the requirement specifications. The security aspects of the system have been a

particular concern and it has been implemented in a unique manner. The logical design was carried

out in a very thorough manner and a modular approach was adopted, with each developer given the

responsibility of one module. Special attention was given to the implementation of database

constraints and towards maintaining the integrity of the database, so that even if the coding fails at

some place, the data integrity will not be violated. At the end of it, all the modules were integrated

without any problem and the system was observed functioning as a whole in the predicted manner.

Extensive testing of the system, as well as that of the all the modules have been done using various

test cases and it was revealed that the system is operating well within the prescribed parameters and

the expected outcome of the test cases were observed in most cases. A few coding errors were

detected following the extensive testing, which were minor in nature and the same have been

rectified promptly.

The system is now fully functional and ready to be deployed on-site.

93
7.2 Limitations of the System

Following limitations came in view while testing the system:

 Contact Book has been primarily targeted for a medium to large-sized organization and has

been tested, keeping in view the specific requirements. It is possible that the system may not

function as well or within the prescribed parameters if deployed in a different environment


 No provision to add the image in contact when added as a .vcf file to the system is provided.
 No in-built backup facility has been incorporated within the system itself. If backup is

required to be made, use of third party tools are recommended


 While Searching if the record is found more than once the record detail of any one is only

viewed I case of search by id.


 Security policy is dependent on password protection only. However, if there is need to deploy

this system in an insecure environment, other types of security features like encrypted keys,

biometric authentication etc. might be conceived and additional features will be required to

be incorporated in the system in a modular manner.

7.3 Future Scope of the project

Although Contact Book has been conceived as an successful system for storing contacts for any

organization, it may easily be converted for use in any other environment also like schools , hospitals

etc. Its unique security feature and the facility to create new contacts as a vcf file and as a database

record gives it a flexibility which would enable its owners to offer any type of implementation

through various fields. The strength of the open-source SQL/VB.net combination used in the project

means that Contact Book will be a cheaper option than other such software’s and the large user

community and support services will ensure that any future development and extension efforts can be

undertaken with ease

References

94
S.No. Website Address Explanation
1 http://ignou.ac.in Our ignou home page which helped me

with the guidelines and format of the

project.

2 http://dev.mysql.com It helped with clearing my basics in My

Sql

3 http://msdn.microsoft.com/en- It helped me clearing my doubts in

us/vstudio/hh388573.aspx vb.net

4. http://en.wikibooks.org/wiki/Visual_Basic_.NET Read the online book

5. Book: by Harvey M. Deitel, Paul J. Deitel,

Tem R. Nieto
Visual Basic .NET How to Program (2nd

Edition)

6. Book: By Rude Limeback

Simply Sql

95
Glossary

Contact Book An application based address book to store records.

Data Dictionary a set of information describing the contents, format, and structure of a

database and the relationship between its elements, used to control access to

and manipulation of the database

DFD A data flow diagram (DFD) is a graphical representation of the "flow" of

data through an information system, modeling its process aspects.

ERD An entity-relationship diagram is a data modeling technique that creates a

graphical representation of the entities, and the relationships between entities,

within an information system

GANTT chart A Gantt chart is a visual representation of a project schedule. A type of bar

chart, a Gantt charts show the start and finish dates of the different required

elements of a project.

GUI A program interface that takes advantage of

the computer's graphics capabilities to make the program easier to use.

96
IEEE The Institute of Electrical and Electronics Engineers is a professional

association headquartered in New York City that is dedicated to advancing

technological innovation and excellence

Integration Integration testing is the phase in software testing in which individual software

Testing modules are combined and tested as a group.

MySQL MySQL is the world's second most widely used open-source relational

database management system.

PERT A project management tool that provides a graphical representation of a

project's timeline. PERT, or Program Evaluation Review Technique, was

developed by the United States Navy for the Polaris submarine missile

program in the 1950s. PERT charts allow the tasks in a particular project to be

analyzed, with particular attention to the time required to complete each task,

and the minimum time required to finish the entire project

Schema The organization or structure of a database. The activity of data modeling

leads to a schema

SRS A software requirements specification (SRS) is a comprehensive description of

the intended purpose and environment for software under development. The

SRS fully describes what the software will do and how it will be expected to

perform.

97
Unit testing unit testing is a method by which individual units of source code, sets of one

or more computer program modules together with associated control data,

usage procedures, and operating procedures are tested to determine if they are

fit for use.

VB.Net Visual Basic .NET (VB.NET) is an object-oriented computer programming

language that can be viewed as an evolution of the classicVisual Basic (VB),

implemented on the .NET Framework.

URL URL stands for Uniform Resource Locator. A URL is a formatted

text string used by Web browsers, email clients and other software to identify

a network resource on the Internet.

W3C The W3C is an industry consortium which seeks to promote standard for the

by producing specifications and reference software.

*********************

******************

*************

********

***

User_id 278 104 241

Password 3530 *

98

You might also like