Académique Documents
Professionnel Documents
Culture Documents
2. IDENTIFICATION OF NEED
(a) The application does not provide security to the system.
(b) There is no flexibility to the database.
(c) There is no GUI interaction for more convenience.
(d) Coding is not much efficient.
(e) Most of the work is done manually.
(f) More man power is required, so it is costly.
(g) The redundancy and inconsistency of data is major drawback.
3. PRELIMINARY INVESTIGATION
As the initial investigation is completed, it leads to a more detailed investigation of the system. The
conclusions of the initial study become the input for the detailed study. We can also refer to the feasibility
study as the detailed study or detailed investigation. Feasibility study is called like because as in the first
phase, we just check briefly about the problems related to the old system, & the need of the new system. So,
in this phase, that initial survey is further expanded to a more detailed feasibility study.
PROPOSED SYSTEM:
Objective To Be Fulfilled:
(a) Development of software in the given time.
(b) To create an effective and efficient application.
Systems Development Life Cycle (SDLC) is a process used by a systems analyst to develop an information
system, including requirements, validation, training, and user (stakeholder) ownership. Any SDLC should result
in a high quality system that meets or exceeds customer expectations, reaches completion within time and cost
estimates, works effectively and efficiently in the current and planned Information Technologyinfrastructure,
and is inexpensive to maintain and cost-effective to enhance.
Life Cycle
• A life-cycle :
• is a finite and definite period of time.
• starts when a software product is conceived.
• ends when the product is no longer available or effective for use.
• Any life-cycle is organised in (composed of) phases.
Types of SDLC
• More than one possible life cycle can be adopted to attain a particular goal.
• The type of SDLC is defined by the way it links the development phases.
• In theory, any combination of phases is possible, however, in practice only ones that lead to a visible and
controllable development process are useful.
• A type of SDLC is known as a Development Model.
Development Models
A Systems Development Life Cycle (SDLC) adheres to important phases that are essential for developers, such
as planning, analysis, design, and implementation, and are explained in the section below. A number of system
development life cycle (SDLC) models have been created: waterfall, fountain, and spiral build and fix, rapid
prototyping, incremental, and synchronize and stabilize. The oldest of these, and the best known, is the waterfall
model: a sequence of stages in which the output of each stage becomes the input for the next. These stages can
be characterized and divided up in different ways, including the following:
• Project planning, feasibility study: Establishes a high-level view of the intended project and
determines its goals.
• Systems analysis, requirements definition: Refines project goals into defined functions and operation
of the intended application. Analyses end-user information needs.
• Systems design: Describes desired features and operations in detail, including screen layouts, business
rules, process diagrams, pseudo code and other documentation.
• Integration and testing: Brings all the pieces together into a special testing environment, then checks
for errors, bugs and interoperability.
• Acceptance, installation, deployment: The final stage of initial development, where the software is put
into production and runs actual business.
• Maintenance: What happens during the rest of the software's life: changes, correction, additions, and
moves to a different computing platform and more. This, the least glamorous and perhaps most
important step of all, goes on seemingly forever.
In other words, the SDLC should ensure that we can produce more function, with higher quality, in less time,
with fewer resources and in a predictable manner.
Before we can ensure that a system has high quality, we must know what quality is in a business context.The
primary definition of quality in a business context is the return on investment (ROI)achieved by the system. The
business could have taken the money spent on developingand running the system and spent it on advertising,
product development, staff raises ormany other things. This ROI can be operational cost savings or cost
avoidance; improved product flexibility resulting in a larger market share; and/or improved decision support for
strategic, tactical and operational planning. This definition of quality centres on the characteristics of the system
itself: is it zero defect, is it well-structured, it is well-documented, is it functionally robust, etc. ability to provide
the best possible ROI.
The waterfall model was selected because of the simple design of the project. The entire requirements in the
project were well-defined in the beginning and hence, the waterfall model suited the best with minimum
expenditure on both time and cost.
System & Software Design: Before a starting for actual coding, it is highly important to understand what we
are going to create and what it should look like? The requirement specifications from first phase are studied in
this phase and system design is prepared. System Design helps in specifying hardware and system requirements
and also helps in defining overall system architecture. The system design specifications serve as input for the
next phase of the model.
Implementation & Unit Testing: On receiving system design documents, the work is divided in modules/units
and actual coding is started. The system is first developed in small programs called units, which are integrated in
the next phase. Each unit is developed and tested for its functionality; this is referred to as Unit Testing. Unit
testing mainly verifies if the modules/units meet their specifications.
Integration & System Testing: As specified above, the system is first divided in units which are developed and
tested for their functionalities. These units are integrated into a complete system during Integration phase and
tested to check if all modules/units coordinate between each other and the system as a whole behaves as per the
specifications. After successfully testing the software, it is delivered to the customer.
Operations & Maintenance: This phase of "The Waterfall Model" is virtually never ending phase (Very long).
Generally, problems with the system developed (which are not found during the development life cycle) come
up after its practical use starts, so the issues related to the system are solved after deployment of the system. Not
all the problems come in picture directly but they arise time to time and needs to be solved; hence this process is
referred as Maintenance.
Project Plan
A feasibility study is an evaluation of a proposal designed to determine the difficulty in carrying out a
designated task. Generally, a feasibility study precedes technical development and project implementation. In
other words, a feasibility study is an evaluation or analysis of the potential impact of a proposed project.
Technical Feasibility
In technical feasibility the following issues are taken into consideration.
Once the technical feasibility is established, it is important to consider the monetary factors also. Since it might
happen that developing a particular system may be technically possible but it may require huge investments and
benefits may be less. For evaluating this, economic feasibility of the proposed system is carried out.
Economic Feasibility
For any system if the expected benefits equal or exceed the expected costs, the system can be judged to be
economically feasible. In economic feasibility, cost benefit analysis is done in which expected costs and benefits
are evaluated. Economic analysis is used for evaluating the effectiveness of the proposed system. In economic
feasibility, the most important is cost-benefit analysis. As the name suggests, it is an analysis of the costs to be
incurred in the system and benefits derivable out of the system. Click on the link below which will get you to
the page that explains what cost benefit analysis is and how you can perform a cost benefit analysis.
Operational Feasibility
Operational feasibility is mainly concerned with issues like whether the system will be used if it is developed
and implemented. Whether there will be resistance from users that will affect the possible application benefits?
The essential questions that help in testing the operational feasibility of a system are following.
It includes study concerning contracts, liability, violations, and legal other traps frequently unknown to the
technical staff.
The operation of project must not incur any extra resources causing an overhead. Operation must be cost
efficient as well as easily maintainable. The above factors have been well considered and the project is feasible
from operation point of view.
Behavioural Feasibility
The system must be able to handle multiple users simultaneously filling the registration the form. In case of
erroneous input the system must display the problem at the client side.
For
By:
Sparsh Gupta-07CS000061
&
Yadunandan Shrimali-07CS000071
1.1 Purpose
The project basically develops a application that allows the user to see the events in the calendar and
can edit them and can add new events that are about to happen.
1.2 Scope
The scope of application is to provide a system which is generalized calendar that can be used for
adding new events and to edit events for that the management of events of the university.
1.3 Abbreviations
2.4 Constraints
The form has to be developed on windows platform.
3. SPECIFIC REQUIREMENTS
Use Case diagram is used to identify the primary elements and processes that form the system from the
perspective of user. The primary elements are termed as “actors” and the processes are called “use cases” .The
use case diagram shows which actors interact with each use case. This section describes in detail description of
those diagrams.
It represents the object-relationship pairs in graphical forms. Thus, we can say that
the primary goal of E-R diagrams is to represent data objects along with their
relationships.
ER model for data uses three features to describe data:
Entities which specify distinct real world items in an application
Relationships connecting different entities and representing meaningful
dependencies between them.
Attributes which specify various properties of entities and relations involved in a
system.
A properly defined flow model diagram, not only helps to understand the working
of the model, but also helps the software designer to built it and test it for validation with ease.
A DFD is a graphical representation that depicts the information flow and the
transforms that are applied as data moves from input to output. It can be used to
represent software at any level of abstraction. In fact, DFD.s may be partitioned
into levels that represent increasing information flow and functional details. The
graphical representation makes it a good tool for communication between designer
and analyst.
Database View
<html>
<head><title>Event Calendar</title>
<script language="c#" runat="server">
protectedDataSetLoadMyCalendarData()
{
//This function is to load calendar data by connecting to database.
stringsourceXml = Server.MapPath("MyCalendar.xml");
if (!(File.Exists(sourceXml)))
{
return null;
}
DataSetcachedDataSet = (DataSet)Session["MyCalendarData"];
if (cachedDataSet != null)
{
returncachedDataSet;
}
DataSetdataSet = new DataSet();
try
{
dataSet.ReadXml(sourceXml);
Session["MyCalendarData"] = dataSet;
}
catch (Exception e)
{
SelectedDate.Text = e.Message;
if (e.Day.IsOtherMonth)
{
e.Cell.BackColor=System.Drawing.Color.FromName("Gainsboro");
}
else
{
if (e.Day.IsWeekend)
{
e.Cell.BackColor=System.Drawing.Color.FromName("PaleGoldenrod");
}
else
{
e.Cell.BackColor=System.Drawing.Color.FromName("LightGoldenrodYellow");
}
}
DataSetdataSet = LoadMyCalendarData();
if (dataSet == null)
{
return;
}
foreach (DataRowzRow in dataSet.Tables[0].Rows)
{
DateTimecompareDate = GetSafeDate(zRow["EventDate"].ToString());
if (compareDate == e.Day.Date)
{
// Event matches date criteria – display it...
MyCalendarEventDatamyEventData = new MyCalendarEventData();
myEventData.ShortDesc = zRow["ShortDesc"].ToString();
myEventData.DetailDesc = zRow["DetailDesc"].ToString();
myEventData.StartTime = zRow["StartTime"].ToString();
myEventData.EndTime = zRow["EndTime"].ToString();
Label dailyEventLabel = new Label();
dailyEventLabel.Text = "<br />" + myEventData.ShortDesc;
e.Cell.Controls.Add(dailyEventLabel);
}} }
protected void ShowDailyEvents()
{
//This method has been used to display the detailed information for all
events, based on selected day.
DateTime d = MyCalendar.SelectedDate;
DataSetdataSet = LoadMyCalendarData();
privateDateTimeGetSafeDate(string proposedDate)
{
// Returns a non-null DateTime even if proposed date can't be parsed
DateTimesafeDate;
try
{
safeDate = DateTime.Parse(proposedDate, DateTimeFormatInfo.InvariantInfo);
}
catch (Exception e)
{
Response.Write("<!-- Failed to parse date: " + e.Message + " -->");
safeDate = DateTime.MinValue;
}
returnsafeDate;
</script>
</head>
<body>
<h4 style="text-align:right"><ahref= "EditTemplate.aspx">Admin</a></h4>
<h1 style="text-align:center">SPSU Calendar</h1><br />
<form id="MyCalendarForm" method="post" runat="server">
<p style="text-align:center">
<asp:Calendar id="MyCalendar"
runat="server"
Width="100%"
Height="350px"
CellPadding="2"
CellSpacing="1"
BorderColor="Beige"
DayHeaderStyle-BorderWidth="2"
DayHeaderStyle-BorderColor="ButtonFace"
SelectedDate="2010-04-13"
FirstDayOfWeek="Monday"
DayNameFormat="Full"
ShowDayHeader="True"
DayStyle-ForeColor="Black"
OtherMonthDayStyle-ForeColor="Purple"
OtherMonthDayStyle-Font-Italic="true"
DayStyle-Font-Underline="false"
DayStyle-Height="25"
ShowGridLines="True"
ShowNextPrevMonth="True"
ShowTitle="True"
nextprevstyle-backcolor="#FFCD13"
nextprevstyle-forecolor="Black"
nextprevstyle-font-bold="True"
nextprevstyle-font-size="Large"
TitleFormat="MonthYear"
TitleStyle-BackColor="#FFCD13"
TitleStyle-ForeColor="Black"
TitleStyle-Font-Size="Large"
TitleStyle-Font-Bold="True"
dayheaderstyle-backcolor="#C0C0C0"
dayheaderstyle-forecolor="Black"
daystyle-horizontalalign="Left"
daystyle-verticalalign="Top"
daystyle-font-size="Small"
SelectedDayStyle-Font-Bold="True"
OnDayRender="MyCalendar_DayRender"
OnSelectionChanged="MyCalendar_SelectionChanged">
</asp:Calendar>
</p>
<p style="text-align:center">
<asp:label id="SelectedDate" runat="server" font-size="Large" />
</p>
The following code has been used to manage the database via the web interface only.
The interface provides the admin with the privileges to ‘ADD’, ‘MODIFY’ or ‘DELETE’
events directly from the web interface.
CODE
protectedDataSetLoadMyCalendarData()
{
stringsourceXML = Server.MapPath("MyCalendar.xml");
if (!File.Exists(sourceXML))
{
return null;
}
DataSetcachedDataSet = (DataSet)Session["MyCalendarData"];
if (!(cachedDataSet == null))
{
returncachedDataSet;
}
DataSetdataSet = new DataSet();
try
{
dataSet.ReadXml(sourceXML);
Session["MyCalendarData"] = dataSet;
}
catch (Exception e)
{
ErrorMessage.Text = e.Message;
dataSet = null;
}
returndataSet;
<html>
<head></head>
<body>
<h4 style="text-align:right;"><ahref="Default.aspx">Calendar</a></h4>
<formrunat="server">
<asp:Label id="ErrorMessage" runat="server" /><br/>
<asp:DataGrid id="EventData"
AutoGenerateColumns="false" width="100%"
runat="server"
OnEditCommand="DEDR_Edit"
OnUpdateCommand="DEDR_Update"
OnCancelCommand="DEDR_Cancel"
OnDeleteCommand="DEDR_Delete">
<ItemStyleBackColor="White"/>
<AlternatingItemStyleBackColor="Gainsboro"/>
<Columns>
<asp:TemplateColumnHeaderText="Event Date">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "EventDate") %>
</ItemTemplate>
<EditItemTemplate>
<asp:TemplateColumnHeaderText="Event">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "ShortDesc")%>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id="txtShortDesc" MaxLength="25"
Text='<%# DataBinder.Eval(Container.DataItem, "ShortDesc") %>'
runat="server"/>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumnHeaderText="Description">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "DetailDesc")%>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id="txtDetailDesc" MaxLength="50"
Text='<%# DataBinder.Eval(Container.DataItem, "DetailDesc") %>'
runat="server"/>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumnHeaderText="Start Time">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "StartTime")%>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id="txtStartTime" MaxLength="7"
Text='<%# DataBinder.Eval(Container.DataItem, "StartTime") %>'
runat="server"/>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumnHeaderText="EndTime">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "EndTime")%>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id="txtEndTime" MaxLength="7"
Text='<%# DataBinder.Eval(Container.DataItem, "EndTime") %>'
runat="server"/>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
</Columns>
</asp:DataGrid>
</form>
</body>
</html>
<MyCalendar>
<Event>
<ShortDesc>Last Date for deposition of fee</ShortDesc>
<DetailDesc>This is the last date for deposition of fee. After this date the
students will be charged a fine of 100 rs per day.</DetailDesc>
<EventDate>2010/01/06</EventDate>
<StartTime>12:00AM</StartTime>
<EndTime>11:59PM</EndTime>
</Event>
<Event>
<ShortDesc>Extra-Curricular Activities</ShortDesc>
<DetailDesc>There will beextra-curricular activities in which various games will
be played like football,cricket,volleyball,etc.and there will various types of
cultural festivals will be organised and it will be for a week.</DetailDesc>
<EventDate>2010/01/18</EventDate>
<StartTime>12:00AM</StartTime>
<EndTime>11:59PM</EndTime>
</Event>
<Event>
<ShortDesc>Republic Day</ShortDesc>
<DetailDesc>There will be republic day celebration on this day and flag hosting
will be done by our President Mr Ashok Ghosh.</DetailDesc>
<EventDate>2010/01/26</EventDate>
<StartTime>12:00AM</StartTime>
<EndTime>11:59PM</EndTime>
</Event>
<Event>
<ShortDesc>Assignment-1</ShortDesc>
<DetailDesc>This is the date for issuing of all the assignments.</DetailDesc>
<EventDate>2010/01/27</EventDate>
<StartTime>12:00AM</StartTime>
<EndTime>11:59PM</EndTime>
</Event>
</MyCalendar>
1. Identification of Errors:
These are obvious anomalies that show up in the behavior of a program or a unit or a
component. Such behavior as the following is considered an error
• Inserting same id in database
• Fetching from database
• Update in database
• Actions that do not execute as promised: The update menu does not update properly etc.
2. Conformance to requirements:
These errors are the result of testing the functions in the software against the
Requirements Definition Document to ensure that every requirement, functional or non-
functional is in the system and that it operates properly. This is often called
an Operational Qualification (OQ). However, note that even if some of the
requirements do not seem to be “Operational”, this is an operational test. For example, the
software may be required to display copyright messages on all acquired components. If
the messages are not displayed, then there is a lack of conformance and the system does
not operate properly.
3. Performance Qualification:
These are not “errors” as such but failures to conform to performance requirements.
Technically, they can be part of the second type. However,
PerformanceQualification (PQ) became a standard way of testing for historical reasons.
Unit testing
Individual components are tested
Module testing
Related collections of dependent components are tested
Sub-system testing
Modules are integrated into sub-systems and tested. The focus here should be on interface
testing
System testing
Testing of the system as a whole. Testing of emergent properties
Acceptance testing
Testing with customer data to check that it is acceptable
1. Requirement Stage
2. Test Planning
3. Test Analysis
4. Test Design
Requirement Stage
It is the initial stage of the life cycle process in which the developers take part in analysing the
requirements for designing a product. Testers can also involve themselves as they can think from the
users' point of view which the developers may not. Thus a panel of developers, testers and users can
be formed.
TestPlanning
Test planning is predetermining a plan well in advance to reduce further risks. Without a good plan,
no work can lead to success be it software-related or routine work. A test plan document plays an
Test Analysis
once the test plan documentation is done, the next stage is to analyse what types of software testing
should be carried out at the various stages of SDLC.
Test Design
Test design is done based on the requirements of the project documented in the SRS. This phase
decides whether manual or automated testing is to be done. In automation testing, different paths for
testing are to be identified first and writing of scripts has to be done if required. There originates a
need for an end to end checklist that covers all the features of the project.
Test Execution
Planning and execution of various test cases is done in this phase. Once the unit testing is completed,
the functionality of the tests is done in this phase. At first, top level testing is done to find out top
level failures and bugs are reported immediately to the development team to get the required
workaround. Test reports have to be documented properly and the bugs have to be reported to the
development team.
Result Analysis
Once the bug is fixed by the development team, i.e after the successful execution of the test case, the
testing team has to retest it to compare the expected values with the actual values, and declare the
result as pass/fail.
Post Implementation
Once the tests are evaluated, the recording of errors that occurred during various levels of the software
testing life cycle, is done. Creating plans for improvement and enhancement is an ongoing process.
This helps to prevent similar problems from occuring in the future projects. In short, planning for
improvement of the testing process for future applications is done in this phase.
8.4Testing Phases:
Test Cases
Module Name: Event Calendar
Test Case ID: REG1 Test Case Description:-Verifying possible outputs of registration form
applying all possible combination of inputs and simultaneously and checking current status.
The web form event calendar has been prepared with great excitement and enthusiasm. It required a
lot of efforts and hard work, which was possible only by team work. The characteristics of this
software which make it more effective and efficient from existing system are as follows:
(a) It provides a better GUI environment to user.
(b) It provides an efficient security system to the software.
(c) The database is flexible.
(d) All work is computerized, so, no man power is required.
(e) The application provides platform independent software.
(f) It is easily understandable and reliable.
(g) The users requirement is fulfilled.
BIBLIOGRAPHY
Websites: 1. www.google.com