News Agency

63
TABLE OF CONTENTS S.NO TABLE OF CONTENTS Declaration Acknowledgement (1) Introduction (2) Objectives (3) Implementation details (4) Format SRS (5) Hardware/software configuration (6) System Design (7) Form Design (8) Report Design (9) Coding (10) Run Time Form (11) Run Time Report (12) Testing (13) Bibliography INTRODUCTION NEWS AGENCY SYSTEM

Transcript of News Agency

Page 1: News Agency

TABLE OF CONTENTS

S.NO TABLE OF CONTENTS

Declaration

Acknowledgement

(1) Introduction (2) Objectives

(3) Implementation details(4) Format SRS (5) Hardware/software configuration(6) System Design(7) Form Design

(8) Report Design(9) Coding

(10) Run Time Form(11) Run Time Report(12) Testing(13) Bibliography

INTRODUCTION

NEWS AGENCY SYSTEM

Page 2: News Agency

The project News agency system is being developed to manage the system of agency.

News Agency system basically deals with Hawkers details, Press details, Profit &Loss

details, Expenses details, Paper distribution, calculation according to various categories of

employees like whether he is salaried etc. all these are maintained with the use of software.

The project is quite useful in decreasing the manual calculation part, and keeps record of

various customers in an efficient manner. I will introduce the following modules in my

project.

Hawkers Detail Module

Press Detail Module

Yearly Profit/Loss Module

Agency’s Expenses Module

Paper Detail Module

Press Invoice Module

Hawker Invoice Module

Paper’s Price Module

All the modules are integrated with each other.

Page 3: News Agency

OBJECTIVE

Man has always been aiming at getting the output of its account in the shortest span of

time and by least possible efforts. This is being achieved through various invention and

discoveries in the form of tools, machines & methods.

Machines have invented to help the thinking skills of man. Undoubtedly, computer

invention is the greatest boom. Unsurprisingly, computer has become an integral part of

our life today. Its accuracy and fast speeds are beyond imagination. The main objective

of computers are to transform input (data such as raw facts, figures of list) into useful

output (information) through electronic processing .As they generate information,

computer system are often processing called information system too.

The objectives of developing this system are: -

To determine the strength, weakness, opportunity, threat in the context of agency.

To maintain computerized data.

To maintain large database.

To predict the future of agency.

Page 4: News Agency

SCOPE

The scope of News agency system is very wide. It can be used by any news

agency and in any language like English, Tamil, and Talgu Punjabi etc.

The news agency system helpful for the all computerized system. It can be

increases the benefits of the company & saves the money.

In the present time, human suffer from the many problems. The problem can be

economic, social etc. such type of problem can be solve very easily by this news

agency system.

The growth of human future increases by this news agency system. It can be

provide the good opportunity for the human.

Page 5: News Agency

RESEARCH METHODOLOGY

I went to Nav Bharat and Nabhchor Agency. There I found that they have certain

problem in maintaining modules like Hawkers detail module, Press detail module,

Profit/Loss Module, Agency Expenses module etc. So I want to computerize that data.

The module define in introduction will help to achieve the started objective like

Profit /Loss modules will help in predicting future profit and loss, weakness of

agencies, Hawkers details will give information about Hawkers working in other city

etc.

Page 6: News Agency

BIBLIOGRAPHY

1 Brain Siler And Jess Scotts “Special Addition Using VB-6.0”Prentice Hall of India Pvt Ltd,New Delhi-110001,2005.

2 Reeta Sahoo “ Saraswati Information Technology”.Sarswatin House Pvt Ltd, New Delhi-110001, 2004.

3 Loonie E.Moseley And David M.Boodey “Mastering Microsoft Office 97”.BPB Publication, New Delhi.

4 NIIT “ Microsoft Access”. NIIT Limited, Ch annai

5 Evengelos Petroutsos “Mastering Visual Basic 6”.

Websites: -

WWW.google.com

WWW.funcionx.com

WWW.4guysrmrolla

Signature of candidate.

Page 7: News Agency

INTRODUCTION OF PROJECT

In the present scenario, one could never think of managing the

Newspaper activities without computers because there are lot of records needed to

be kept like the Hawker’s Records, Paper’s Records, Agency’s Expenses, Yearly

Profit and Loss Records and much more. Keeping all these records manually in the

form of files would definitely take a lot of time.

Once developed the computerized software for Newspaper Agency

Management, managing the Agency’s Work Or Papers Work becomes a much

simpler task in the sense that efficient work could be performed and that too in less

time. Further, it also reduces cost by minimizing paper use and with less labor

requirement. Only a single person can well manage the system needs to be a

computer literate. A person with no knowledge of the system can’t make any use of

the software developed.

A considerable amount of skill is required to prepare a computer software.

Here in, I have prepared the project for Newspaper Agency Management System

in which I have used many modules.

o Hawkers Detail Module

o Press Detail Module

o Yearly Profit/Loss Module

o Agency’s Expenses Module

o Paper Detail Module

o Press Invoice Module

o Hawker Invoice Module

o Paper’s Price Module

All the modules are integrated with each other.

Page 8: News Agency

I also developed some important Reports. These reports can helps the management

to take decisions like:

o Date Wise Hawker Invoice Information

o Date Wise Press Invoice Information

o Hawker’s Detailed Information

o Paper’s Detailed Information

These are some basic modules and inquiry Reports, which must be used for

managing a Report. More Modules could be added to provide additional

functionality as required.

Page 9: News Agency

OBJECTIVE

Man has always been aiming at getting the output of its account in the shortest

span of time and by least possible efforts. This is being achieved through

various invention and discoveries in the form of tools, machines and methods.

Machines have invented to help the thinking skills of man. Undoubtedly,

computer invention is the greatest boom. Unsurprisingly, computer has become

an integral part of our life today. Its accuracy and fast speeds are beyond

imagination. The main objective of computers are to transforms input (data such

as raw facts, figures of list) into useful output (information) through electronic

processing. As they generate information, computer system are often called as

information systems too.

Page 10: News Agency

Definition of Problem

Time consuming: As the work done is done manually, it takes a lot of time to process the data and gives the required information.

Security:

In the manual system, there is a lot of chance of misplacing or hacking of data. In manual system, there are less options of security.

Report Generation

To produce a report manually on certain demands is very tedious.

Accuracy:

The paper works of manual system leads to less efficiency and accuracy.

Overload:

Error due to fuss and over-load is very common in manual system.

More staff:

A lot of manpower is required in case of manual system, because in case of manual system there is huge collection of files.

Searching:

Searching of any record is very difficult in case of manual system, because in case of manual there is huge collection of files.

Page 11: News Agency

Expensive: Manual system is much more expensive than computerized system.

PLATFORM USED

The platform /operating system used for project “ Newspaper Agency

Management System” is Windows 98. which is highly user friendly with visual

basic (any version of vb)

Window 98 is the operating system for the IBM compatible personal

computers. Window 98 combines and improves upon the function these earlier

version of window and MS-DOS provided. Window 98 has a new look that is

designed for ease of use. Window98 does the following things:

1. Create link between the user and computer.

2. Serves as the base software on which a wide variety of programs can operate.

3. Handles its internal function such as -

i. Managing the computer memory.

ii Co-ordinate input and output devices.

4. Provides specialized programs to manage your system and command to manage

your file, folder and disks.

1. Software constraints :

Page 12: News Agency

The system is to run under the window 98. The following software constraints are

needed:

a) Visual Basic 6.0 for windows98.

2. Hardware Constraints:

The software may have to operate on some exiting or predetermined

hardware thus imposing restriction on the design. Hardware limitation can

include the type old machines to be used, operating system available on the

system, languages supported, and limits on primary and second storage.

a) Hard disk having capacity more than 650 MB is sufficient for better

efficiency.

b) Celeron (450-850) Mhz, Cyrex, Pentium (i), Pentium (ii), Pentium (iii),

Processor is necessary for better performance.

c) 64 MB RAM.

Page 13: News Agency

Front-End Used:- Visual Basic 6.0

Visual programming aims at providing the user interface that is intuitive and easy to

use. In developing such an interface, the programmer employs user-friendly features

such as Windows, menus buttons and list boxes. A visual programming environment

provides all features that are required to develop a graphical user interface as ready

to use components. The Programmers does not have to write code to create and

display commonly required user-friendly feature each time around.

When the programmer needs a specific user interface such as a buttons, he

selects the appropriate ready to use components provided by the visual

programming environment. These components can be moved, resized and renamed

as required.

For exp.-, If the programmer needs to have a button then the visual programming

environment provides him with one. All that, the programmers does is, select a

button and place it on screen at the required position. The following is the screen of

visual basic with button placed on it. Typically, the mouse is used to select and

place the necessary component. Thus, the visual programming environment is also

called a point and click environment.

Page 14: News Agency

A Visual programming automates the process of creating a user interface. The

interface provided by the visual programming environment to the programmer is

called the Visual interface. Using the visual interface, the programmer design the

usr interface visually Instead of writing code. In addition, the visual programming

environment also provides a means of associating code that the code is to execute

when we click on it.

Advantages of Visual Programming: -

1. Visual programming enables.

2. Visual development of graphical user interface which are easy to use and easy to

learn.

3. A programmer need not write code to display the required components.

4. The visual programming environment displays a list of available components.

5. The programmer picks up the required components from the list to display it.

6. The components can be moved, resized and even deleted, if so required.

7. There is no restriction on the number of controls that can be placed on a form.

8. The programmer can create the user interface visually, he can align and move of

size the components as required without having to resort the writing code.

9. The interface components provided by the visually programming environment

have some.

10. Code built into them.

Page 15: News Agency

For example, a button knows when it has clicked upon. In the case of conventional

programming tools, the programmer has to write code to determine the components

that has been clicked and then execute the appropriate code.

Some popular Visual programming tools are:

∗ Visual Basic

∗ Power Builder

∗ Developer 2000

Disadvantages of Visual Programming: -

1. While visual programming makes it very simple to create complex user

interface, it suffers from some disadvantages.

2. As the name implies, the entire process of developing an application using a

visual development environment is visual. Thus the development environment in

itself is graphical in nature and therefore requires more memory.

3. Visual development environments require computers of a higher configuration in

comparison to the conventional programming tools.

4. Large capacity hard disk.

5. More RAM.

6. Faster processor.

7. Primarily, visual development environments can be used only with GUI

operating systems such as windows.

Some Visual Interface Component: -

Page 16: News Agency

Having been introduced to the concept of visual programming, we now explore

some often used visual interface component is:

∗ Menu Bar

∗ Form

∗ Toolbar

∗ Properties Window

∗ Project Window

∗ Code Window

∗ Object Browser

Here we will give some brief information about all of these visual components

Menu Bar :- Menu Bar is a medium, which provides a way to perform diverse

actions. This is displayed directly below the title bar and includes a list of menu bar

option. Each option of the menu bar has a drop down list of menu item that is

related to the option. For example, the View menu contains options for viewing

code or form and other windows in the Visual Basic environment.

Form :-

A Form is one of the main building blocks in a Visual Basic application.

User interacts with the control on the form to obtain the desired result. In the design

mode, you see a grid of dots on the form. The grid helps the user to line up the

control at the time of designing. The dots disappear in the run time mode.

Page 17: News Agency

Application written in Visual Basic includes at least one form. The form becomes

the first on screen windows a user sees while running a program.

Toolbox :-

Toolbox is a window that provides a set of tools that are used at

design time to place control on a form. The button in the toolbox is called control

figure displays the various control in toolbox.

Properties Windows :-

Properties Windows lists the property setting for the selected form or

control. A property is a characteristic of an object, such as size, caption or color.

The property window displays the properties of one object at a one, which is

currently selected. The information in a property window changes as you select

different objects on the form. Properties can be viewed as alphabetically or category

wise by clicking on the option present on the property window. Clicking on any

properties displays a brief description of the property at the bottom of the window.

Project Window :-

The Project Window lists the form and module in the current project

as displays in the figure. A project is a collection of files used to build an

application. A project file contains the list of names and disk location of all flies

needed for the project. A project has at least one form. It can have more than one

form. The same form can be added to another project file any changes made to a

form in one project file will be reflected in another project at the same time.

Code Window :-

Page 18: News Agency

The visual code editor is a window where most of the code is written.

It is a special word processor with a number of features that make writing visual

basic code lot easier.

Object Browser :-

Object browser is another window available from the view menu. It

lists object for use in the project and gives way to navigate through a code.

Page 19: News Agency

Back-End Used:- MS-Access

Access is a powerful multi-user DBMS developed by Microsoft Corp . it can

be used to store and manipulate large amounts of information and automated

repetitive tasks, such as maintaining an inventory and generating invoices. By using

and create meaningful reports.

Data in access is organized in the form of tables. With in a table, records are

arranged according to a common reference value, known as the primary key or the

key field. The value in key field is different for every record and thus helps in

uniquely identifying records. A combination of two or more fields can also be used

as the primary key. Such combination is called a composite key. Since a value in

one table can be replicated across other tables, there should be a way to maintain

relation between two tables. This relation is implemented through the concept of a

foreign key. A foreign key in a table is a field, which links that table to another

table.

Databases in access have a default extension of mdb. Access also maintains

index file for tables. An index is an internal table of values that Access maintains to

store the order of records. Index objects thus provide efficient access to data.

Database indexes work just like book indexes. When you want to find a

particular topic in a book, you turn to the index and look up the page number. Then

you turn to the relevant page. Similarly, it does not duplicate in the data itself. Nor

does it change the sequence in which data is stored in the table.

It is used to store to different type of database that consist of distinct type of

fields. A database is a collection of data and objects related to a particular topic or

Page 20: News Agency

purpose. MS Access is a RDBMS. RDBMS is a set of two –dimensional tables in

which the data is represented in row and columns. A relationship between the tables

can be build. When a report has to be generated, a relationship can be built the

report. In this manner only the data required is displayed. Many benefit of

Microsoft MS Access using as back end tool, which are as follows:

1. Graphical

2. No Coding

3. Different types and different size of fields.

4. Compatibility with window base software.

5. Can be used as back end.

6. Readymade template.

7. Facility of primary key and other constraints.

Page 21: News Agency

System Design

Page 22: News Agency

Forms Design :

Design of Welcome form

Page 23: News Agency

Design of Authentication Form

Page 24: News Agency

Design of MDI Form

Page 25: News Agency

Design of Hawker Detail Form

Page 26: News Agency

Design of Press Invoice

Page 27: News Agency

Design of Paper Detail

Page 28: News Agency

Design of Hawker Invoice

Page 29: News Agency

Data Report Design

Page 30: News Agency

Design of Hawker Detail

Page 31: News Agency

Design of Paper Detail

Page 32: News Agency

Design of Press Invoice

Page 33: News Agency

Design of Hawker Invoice

Page 34: News Agency

Coding

Page 35: News Agency

' Coding of Welcome form

Private Sub Label6_Click()EndEnd Sub

Private Sub Label7_Click()Form4.ShowForm10.HideEnd Sub

Private Sub Timer1_Timer()Label6.ForeColor = RGB(200, 0, 0)Timer2.Enabled = TrueTimer1.Enabled = FalseTimer3.Enabled = FalseEnd Sub

Private Sub Timer2_Timer()Label6.ForeColor = RGB(200, 0, 200)Timer3.Enabled = TrueTimer1.Enabled = FalseTimer2.Enabled = FalseEnd Sub

Private Sub Timer3_Timer()Label6.ForeColor = RGB(0, 0, 200)Timer1.Enabled = TrueTimer2.Enabled = FalseTimer3.Enabled = FalseEnd Sub

Private Sub Timer4_Timer()Label7.ForeColor = RGB(0, 0, 200)Timer5.Enabled = TrueTimer4.Enabled = FalseTimer6.Enabled = FalseEnd Sub

Private Sub Timer5_Timer()Label7.ForeColor = RGB(200, 0, 0)Timer6.Enabled = TrueTimer4.Enabled = FalseTimer5.Enabled = FalseEnd Sub

Page 36: News Agency

Private Sub Timer6_Timer()Label7.ForeColor = RGB(200, 0, 200)Timer4.Enabled = TrueTimer5.Enabled = FalseTimer6.Enabled = FalseEnd Sub

Page 37: News Agency

' Coding of Authentication Form

Private Sub cmdcancel_Click()txtname.Text = ""txtpassword.Text = ""End Sub

Private Sub cmdexit_Click()EndEnd Sub

Private Sub cmdsave_Click()If ((Trim(txtname.Text) = "Administrator" Or (Trim(txtname.Text) = "administrator")) And ((Trim(txtpassword.Text) = "password" Or (Trim(txtpassword.Text) = "Password")))) ThenForm11.visible = TrueForm4.Visible = FalseElseMsgBox "Please enter a valid user name or password or there may be CapsLock is accidently on", vbCritical, "Login"txtname.SetFocustxtname.Text = ""End IfEnd Sub

Private Sub Form_Load()txtname.Text = ""txtpassword.Text = ""End Sub

Private Sub Timer1_Timer()Label1.ForeColor = RGB(200, 0, 0)Timer2.Enabled = TrueTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = FalseTimer5.Enabled = FalseTimer6.Enabled = FalseTimer7.Enabled = FalseTimer8.Enabled = FalseEnd Sub

Page 38: News Agency

Private Sub Timer10_Timer()Label4.ForeColor = RGB(200, 0, 200)Timer11.Enabled = TrueTimer10.Enabled = FalseTimer9.Enabled = FalseTimer12.Enabled = FalseTimer13.Enabled = FalseTimer14.Enabled = FalseTimer15.Enabled = FalseTimer16.Enabled = FalseEnd Sub

Private Sub Timer11_Timer()Label4.ForeColor = RGB(180, 80, 20)Timer12.Enabled = TrueTimer11.Enabled = FalseTimer10.Enabled = FalseTimer13.Enabled = FalseTimer14.Enabled = FalseTimer15.Enabled = FalseTimer16.Enabled = FalseTimer9.Enabled = FalseEnd Sub

Private Sub Timer12_Timer()Label4.ForeColor = RGB(0, 100, 100)Timer13.Enabled = TrueTimer12.Enabled = FalseTimer11.Enabled = FalseTimer10.Enabled = FalseTimer9.Enabled = FalseTimer14.Enabled = FalseTimer15.Enabled = FalseTimer16.Enabled = FalseEnd Sub

Private Sub Timer13_Timer()Label4.ForeColor = RGB(100, 20, 90)Timer14.Enabled = TrueTimer12.Enabled = FalseTimer11.Enabled = FalseTimer10.Enabled = FalseTimer9.Enabled = FalseTimer15.Enabled = FalseTimer16.Enabled = FalseTimer13.Enabled = False

Page 39: News Agency

End Sub

Private Sub Timer14_Timer()Label4.ForeColor = RGB(200, 0, 250)Timer15.Enabled = TrueTimer14.Enabled = FalseTimer13.Enabled = FalseTimer12.Enabled = FalseTimer11.Enabled = FalseTimer10.Enabled = FalseTimer9.Enabled = FalseTimer16.Enabled = FalseEnd Sub

Private Sub Timer15_Timer()Label4.ForeColor = RGB(120, 18, 100)Timer16.Enabled = TrueTimer15.Enabled = FalseTimer14.Enabled = FalseTimer13.Enabled = FalseTimer12.Enabled = FalseTimer11.Enabled = FalseTimer10.Enabled = FalseTimer9.Enabled = FalseEnd Sub

Private Sub Timer16_Timer()Label4.ForeColor = RGB(50, 0, 200)Timer9.Enabled = TrueTimer10.Enabled = FalseTimer11.Enabled = FalseTimer12.Enabled = FalseTimer13.Enabled = FalseTimer14.Enabled = FalseTimer15.Enabled = FalseTimer16.Enabled = FalseEnd Sub

Private Sub Timer2_Timer()Label1.ForeColor = RGB(200, 0, 0)Timer3.Enabled = TrueTimer1.Enabled = FalseTimer2.Enabled = FalseTimer4.Enabled = FalseTimer5.Enabled = FalseTimer6.Enabled = False

Page 40: News Agency

Timer7.Enabled = FalseTimer8.Enabled = FalseEnd Sub

Private Sub Timer3_Timer()Label1.ForeColor = RGB(20, 200, 200)Timer4.Enabled = TrueTimer1.Enabled = FalseTimer3.Enabled = FalseTimer2.Enabled = FalseTimer5.Enabled = FalseTimer6.Enabled = FalseTimer7.Enabled = FalseTimer8.Enabled = FalseEnd Sub

Private Sub Timer4_Timer()Label1.ForeColor = RGB(200, 0, 200)Timer5.Enabled = TrueTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = FalseTimer2.Enabled = FalseTimer6.Enabled = FalseTimer7.Enabled = FalseTimer8.Enabled = FalseEnd Sub

Private Sub Timer5_Timer()Label1.ForeColor = RGB(20, 34, 127)Timer6.Enabled = TrueTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = FalseTimer5.Enabled = FalseTimer2.Enabled = FalseTimer7.Enabled = FalseTimer8.Enabled = FalseEnd Sub

Private Sub Timer6_Timer()Label1.ForeColor = RGB(20, 232, 20)Timer7.Enabled = TrueTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = False

Page 41: News Agency

Timer5.Enabled = FalseTimer6.Enabled = FalseTimer2.Enabled = FalseTimer8.Enabled = FalseEnd Sub

Private Sub Timer7_Timer()Label1.ForeColor = RGB(30, 30, 65)Timer8.Enabled = TrueTimer1.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = FalseTimer5.Enabled = FalseTimer6.Enabled = FalseTimer7.Enabled = FalseTimer2.Enabled = FalseEnd SubPrivate Sub Timer8_Timer()Label1.ForeColor = RGB(200, 90, 22)Timer1.Enabled = TrueTimer2.Enabled = FalseTimer3.Enabled = FalseTimer4.Enabled = FalseTimer5.Enabled = FalseTimer6.Enabled = FalseTimer7.Enabled = FalseTimer8.Enabled = FalseEnd Sub

Private Sub Timer9_Timer()Label4.ForeColor = RGB(20, 32, 220)Timer10.Enabled = TrueTimer9.Enabled = FalseTimer11.Enabled = FalseTimer12.Enabled = FalseTimer13.Enabled = FalseTimer14.Enabled = FalseTimer15.Enabled = FalseTimer16.Enabled = FalseEnd Sub

Private Sub txtname_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thentxtpassword.SetFocusEnd IfEnd Sub

Page 42: News Agency

Output Forms with sample data

Page 43: News Agency

Welcome Form

Page 44: News Agency

Authentication Form

Page 45: News Agency

MDI FORM

Page 46: News Agency

Hawker Detail

Page 47: News Agency

Paper Detail

Page 48: News Agency

Press Invoice

Page 49: News Agency

Data Report Run-Time

Page 50: News Agency

Report of Hawker Details

Page 51: News Agency

Report of Press Invoice

Page 52: News Agency

Report of Hawker Invoice

Page 53: News Agency

Report of Paper Detail

Page 54: News Agency

System Testing

Page 55: News Agency

TESTING

TESTING MECHANISMS USED

TESTING OBJECTIVES

1. Testing is a process of executing a program with the intent of finding an

error.

2. A good test case is one that has a high probality of finding an as-yet

undiscovered error.

3. A successful test is one that uncovers an as-yet undiscovered error.

TESTING PRINCIPLES

All tests should be traceable to customer requirments. As have have seen, the

objective of software testing is to uncover errors. It follows that the most severe

defects (from the customer’s point of view) are those that cause the program to

fail to meet its requirements.

Tests shiuld be planned long before testing begins. Test planning can

begin as soon as the requirments madel is complete.Detailed defination of test

Page 56: News Agency

cases can begin as soon as the design model has solidified. Therefore ,all tests

can be planned and designed before any code has been genrated.

The pareto principle applies to software testing.stated simply,

the Pareto principle implies that 80 percent of all errors uncoved during testing

will likely be traceable to 20 percent of all program modules. The problem, of

course, is to isolate these suspect modules and to thoroughly test them.

Testing should being “in the small” and progress toward testing”in the

large”. The first tests planned and executed generally focus on individual

program modules. As testing progress, testing shifts focus in as attempts to find

errors in integrated clusters of modules and ultimately in the entire system.

Exhaustive testing is not possible. The number of path

permutations for even a moderately sized program is exceptionally large .for this

reason, it is impossible to execute every combination of paths during testing.it is

possible,however, to adequalety cover program logic and to ensure that all

conditions in the procedural design have been exercised.

To be most effective,testing should be conducted

by an independent third party.By”most effective” have mean testing that has the

highest probability of finding errors(the primary objective of testing).

ATTRIBUTES OF A “GOOD”TEST:

1. A good test has a high probability of finding an error.

2. A good test is not redundant.

3. A good test should be :best of breed”

4. A good test should be neither too simple nor too complex.

Page 57: News Agency

WHITE -BOX TESTING

White-box testing,sometimes called glass-box testing is a test case design method

that uses the control struture of the procedrual design to drive test cases. Using

white-box testing methods, the software engineer can test cases that (1) guarantee

that all independent paths within a module have been exercised at least once;(2)

exercised all logical decisions on their true and false sides;(3) execute all loops at

their boundaries and within their operational bounds;and(4) exerise internal data

structures to assure their validity.

BLACK-BOX TESTING

Black-Box_Testing focuses on the funtional requirments of the software.That

is,black-box testing enables the software engineer to derive sets of input conditios

that will fully exercise all funtional requirments for a program.Blac-box testing is

not an alternative to white-box techniques. Rather, it is a complementary approach

that is likely to uncover a different class of errors than white-box methods.

Black-box testing attempts to find errors in the errors in the following

categories:-

1. Incorrect or missing funtions

2. Interface errors,

3. errors in data structures or external data base access,

4. Performance errors, and

5. Initialization and Termination errors.

Page 58: News Agency

TESTING STRATEGIES

Unit Testing (White-Box Testing)

Unit Testing focuses verification effort on the smallest unit of software design-the

module. Using the procedural design description as a guide, important control paths

are tested to cover errors within the boundary of the module. The relative

complexity of tests and uncovered errors is limited by the constrained scope

established for unit testing. The unit test is normally white-box oriented, and the

step can be conducted in parallel for multiple modules.

Integeration Testing

Integeration Testing is a systematic technique for constructing the program structure

while conducting tests to uncover errors associated with interfacing. The objective

is to take unit test modules and build a program structure that has been dictated by

design.

Alpha and Beta Testing

Page 59: News Agency

The alpha test is conducted at the developer’s site by a customer. The software is

used in a natural setting with the developer “looking over the shoulder” of the user

and recording errors and usage problems. Alpha Tests are conducted in a controlled

environment.

The Beta Test is conducted at one or more customer sites by the end user(s) of the

software. Unlike alpha testing, the developer is generally not present. Therefore, the

Beta test is a “live” application of the software in an environment that cannot be

controlled by the developer. The customer records all problems(real or imagined)

that are encountered during beta testing and reports these to the developer at regular

intervals.

System Testing

System Testing is actually a series of different tests whose primary purpose is to

fully exercise the computer-based system. Although each test has a different

purpose, all work to verify that all system elements have been properly integerated

and perform allocated functions.

Recovery Testing

Recovery testing is a system test that forces the software to final in a variety of ways

and verifies that recovery is properly performed.

Security Testing

Page 60: News Agency

Security testing attempts to verify that protection mechanisms built into a system

will in fact protect it from improper penetration.

During security testing, the tester plays the role(s) of the individual who desires to

penetrate the system.

Stress Testing

Stress testing executes a system in a that demands resources in abnormal quantity,

frequency or volume. For example, (1) special tests may be designed generate 10

interrupts per second, when one or two is sthe average rate.

Performance Testing

Performance testing is designed to test run-time performancve of software within

the context of an integrated system. Performance testing occurs throughout all steps

in the testing process. Even at the unit level, the performance of an individual

module may be assessed as while box tests are conducted. However, it is not until

all system elements are fully integrated that the true performance of a system can be

ascertained.

Page 61: News Agency

ADVANTAGES AND DISADVANTAGES

As we know that computerization is advantageous for us in many senses. By using

computerized systems we are able to keep ourselves updated and a fast response in

every field of life. Now it seems too impossible to survive without the creation of a

man, i.e. the computer. The man is slave of the thing made by it.

As this instance, we are in the position to point out the

advantageous and disadvantages of the project "Newspaper Agency Management

System" . There are a lot of advantages of this project as compared to its

disadvantages.

Advantages of the Project are:

∗ Attractive Design Mode.

∗ Fast Processing.

∗ Insertion & Deletion of records become easier.

∗ Modifying the existing record.

∗ Time Saving.

∗ Accuracy.

∗ Removes redundancy.

∗ Higher finding Technique.

Page 62: News Agency

∗ Easily accessible to all user.

The main advantage for user, he/she can handle this project that little know

about the computer.

Disadvantages:

The main disadvantages of this project is the high initial implementation cost, which

includes the purchasing of hardware, and software required for running the project.

Everybody cannot buy the computer, and so it is not in the reach of every person.

The knowledge of computer to run the project.

Future Scope of this Project

I can predicated that my project will help the user for doing their computation fast in

compare to the manual work. I also predicated that my project is successful for

those user that have little knowledge about the computer.

Page 63: News Agency

Bibliography

1. System Analysis & Design, Awad, Galgotia

2. System Analysis & Design Methods, Whitten, Bentley, Galgotia

3. Software Engineering Pressman, TMH

4. VB-6 Tech-Media Publication

5. Database Management System, C.J.Date, Navathe.

6. Visual Basic Reference Guide, Tech-media Publication.

7. Language Refrence (Microsoft Visual Basic), Microsoft Corporation

8. Mastering Visual Basic 6, Evengelos Petroutsos

9. Visual Basic 6 COMPLETE, BPB Publications