Escolar Documentos
Profissional Documentos
Cultura Documentos
SPECIFICATION
OVERVIEWS OF SOFTWARE
DEVELOPMENT ISSUES
NEEDS OF SRS
FEASIBILITY STUDY
REQUIREMENT ANALYSIS
DESIGNING
CODING
TESTING
DEBUGGING
MAINTENANCE
Overview of software development issues
Innovation in computing hardware and software and has brought
a multitude of powerful and sophisticated applications to user’s
desktops and across their networks. This sophistication is accompanied
by problem for application developers, software venders and users.
Some of the problems are:-
Needs of SRS: -
The basic purpose of software requirement is to bridge
the communication gap between the customer and a
developer. SRS is a medium through which the client and the
user needs that is actually defined. A SRS establishes the
basis of agreement between the user and supplier on what
software product will do. The basis for the agreement is
frequently obliged into a legal contract between the user and
developer. Through the SRS the client clearly describes-
REQUIREMENT
ANALYSIS
SYSTEM REQUIREMENT: -
CHOICE OF HARDWARE
Computer System: We prefer Pentium IV
processor/Celeron Processor.
CHOICE OF SOFTWARE
For any project the most important part is the choice
of the operating system and application software. We
choose:
FUNCTIONAL REQUIREMENT: -
a) To provide information regarding issued & returned
books,books available,members&defaulters.
b) To give the right to the user to make new entries
regarding transactions, biodata and maintaining
records of the existing ones.
IMPLEMENTATION: -
Implementation is the process of converting a new
system design into an operational one. Here the implementation of
computer software is being done in order to replace a manual
system. The requirement of this type of this implementation id
converting all the files (breaking them into tables and inserting into
the computer database), training users, this may require giving
instructions to them regarding the operations of the system.
OPEARTIONAL REQUIREMENT: -
The software should be accurate regarding all the
information. The data should be updated when information is given
and when entries are made regarding the new an existing members
& books.
Coding
The coding phase is to transform the design of the system into a
high level language. Software development organization adheres to
some well defined and standard style of coding called standards. A
coding standards sets-out standard ways of doing several things
such as the way variables are to be named the code is to be laid out
the number of source per function etc.
The reasons for adhering to standard for coding are: -
It gives a uniform appearance to the code written by different
programmers.
It enhances code understanding.
It encourages good programming practice after a module has
been coded.
Representative Coding Standards: -
1: - Rule for limiting the use of global variables. What type of data
can be (or not) a global variable?
2: - Contains of the header preceding codes for different modules: -
Date of Programming.
Name of the module.
Name of the programmer.
Different function supported and I/O parameters require.
Synopsis of the module.
3: - Naming conventions for global variable, local variables and
constants.
4: - Error return conventions and exceptions handling mechanism.
Representative Coding Guidelines:-
1: - Do not use to clever and difficult to understand coding style.
2: - Avoid obscure effect.
3: - Do not use variable for multiple purpose.
4: - Each variable should be given descriptive name.
5: - The code should be well documented.
6: - The length of any function should not exceed some predefined
value.
7: - Do not use GOTO statement.
Design
TESTING
Testing present an interesting anomaly for the software
engineers. During earlier software engineering activities the
engineer attempts to build software from an abstract concept to a
tangible product. Now comes testing, the engineers creates a series
of test cases that are intended to demolish the software that has
been built. Infact, testing is the one step in the software process
that could be viewed as destructive rather than constructive.
Testing requires that the developer discard preconceived notions of
the “correctness” of software just developed an overcome a
conflict of interest that occurs when errors are uncovered.
Testing is a process of executing a program with the intent of
finding an error.
A good test case is one that has a high probability of finding
an as yet undiscovered error.
A success for test is one that uncovers an as yet undiscovered
error.
TYPES OF TESTING
Testing is of the following types:
Debugging
It occurs as a consequence of successful testing.
Debugging is the process that results in the removal of the
error. The debugging process begins with the execution of a
test case. Results are assessed and a lack of correspondence
between expected and actual performance is encountered.
The debugging process will always have one of two
outcomes, which are----
The cause will be found and corrected.
The cause will not be found.
MAINTENANCE
VISUAL BASIC-THE
FRONTEND
For a long time there are a few such tools for developing windows
applications.
Before visual basic was introduced in 1991, developing windows application
was, much harder than developing DOS application. Programmers had too
much to worry about such as what the mouse was doing, where the users
were inside a menu, and whether key was clicking or double clicking at a
given place. Developing a windows application s required expert C
programmers and hundreds of lines of code for the simplest task.
This is why, when visual Basic 1.0 was released, Bill Gates, Chairman
and CEO of Microsoft, described it “Awesome”. Steve Gibson in info world
said Visual Basic is a “ Stunning new miracle”. And will “Dramatically
change the way people feel about and use Microsoft Windows.
Visual Basic lets you add menus, text boxes, command buttons,
option buttons, check boxes, list box, scroll bars, and file and directory
boxes to blank windows. You can use grids to handle tabular data. And most
importantly, you will an easy method to let users control and access
databases.
You can have multiple windows on a screen. You can use Visual
Basic to communicate with other applications running under windows, using
the most modern version of Microsoft’s COM/ OLE technology.
The Visual Basic Enterprise edition is the most advanced edition and is
aimed to programmers to build distributed edition in a team environment .It
include all the features of the professional edition, plus tools to such as
Visual SourceSafe and a automation and a component manager.
a) Standard EXE
b) Active X EXE, Active X DLL
c) Active X Control
d) Active X Document EXE, Active X Document DLL
e) VB Application Wizard, VB Wizard manager.
f) Data Project
g) DHTML Project
h) DHTML Application
i) US Application
j) Addin
The Menu Bar contains the command you need to work with Visual
Basic. The BASIC menus are:
File contains the command for opening and saving projects and creating
executable files and a list of recent projects.
Edit contains editing commands for ex.- Cut , Copy, Paste
View contains commands for showing or hiding components of the IDE.
Project contains commands that ad components to the current projects,
references to windows objects and new tools to the tool box.
Format contains commands for aligning the controls on the form.
Debug the usual debugging commands
Run contains the commands that start, break and the End execution of
the current application.
Query contains the commands that simplify the design of structured
query language(SQL) queries . This menu is available when building
database applications.
Diagram contains commands for editing database programs. This menu
is available when building database applications.
Tools contains tools you need in building active X components and
activates controls; contains the commands to starts the menu editor.
Add-in contains the Add-ins that you can add and remove as needed.
By default only the visual data manager Add-in is installed in this menu.
Window is the window standard menu of an application
that contains commands to arrange windows on the screen.
Help contains information to help as you want.
The tool bars give you quick access to commonly use menu commands.
Besides the main tool bar , which is displayed by default the menu bar .the
Visual Basic IDE provides the additional tools bars for specific purpose,
such as editing, or design, and Debugging.
The window titled project is the Project Explorer, which displays the
components of the project. The project components are organized in folders
and the project window is called Project Explorer.
The tool Box contains the icons of controls you can place on a form to create
the application’s users interface. By default, the tool box contains the pointer
icons and the icons of 20 Active X controls. To place the control on a form.
You First select it with the mouse over the form when mouse is over the
form the cursor turns into a cross, and you can draw the control on the form,
just as word draws a rectangle using a drawing applications.
The properties windows contains the properties settings for the selected
control, properties are attributes of an object, such as its size , caption and
color.
You can adjust the appearance of the control on the form . with point-and-
click operations.
The Form Designer
The form designer is the main window in the middle of the screen, and in it
you design and edit the application’s user interface. The same windows
displays the text editor in which you can enter and edit the application’s
code. The form designer displays two windows for each form.
The form itself (the elements of the visible user interface)
A code window (the code behind the elements of the form)
You use the form layout window, which is the lower right corner of the
visual basic IDE,
To determine the initial position of the forms in your application .you can
move forms around and place them on top of each other. This window is
useful in applications that use multiple forms because you can specify how
each form is positioned with respect to main form.
The immediate window at the button of the IDE is a debug aid. While
an application is running, you can stop it and use the immediate
window to examine or changes the values.
of the applications variable and to execute visual basic commands in
immediate mode.
FEATURES OF VISUAL
BASIC
Visual Basic 6.0 has many powerful features that are required in
today’s programming environment. Some of these features are:-
*Based on the BASIC language
MS-ACCESS-THE
BACKENED
INTRODUCTION TO MS-
BACKENED
ODBC
DAO: The Data Access Object (DAO) paradigm was the first
object-oriented interface that allowed programmers to manipulate
the Microsoft engine. That jet database engine is a technology used
to access the fields and records in access tables and other data
sources. We can connect jet database via ODBC drivers. DAO is
still popular and effective for single-system database application
and small size to medium-size workgroup networks.
RDO: The Remote Data Objects (RDO) paradigm in an object-
oriented interface to Open Database Connectivity (ODBC) sources.
RDO is the object model used by most database development that
Work intensively with Microsoft SQL Server, Oracle and other
large relational databases. RDO offers a set of objects that make
easy to connect to a database, execute queries ant stored
procedures, manipulate results and commit changes to the server.
We have used ADODB and ADODC for our software. The ADO
ActiveX control to display the fields and records in an Access
database on a form. The ADO control does not include a database
Name property that lets you connect directly to a database file. The
ADO control contains a Connection String property that lets you
connect to an ActiveX data source.
ER- DIAGRAM:-
The graphical representation of object relationship pair is one of
the element of data modeling known as ER-D. A set of primary
components:-
data object.
Relationship and
Various type indication are the basic components of an ER-D.
The primary purpose of the ER-D is to represent data objects
and their corresponding relationship.
Data Flow
& Data Store