Report BIP

Embed Size (px)

Citation preview

  • 8/6/2019 Report BIP

    1/44

  • 8/6/2019 Report BIP

    2/44

    Behavior intervention planner with mobile integration

    CONTENTS:

    1. Introduction

    2. Selection of the appropriate hardware platform

    3. Installation and commissioning of hardware

    4. Detailed analysis of the core modules

    5. Detailed analysis of the supporting utilities

    6. Quality assurance of core modules

    Torus Solutions, Mysore Page 2

  • 8/6/2019 Report BIP

    3/44

    Behavior intervention planner with mobile integration

    1.1 Introduction:

    A nation's most important and precious resource is its children who constitute its hope for

    continued achievement and productivity. There is no more crucial period of life than the age upto

    six years. It is during this period that the child is most malleable and it is then that man y barriers

    to normal development are erected. All educators have stressed the importance of the home in

    the early education of the child. The quality and nature of the parental nurturance that a child

    receives will profoundly influence his future development. But only few homes provide the right

    type of environment to the growing child. Many children are denied the opportunities for healthy

    all round development. In learning to adjust to the world in which the child is growing up, he

    develops certain kinds of behaviors which are annoying or embarrassing to the adults with whom

    he comes in contact. Adults frequently label such behaviors as problem behaviors and try to

    correct them. This usually makes the situation worse. What adults call problem behavior may be

    perfectly normal for the child at his age and level of development. Through ignorance of what is

    socially acceptable behavior, the child tries to express his natural impulses in ways that give him

    satisfaction but which are not socially acceptable. So these behaviors make life difficult and

    unsatisfactory for parents as well as the child.

    This project is developed to automate the process of managing Student documents. In this project

    Parents are given the entire Information about their childrens activities. In this system each

    project has individual phase work. Each phase work has different information about their

    children. Different information is like, Activities, Attendance, Fees, Test Marks, Student

    Information, Parent Information, Different Courses, Admin Rating for different Semesters.

    Most of the parents keep their children far away from them to give higher education. In

    this situation their children may spoil their life for their independence, because they are far fromtheir parents or some other reasons, as well as the parents cannot have continuous touch with

    their children.

    Hence this system provides the information about the students who are away from their parents

    over the mobile phone and also through the internet.

    Torus Solutions, Mysore Page 3

  • 8/6/2019 Report BIP

    4/44

    Behavior intervention planner with mobile integration

    1.2 Salient Features

    1. Powerful & Intelligent Search

    The new data control used has comprehensive searching options. Searching for

    records is never so easy in any database software.

    2. Back up and Recovery of data

    Data base backup and recovery tools are provided for any accidental corruption of data takes

    place.

    3. Attractive Graphical User Interface

    Appealing Graphical interface has been provided with some meaning full colors, like Brown

    for Master screens, Blue for Transactions screens etc. There are so many other controls

    which had a greater significance for e.g. Labels, Textboxes, and Command Buttons etc

    4. Improve estimating and scheduling

    With help of reports and the statistics functionality you can get historical

    information about previous records of the student and use this data to improve

    your current and future records of the students. Keeping track of students,

    timesheets and milestones/builds schedule in real-time will help you prevent any

    slippage, and Helps colleges to inform the parents on time.

    5. Improve project reporting and tracking

    This Project provides you with a bunch of ready-to-use reports showing all

    aspects of a student development process at once. Flexible filters will make it

    easy for you to see only the information relevant to you at that particular

    moment

    Torus Solutions, Mysore Page 4

  • 8/6/2019 Report BIP

    5/44

    Behavior intervention planner with mobile integration

    2. Selection of the appropriate hardware

    platform

    Torus Solutions, Mysore Page 5

  • 8/6/2019 Report BIP

    6/44

    Behavior intervention planner with mobile integration

    2.1 Hardware Requirements

    Hardware required to develop the software is as listed below

    Processor : Pentium III onwards

    RAM : 128MB

    Hard disk space : 20GB

    2.2 Software Requirements

    Software required in development is as listed below

    Operating System : Windows XP version.

    Presentation : ASP.NET.

    Database : MS Access.

    Data Access : ADO.NET.

    Language : C#.

    Web Server : IIS [Internet Information Server].

    Torus Solutions, Mysore Page 6

  • 8/6/2019 Report BIP

    7/44

  • 8/6/2019 Report BIP

    8/44

    Behavior intervention planner with mobile integration

    3.1 Tools & Technologies

    ASP.NET and MS-Access have been used to develop this software which is a basically a

    web based project.

    3.2 Overview of .NET Framework

    Microsoft has a time-honored reputation for creating innovative technologies and wrapping them

    in buzzwords that confuse everyone. Microsoft now has a whole new technology called .NET.. The .NET

    Framework is not a single applicationits actually a collection of technologies bundled into one

    marketing term. The .NET Framework includes languages such as C# and VB .NET, an engine for

    hosting programmable web pages and web services (ASP.NET), a model for interacting with databases

    (ADO.NET), and a class library stocked with tools for everything from writing files to reading XML.

    DOT NET framework is designed to deploy application across the enterprise and to scale to

    nearly size needed. Among the modern programming environments,.NET framework plays a pivotal role.

    In the field of development, it can apply in to multiple purposes very easily. Like any other product of

    Microsoft,.NET framework is also very easy to use. We can easily develop the application and enhance it

    using .NET technologies.

    Torus Solutions, Mysore Page 8

  • 8/6/2019 Report BIP

    9/44

    Behavior intervention planner with mobile integration

    3.3 Introduction to C#

    C#,(pronounced as C Sharp) the new language introduced in the .NET Framework, is derived from C++.

    However, C# is a modern, objected-oriented type-safe language C# represents the next step in the

    ongoing revolution of programming languages.

    It is created by Microsoft to support development of its. NET Framework, C# leverages time-

    tested features with cutting-edge innovations. It provides a highly usable, efficient way to write

    programs for the modern computing environment, which includes windows, the Internets,

    components, and so on. In the process C# redefined the programming landscape.

    C# is a modern, object oriented language that enables programmers to quickly build a wide range

    of applications for the new Microsoft .NET platform, which provides tools and services that fully

    exploit both computing and communications. The C# language is an evolution of C and C++.

    3.3.1 Platform independence

    One of the most compelling reasons to move to C# is its platform independence. C# runs on

    major hardware and software platforms.

    3.3.2 Object Orientation

    C# is a true object oriented language. It does not merely provide the capability to

    implement object oriented principles, it enforces this principles.

    3.3.3 Security

    C# considers security as part of its language. C# language compiler, interpreter and run

    time environment were each developed in security in mind.

    3.3.4 Reliability

    Security and Reliability go in hand in hand. Security measures cannot be implemented

    with any degree of assurance without a reliable framework for programming execution. . NET

    framework provides multilevel of reliability measures, beginning with C# itself.

    Torus Solutions, Mysore Page 9

  • 8/6/2019 Report BIP

    10/44

    Behavior intervention planner with mobile integration

    3.3.5 Simplicity

    The C# was designed to be a simple language to learn, building on the syntax and many

    features of C++. However in order to promote security, reliability and simplicity C# has left out

    those elements of C and C++ that contribute to errors and program complexity.

    3.3.6 Language features

    The C# provides many language features tat make it preferable to C or C++ for modern

    software development. On the top of this list is C# intrinsic support for multithreading which is

    lacking in both C and C++.

    3.4Introduction to ASP.NET

    The original definition of ASP.NET, right at the start of the chapter, portrayed ASP.Net as apowerful and flexible technology for creating dynamic web pages, and this holds true. However

    as you know it isnt the only way to develop WebPages, so lets refine our definition a little so it

    reads as follows.

    ASP.NET is a powerful and flexible server side technology for creating dynamic web pages.

    Secondly, ASP.Net is one of a set of technology that comprises the dot net framework. For now,

    you can now think of it as a giant tool kit for creating all sort of applications and in particular, for

    creating applications on the web. When you install ASP.Net you will install .Net framework at

    the same time. You will use bits and pieces of .Net framework.

    3.5 Features:

    ASP.NET combines unprecedented developer productivity with performance reliability and

    development.

    Torus Solutions, Mysore Page 10

  • 8/6/2019 Report BIP

    11/44

    Behavior intervention planner with mobile integration

    1. Developer Productivity:

    Easy programming

    Flexible language option

    Great tool

    Rich class framework

    2. Improved Performance and scalability

    Compiled execution,

    Rich output caching

    3. Enhanced Reliability:

    Avoids memory leak,

    Avoids deadlock Crash protection.

    4. Easy Deployment

    Dynamic update of application.

    3.6 Creating ASP.NET Web Applications

    ASP.NET is a unified Web development platform that provides the services necessary for

    you to build enterprise-class Web applications. While ASP.NET is largely syntax compatible

    with Active Server Pages (ASP), it provides a new programming model and infrastructure that

    allow you to create a powerful new class of applications. ASP.NET is part of the .NET

    Framework and allows you to take full advantage of the features of the common language

    runtime, such as type safety, inheritance, language interoperability, and versioning.

    Web Forms allow us to build powerful forms-based Web pages. When building these pages, you can use

    ASP.NET server controls to create common UI elements, and program them for common tasks. These

    controls allow you to rapidly build a Web Form out of reusable built-in or custom components,

    simplifying the code of a page.

    3.7 Internet Information Server [IIS]

    Torus Solutions, Mysore Page 11

  • 8/6/2019 Report BIP

    12/44

    Behavior intervention planner with mobile integration

    IIS server includes a broad range of administrative features for managing Web sites and your

    Web server. With programmatic features like ASP, ASP.NET, you can create and deploy

    scalable, flexible Web applications.

    3.8 ADO.NET

    Accessing a database in an Internet application is a completely different scenario than

    accessing a database in a typical desktop or client/server program.

    ADO.NET is the Microsofts latest data access model. ADO.NET allows you to interact

    with relational databases and other data sources. Quite simply, ADO.NET is the technology that

    ASP.NET applications use to communicate with a database, whether they need to add a new

    customer record, log a purchase, or display a product catalog.

    ADO.NET has a few characteristics that make it different from previous data access technologies such as:

    3.9 Microsoft Access

    Microsoft Access is a computer database application used to create and manage computer-based

    databases on desktop computers and/or on a network. Microsoft Access can be used for personal

    information management (PIM), in a small business to organize and manage all data, or in an enterprise to

    communicate with servers.

    Large corporate computing shops have been using complex expensive database products for years. These

    full featured heavily optimized software systems are the only for a big organization to manage its

    volumes of corporate information. A database is simply put, a collection of data. MS Access is not a

    database, its a computer software that enables the user to create maintain and manage electronic

    databases. This category of softwares is known as database system. A DBMS acts as a broker between

    the physical database and the users of the database. The database is an organized collection of data. A

    DBMS for a relational system is often called a relational database management system (RDBMS).

    Where does MS Access fit into all of this? We need some way to interact with the database we

    need to define tables and retrieve, add, update or delete data. MS Access is used to express database

    Torus Solutions, Mysore Page 12

  • 8/6/2019 Report BIP

    13/44

    Behavior intervention planner with mobile integration

    operations for relational data form. MS Access is the industry standard language that most database

    programmers speak and it is used by most RDBMS packages.

    The area in which databases have experienced the most explosive growth is in web application

    development. as the demand for more complex and robust web applications grows , so does the need for

    databases. A database backend can support many critical functions on the web. Virtually any web content

    can be driven by a database. Heres how a web page interacts with a database. The database in your web

    server or another machine that your server can talk to. You put a form on the web page that the user fills

    in with a query or data to submit when the forms query is sent to your server; it runs a program that you

    wrote that extracts data submitted by the user. These programs most often come in the form of ASP.NET

    scripts.

    3.10 Introduction to the Mobile Functions in ASP.NET:

    Adding SMS and Pager capabilities to an application is not a simple matter. It requires

    specialized knowledge that might be outside an individual programmer's expertise. Today,

    Windows developers rely upon the power, flexibility and reliability of the SMS and Pager

    Toolkit by ActiveXperts Software.SMS and Pager Toolkit is an ActiveX/COM component, and

    provides SMS and Pager messaging functionality.

    With this Toolkit, you can send and receive SMS messages via a:

    GSM modem;

    GSM phone; SMPP compliant SMSC provider;

    HTTP compliant SMSC provider;

    Hayes compatible modem.

    Torus Solutions, Mysore Page 13

  • 8/6/2019 Report BIP

    14/44

    Behavior intervention planner with mobile integration

    GSM modem (SMS)

    This is a fast and reliable device to send and receive SMS messages. We can send plain text

    SMS messages, Unicode messages, ringtones and other advanced SMS messages using a GSM

    modem. To send SMS messages using a GSM modem, use the GsmOut object. To receive, use

    the GsmIn object. The GsmOut object enables sending of SMS messages using a GSM Modem

    or a modem-capable GSM phone.

    GSMOUT Objects

    The GsmOut object communicates through a serial port, USB port, Bluetooth connection,

    infrared port or any Windows telephony compliant device. It is recommended to use Windows

    'Phone and Modem' devices, for example 'Standard 9600 bps Modem', or 'Nokia 6310i Phone'. If

    a Windows telephony device is used, settings are controlled by the Windows telephony driver,

    and can be configured through the 'Phone and Modem' settings:

    Open the Windows Control Panel from the Start menu;

    Double-click on 'Phone and Modem Options' and select the 'Modems' tab;

    Select the preferred modem and click on 'Properties'; from here, you can change the

    settings.

    To select a 'Phone and Modem' device in the toolkit's object, assign an existing telephony name

    to the Device property:

    Device - the literal Windows telephony device string, for instance: 'Standard 9600 bps

    Modem'. Alternatively, we can use a port directly, for instance: 'COM1'. As a result,

    device properties must be setup properly before receiving messages:

    Device - The actual COM port, formatted as COMx, where x represents the COM port

    number;

    Device Hw Flow Control - Hardware flow control is used to regulate commands from PC

    to device and visa versa; default: On;

    Torus Solutions, Mysore Page 14

  • 8/6/2019 Report BIP

    15/44

    Behavior intervention planner with mobile integration

    Device Sw Flow Control - Software flow control is used to regulate data from device to

    device; default: Off;

    Device Speed - The speed to be used to communicate with the GSM modem or GSM

    phone; default: 0 (which means that factory defaults are used for modem

    communications);

    Device Settings - The number of data bits, parity bits and stop bits; default: 8 data bits, no

    parity, 1 stop bit;

    Device Init String - The modem initialization string is used to initialize the modem;

    default value: '' (which means a generic initialization string will be used).

    We can send different types of SMS messages:

    Text - Plain text (default)

    Flash - Plain text, immediate display

    Data - Data message (raw, 8 bits)

    Unicode - Unicode message

    Unicode Flash - Unicode message, immediate display

    WAP Push - Propagate a URL to the remote recipient's WAP phone

    WAP Bookmark - Propagate a bookmark to the remote recipient's WAP phone

    Indications - Voicemail indications, fax indications, e-mail indications

    Ringtones and pictures - RTTTL ringtones and BMP pictures

    MMS notification messages - Inform a user that a new MMS message is available for

    download

    Some Properties and overview of the GSMOUT

    Property Type In/Out Mand/Opt Description

    Version String Out n/a Product version

    numberExpiration Date String Out n/a Product

    expiration date

    Device String String In/Out M Name of the

    device you want

    to use for

    Torus Solutions, Mysore Page 15

  • 8/6/2019 Report BIP

    16/44

  • 8/6/2019 Report BIP

    17/44

    Behavior intervention planner with mobile integration

    GsmIn Objects:

    The GsmIn object enables receiving of SMS messages using a GSM Modem or a modem-

    capable GSM phone. The GsmIn object communicates through a serial port, USB port, Bluetooth

    connection, infrared port or any Windows telephony compliant device. SMS messages can be

    received from different types of storage. The storage location depends on the type of hardware:

    GSM phones usually store incoming SMS messages in their internal memory; GSM modems

    usually keep SMS messages on the SIM card. It is recommended to read from the default

    storage. Some devices (including Wave Com GSM modems) have a special storage for delivery

    reports. This enables you to verify the delivery of a message. The 'GsmIn' object supports the

    following storage locations:

    Default - use default device settings;

    SIM Memory - use SIM memory;

    Device Memory - use device memory;

    Any - use any device memory;

    SMS messages are always received in 'batches', i.e. all incoming SMS messages are read from

    the message storage and stored in the SMS and Pager Toolkit internal message queue. This

    queue is a FIFO (First-In-First-Out) queue.

    To read all messages from the selected storage, use the following function:

    Receive - Receive incoming SMS messages and place them in the internal message

    queue. Optionally, delete all messages from device storage.

    After calling the 'Receive' function, messages can be fetched one-by-one using the

    GetFirstMessage/GetNextMessage functions:

    GetFirstMessage - Fetch first SMS message from the toolkit's internal message queue.

    GetNextMessage - Fetch next SMS message from the toolkit's internal message queue.

    After each function call, you should check the result of the function. The result of the last

    called function is stored in the 'LastError' property. All other functions will also store

    their result in this 'LastError' property.

    Torus Solutions, Mysore Page 17

  • 8/6/2019 Report BIP

    18/44

    Behavior intervention planner with mobile integration

    4. Detailed analysis of the core modules

    Torus Solutions, Mysore Page 18

  • 8/6/2019 Report BIP

    19/44

    Behavior intervention planner with mobile integration

    4.1 Requirement analysis

    Requirement analysis gives a broad definition of the system according to the need to understand

    the various concerned activities precisely. According to the requirements collected from the

    clients and through the meeting analysis is done and a specification is prepared.

    4.2 Requirement Specification

    This project has mainly 2 modules. They are as follows

    Parents Module

    Admin Module

    Student Module

    4.2.1. Admin Module:

    Torus Solutions, Mysore Page 19

  • 8/6/2019 Report BIP

    20/44

    Behavior intervention planner with mobile integration

    The Administrator has the following key responsibility.

    Admin can View all the courses which are available in the database.

    He can add new courses to the database.

    He can view all the details about the student with photograph.

    He can update / delete the student information.

    He has the search option to get the information about the particular student.

    He can register new student information along with the username, password and the

    mobile number of the parents and along with the photograph of the student.

    He has option to change the password.

    He can also able to find the number of students in a particular branch.

    He can also be able to change the password which has been provided to the parents.

    He can also update the students information like marks, attendance, percentage and

    behavior.

    4.2.2. Parents Module:

    The parents will be having the following options.

    Parents can view the marks scored by the student in a particular semester.

    They can view the attendance of the student.

    They can view the percentage of the student scored in the particular semester.

    They can view the behavior of the student along with the photograph.

    Torus Solutions, Mysore Page 20

  • 8/6/2019 Report BIP

    21/44

    Behavior intervention planner with mobile integration

    They also get the information about there child over the cell phone once he sends the

    request to the server.

    They have the option to change the password.

    Advanced search options have been provided to find the information about the marks,

    percentage and attendance as per year wise and semester wise.

    Torus Solutions, Mysore Page 21

  • 8/6/2019 Report BIP

    22/44

    Behavior intervention planner with mobile integration

    5. Detailed analysis of the supporting utilities:

    5.1 Data Flow Diagram:

    As it can be seen from the data flow diagram given below the process starts with the registration

    of various kinds like the Admin and the Parents. All this information constitutes the information

    about the project.

    Torus Solutions, Mysore Page 22

  • 8/6/2019 Report BIP

    23/44

    Behavior intervention planner with mobile integration

    ADMIN PARENT

    Y Y

    In this projects mainly 3 types of users can Login namely

    Administrator

    Parents

    Torus Solutions, Mysore Page 23

    START

    Add / Update / Delete courses

    IS

    ADMIN?

    IS

    PARENTS

    ?

    BIP DATABASE

    Add/delete Subjects

    Update marks, attendance and

    behavior

    View Marks ofstudent

    View attendance

    View Behavior

    Change password

    Change password

    Stop

    Add/update/delete Student details

  • 8/6/2019 Report BIP

    24/44

    Behavior intervention planner with mobile integration

    In the Login form the user has can select any one type and can login with the user name and

    password from the database User database. If the user is a valid user than the corresponding

    home page will be displayed

    If user selects as Admin , than after the authentication the administrator home page

    will be displayed

    If user selects as Parents , than after the authentication the Parents home page will be

    displayed.

    Admin Home page:

    The Admin home page has the following options:

    He adds / update / delete the new student details.

    Torus Solutions, Mysore Page 24

  • 8/6/2019 Report BIP

    25/44

    Behavior intervention planner with mobile integration

    He can view the details of all the students.

    He can add / delete the courses details.

    He can update the marks, attendance and the behavior of the students.

    He has the options to change the password and also has the option to change the

    password of the parents.

    Add New Register page:

    Torus Solutions, Mysore Page 25

  • 8/6/2019 Report BIP

    26/44

    Behavior intervention planner with mobile integration

    The admin can register the New student details in this form the following fields will be provided:

    Register Number (Should be entered manually).

    Name, DOB, Gender about the student.

    Parents Information like parents name, Email ID , password and mobile number

    And also course details of the students can be provided.

    Torus Solutions, Mysore Page 26

  • 8/6/2019 Report BIP

    27/44

    Behavior intervention planner with mobile integration

    Add Course page:

    In add course page the following options has been provided:

    Admin can add the new courses along with the number of semesters

    To select the number of semesters a drop down button has been provided. Also description about the course can be provided.

    He can also update / delete the courses.

    He can view all the course details which are in the database.

    Torus Solutions, Mysore Page 27

  • 8/6/2019 Report BIP

    28/44

    Behavior intervention planner with mobile integration

    Student attendance page:

    The admin will be having the following options will be provided.

    Search option has been provided to get the details of the particular student.

    The name, course and the semester will be taken from the database once the register

    number has been provided.

    The admin can add the attendance to each subject.

    The admin can update/ delete the attendance percentage to the each subject.

    Student marks page:The admin will be having the following options will be provided.

    Search option has been provided to get the details of the particular student.

    The name, course and the semester will be taken from the database once the register

    number has been provided.

    The admin can add the marks to each subject.

    The admin can update/ delete the marks scored in each student.

    The admin can update the percentage of the semester.

    Torus Solutions, Mysore Page 28

  • 8/6/2019 Report BIP

    29/44

    Behavior intervention planner with mobile integration

    Parent Module:

    Parent home page:

    In the parent module the parent will be having the following options.

    The user can view the marks of the student.

    The user can view the attendance of the student.

    The user can view the behavior of the student.

    The user has the option to change his password.

    Torus Solutions, Mysore Page 29

  • 8/6/2019 Report BIP

    30/44

    Behavior intervention planner with mobile integration

    View Marks Page:

    In the View marks page the parents will be having the following options:

    The parents should enter the name, course, semester, year and month

    According to the data provided in the above columns the application fetches the data

    from the marks table of the database and provides the information in the form of data

    grid.

    The user cannot edit the details provided in the data grid.

    Torus Solutions, Mysore Page 30

  • 8/6/2019 Report BIP

    31/44

    Behavior intervention planner with mobile integration

    View attendance page:

    In the View attendance page the parents will be having the following options:

    The parents should enter the name, course, semester, year and month.

    According to the data provided in the above columns the application fetches the data

    from the attendance table of the database and provides the information in the form of data

    grid.

    The user cannot edit the details provided in the data grid.

    Torus Solutions, Mysore Page 31

  • 8/6/2019 Report BIP

    32/44

    Behavior intervention planner with mobile integration

    View Behavior page:

    In the View behavior page the parents will be having the following options:

    The parent should enter the name and the course.

    According to the data provided in the above columns the application fetches the data

    from the details table of the database and provides the information in the form of data

    grid.

    The user cannot edit the details provided in the data grid.

    Torus Solutions, Mysore Page 32

  • 8/6/2019 Report BIP

    33/44

    Behavior intervention planner with mobile integration

    5.2 Mobile Interface:

    The Mobile interface part has been provided to parents module. To get the information about

    student initially they has to provide the mobile number and the password during registration.

    Here the mobile (GSM) will be connected to the system through the COM port. The following

    figure shows the integration part of the mobile.

    Torus Solutions, Mysore Page 33

  • 8/6/2019 Report BIP

    34/44

    Behavior intervention planner with mobile integration

    By selecting the gateway, the mobile modem will be connected to the system and the

    handshaking signals will be exchanged with the server and the mobile modem.

    The server reads the message from the mobile inbox once mobile receives the message toits inbox through the command GsmIn.

    The server responds to the message using the function GsmOut through the GSM

    mobile.

    The server responds to the client mobile only when it receives the valid key word.

    If the valid key word is not received the error message will be sent to the client mobile.

    By click on the cancel button the connection between the mobile and the server will be

    disconnected.

    The following options have been provided for the parents module:

    They can change the mobile number using the pervious number (Which is already in the

    server database).

    They can change the password.

    By sending the keyword to the server mobile the parents can view the behavior of thestudent.

    By sending the keyword to the server mobile the parents can view the semester marks.

    Also has the option to disconnect the connection between the client mobile and parents

    mobile.

    Torus Solutions, Mysore Page 34

  • 8/6/2019 Report BIP

    35/44

    Behavior intervention planner with mobile integration

    5.3 Data base relationship:

    Torus Solutions, Mysore Page 35

  • 8/6/2019 Report BIP

    36/44

    Behavior intervention planner with mobile integration

    Torus Solutions, Mysore Page 36

  • 8/6/2019 Report BIP

    37/44

    Behavior intervention planner with mobile integration

    6. Quality assurance of core modules

    6.1 Purpose of Testing

    Testing accomplishes a variety of things, but most importantly it measures the quality of the

    software we are developing. This view presupposes there are defects in the software waiting to be

    discovered and this view is rarely disproved or even disputed.

    Torus Solutions, Mysore Page 37

  • 8/6/2019 Report BIP

    38/44

    Behavior intervention planner with mobile integration

    Several factors contribute to the importance of making testing a high priority of any

    software development effort. These include:

    Reducing the cost of developing the program.

    Ensuring that the application behaves exactly as we explain to the user for the vast majority of

    programs, unpredictability is the least desirable consequences of using an application.

    Reducing the total cost of ownership. By providing software that looks and behaves as shown in

    the documentation, the customers require fewer hours of training and less support from product

    experts.

    Developing customer loyalty and word-of-mouth market share.

    6.2 Unit Testing

    Unit testing focuses verification on the smallest unit of software design, the software

    component or module. Using the component level design description as a guide, important control paths

    are tested to uncover errors within the boundary of the module. The unit testing is a white box oriented

    testing. First of all the module interface is tested to ensure that the information

    properly flows into and out of the program until under test. Then the local data

    structure is tested to ensure the data stored temporarily maintains its integrity

    during all steps in an execution. Boundary conditions are tested to ensure that the

    module operates properly at boundaries established to limit or restrict processing.All independent paths through the control structure are exercised to ensure that all

    statements in a module have been executed at least once. And finally, all errors

    handling paths are tested.

    In this project the testing is done according to bottom-up approach . Starting with smallest

    and lowest level modules and processing one at a time. For each module a driver and

    corresponding stubs were also written. If any errors found they were corrected immediately and

    the unit was tested again.

    6.3 Regression Testing

    Any time we modify an implementation within a program, we should also do regression

    testing. We can do so by retuning existing tests against the modified code to determine whether

    Torus Solutions, Mysore Page 38

  • 8/6/2019 Report BIP

    39/44

    Behavior intervention planner with mobile integration

    the changes break anything that worked prior to the change and by writing new tests where

    necessary.

    Some strategies and factors considered during this process include the following:

    Test fixed bugs promptly.

    Watch for side effects of fixes. The bug itself might be fixed but the fix might create other bugs.

    Regression test is written for each bug fixed.

    If two or more tests are similar, determine which is less effective and get rid of it.

    Identify tests that the program consistently passes and archive them.

    Focus on functional issues, not those related to design.

    Make changes (small and large) to data and find any resulting corruption.

    Trace the effects of the changes on program memory.

    6.4 Stress Testing

    Stress testing, which is specialized form of performance testing, is similar to destructive

    testing in other field of engineering. The goal of stress testing is to crash the application by

    increasing the processing load past performance degradation until the application begins to fail

    due to saturation of resources or the occurrence of errors. Stress testing helps to reveal subtle

    bugs that would otherwise go undetected until the application was deployed. Since such bugs are

    typically the result of design flaws, stress testing should begin early in the development phase oneach area of the application. Fix these subtle bugs at their source instead of fixing symptomatic

    bugs that may occur elsewhere in the application if these bugs were ignored.

    6.5 Integration Testing

    Integration testing is a logical extension of unit testing. In its simplest form, two units that

    have already been tested are combined into a component and the interface between them is

    tested. A component, in this sense, refers to an integrated aggregate of more than one unit. The

    idea is to test combinations of pieces and eventually expand the process to test your modules

    with those of other groups. Eventually all the modules making up a process are tested together.

    Any errors discovered when combining units are likely related to the interface between

    units. This method reduces the number of possibilities to a far simpler level of analysis.

    Torus Solutions, Mysore Page 39

  • 8/6/2019 Report BIP

    40/44

    Behavior intervention planner with mobile integration

    In this software, the bottom-up integration testing approached has been used, starting with

    the smallest and lowest level modules and proceeding one at a time. For each module the tests

    were conducted and the results were noted down.

    6.6 User Testing

    User Testing is nothing but the test of the software by the users themselves with live data being

    fed to the system. This helps in building really robust system. User testing in this system has

    been done extensively ascertain the results.

    6.7 Walkthroughs, Reviews and DemosSometimes known as the informal peer group review, walkthroughs are one of a handful of

    techniques that make a big difference to the chances of success in a software project.

    The aim of a walkthrough is to improve the quality of a piece of work by discovering

    potential problems. A walkthrough, when done properly, is seen as a positive contribution to the

    producer and his or her work; it is not seen as criticism or a negative activity or a threat.

    Plenty of Reviews, Walkthroughs or Demos to the Managers and client done

    regularly in various meetings. This helped ascertaining the work being done, whether it is

    going in a correct way or not, and it also helped in lot of in continues improvement in the

    features of the system.

    6.8 Automation Testing:

    "Automated Testing" is automating the manual testing process currently in use. This requires that

    a formalized "manual testing process", currently exists in the company or organization.

    Torus Solutions, Mysore Page 40

  • 8/6/2019 Report BIP

    41/44

    Behavior intervention planner with mobile integration

    Automation is the use of strategies, tools and artifacts that augment or reduce the need of manual

    or human involvement or interaction in unskilled, repetitive or redundant tasks.

    Minimally, such a process includes:

    Detailed test cases, including predictable "expected results", which have been developed

    from Business Functional Specifications and Design documentation

    A standalone Test Environment, including a Test Database that is restorable to a known

    constant, such that the test cases are able to be repeated each time there are modifications

    made to the application.

    6.8.1 The following types of testing can be automated:

    Functional - testing that operations perform as expected.

    Regression - testing that the behavior of the system has not changed.

    Exception or Negative - forcing error conditions in the system.

    Stress - determining the absolute capacities of the application and operational

    infrastructure.

    Performance - providing assurance that the performance of the system will be adequate

    for both batch runs and online transactions in relation to business projections and

    requirements.

    Load - determining the points at which the capacity and performance of the system

    become degraded to the situation that hardware or software upgrades would be required.

    6.8.2 Benefits of Automated Testing:

    Reliable: Tests perform precisely the same operations each time they are run, thereby

    eliminating human error

    Repeatable: You can test how the software reacts under repeated execution of the same

    operations.

    Programmable: You can program sophisticated tests that bring out hidden information from the

    Torus Solutions, Mysore Page 41

  • 8/6/2019 Report BIP

    42/44

    Behavior intervention planner with mobile integration

    application.

    Comprehensive: You can build a suite of tests that covers every feature in your application.

    Reusable: You can reuse tests on different versions of an application, even if the user interface

    changes.

    Better Quality Software: Because you can run more tests in less time with fewer resources

    Fast: Automated Tools run tests significantly faster than human users.

    Cost Reduction: As the number of resources for regression test are reduced.

    6.8.3 Automated testing gets the following benefits:

    Concise: As simple as possible and no simpler.

    Self-Checking: Test reports its own results; needs no human interpretation.

    Repeatable: Test can be run many times in a row without human intervention.

    Robust: Test produces same result now and forever. Tests are not affected by changes in

    the external environment.

    Sufficient: Tests verify all the requirements of the software being tested.

    Necessary: Everything in each test contributes to the specification of desired behavior.

    Clear: Every statement is easy to understand.

    Efficient: Tests run in a reasonable amount of time.

    Specific: Each test failure points to a specific piece of broken functionality; unit test

    failures provide "defect triangulation".

    Independent: Each test can be run by itself or in a suite with an arbitrary set of other

    tests in any order.

    Maintainable: Tests should be easy to understand and modify and extend.

    Traceable: To and from the code it tests and to and from the requirements.

    Test cases:

    TC_ID Verification area Inputs Expected Result Actual Result Status1 Verification on the

    login screenEnter thefollowing:

    1.Select Admin2.Username:Admin

    Should display theadmin home page

    Displaying theadmin home page

    Pass

    Torus Solutions, Mysore Page 42

  • 8/6/2019 Report BIP

    43/44

    Behavior intervention planner with mobile integration

    3. Password:

    Admin

    2 Enter the

    following:1.Select Parent

    2.Username: aaaa3. Password: aaaa

    Should display the

    parent home page

    Displaying the

    parent home page

    Pass

    3 Verification on the

    add course page

    Enter the

    following:

    1.Course name :EE

    2.No.of semester:

    63.Enter the

    description

    4.Click on Add

    button

    The application

    should be add the

    entered data in thedatabase

    BIP.mdb

    The application

    added the entered

    data in the database BIP.mdb

    Pass

    4 Click on View allbutton

    The course andthe semester in

    the database

    BIP.mdb should

    display in theform of data grid

    The course and thesemester in the

    database

    BIP.mdb has been

    displayed in theform of data grid

    Pass

    5 Verification onchange password

    page

    Enter thefollowing:

    1.Old password:

    Admin

    2.New password:bbbb

    3. Confirm

    password: bbbb

    The applicationshould accept the

    data and the

    password should

    be updated in thedatabase

    BIP.mdb

    The application isaccepting the data

    and the password

    has been updated in

    the databaseBIP.mdb

    Pass

    6 Verification on the

    view attendancepage

    Click on the view

    attendance link

    The link should

    connect to theview attendance

    page and should

    display theattendance of the

    student

    The link has been

    connected to theview attendance

    page and displayed

    the attendance ofthe student in the

    form of data grid

    Pass

    7 Verification onchange password

    page for parents

    module

    Enter thefollowing:

    1.Old password:

    Admin2.New password:

    bbbb

    3. Confirm

    password: bbbb

    The applicationshould accept the

    data and the

    password shouldbe updated in the

    database

    BIP.mdb

    The application isaccepting the data

    and the password

    has been updated inthe database

    BIP.mdb

    Pass

    Torus Solutions, Mysore Page 43

  • 8/6/2019 Report BIP

    44/44

    Behavior intervention planner with mobile integration

    8 Verification on the

    view marks page

    select the

    following:1. sem : 5

    2. month : Jan

    3.Year : 2008

    should display the

    marks of thestudent in the

    form of data grid

    Mark has been

    displayed in theform of data grid

    according to sem,

    month and year.

    Pass

    9 Verification on theview behavior page

    Enter thefollowing :1.Name: aaaa

    2.Course: EE

    3. Click on View

    button

    Should display thebehavior of thestudent from the

    database

    BIP.mdb

    The behavior of thestudent has beendisplayed from the

    database

    BIP.mdb

    Pass