Sr. No. Title Page No
Sr. No. Title Page No
Sr. No. Title Page No
TABLE OF CONTENTS
5|Page
6|Page
Chapter 1
1. Introduction
This Complaint management system wants to respond to the challenges of our time, such as
those regarding Sustainability and quality of life. This is achieved for example by improving
the efficiency ofurban operations and services, as well as its competitiveness. And to ensure
that the city meets the needs of present and of future generations, in terms of economic,
social and environmental issues. In short, a city should be a good place to live with the best
possible quality of life and with the most efficient use of resources. Here, people exchange
information and work together on projects. In addition, cities are sustainable and they are
economical with energy, water, raw materials, food and financial resources. Third, cities
should encourage their residents, businesses and city services to invent new ways of
organizing. sharing communicating and producing Furthermore, a city is only really smart
when it involves its residents and companies in its projects. Finally, a city works on
simplifying things: Everyone would rather have simple, transparent (public) service. This
project will give positive success. In direction including climate changes In India we have an
indirect communication between the government and public. For getting a problem solved
within our nearby areas we have to visit the government offices which wouldrequire a whole
day or else bribe the officers to get the problem solved which can be actuallysolved in a very
short period of time. A common man faces many problems related to governance in his daily
life. The main purpose of our Complaint Management project is to help the public facing
such problems and knowing the region where the problem has occurred and getting their
problems solved online without going to the officer regularly until the problem is solved. In
accordance this study initiates an integrated and networked system, with the focus on its
ability to solve the problems such as Water supply,Pot Holes in road, Street light, Garbage
cleaning. This will minimize time as well as money to go to an office for complaint
registration Three related concepts are encompassed by the general scope of People's Comer.
The first applicable to the replacement of personal visit to the office and registering
complaints on paper, the second relates to a complementary electronic strategy for the
handling of a customer's complaint and the third surrounds the process of taking actions by
the government bodies against the complaints registered by the citizens. The user can click
the picture of the venue of complaint and upload the same. Also, the address of complaint
location will be tracked automatically using GPS and Google maps, thus reducing user's
overhead of typing the address. Html, Java is used to develop the project.
1.1 Background:
The only motive for this project to improve the city. Complaint Management System project w e
also can as (CMS), this project is for Mahim's people so this help to contact with fire brigades, road
constructor and the other works regarding issues in surrounding
society. This website will be easy to use.50 that then user can understand easily to use
site and solve their problem. There will be providing address according to the
problems. Complaint Management system will help to clean the city, safety of city,
quality of city, standards of city. This project can help so many problems. Website will
be asked for your info for example name, user-id, and password so that user can save
their data, this project will bemaking on PHP, ASP.net, HTML/CSS and this is wireless
technologies. This will also call as informational website. The quality of website will
be good enough. And number of people can use it to their ease and have their
complaints resolved on this portal
1.2 Objectives:
Development of clean, and ease in cities is as step in that direction in the approach to the
smart citiesmission, the objectives is to promote cities that provide core infrastructure
and give a decent quality of life to citizens, a clean and sustainable environment and
application of "instant" solutions. The concept of fast, easy living city, means different
things to different people, changes from city to city and country to country. It depends
on the willingness tochange and reform, the level of growth.
1. This will help in society, their problems and to clean the city.
2. Infrastructure and provide its citizens a decent quality of life, a clean and
sustainable environment and application of smart solutions
1.3 Purpose, Scope, Applicability:
1.3.1 Purpose :-
This project provides better sanitation and other modern facilities for developing this
cities Its main motive to enhance the lifestyle of the people so that they can enjoy
better living standards. The use of modern technology to bring this change. Many
cities are struggling because of these small, bigger problems.to adjust with unplanned
development plans, the fast increasing gap between poor and rich is also matter
concer.so the basic idea of this scheme is quite clear if it is implemented in righteous
way the it will bring great positive change in our society
1.3.2 Scope :-
Everywhere we see that people talking about complaint management and its
advantages and disadvantages. On other side we see that 8 years back people were
talking only about smart phones but now a days fast, easy living Cities are in trend and
other smart products also. Wecan say that through parallel technological developments
globally the concept of smart cities is on boom and rising day by day.
1.3.3 Applicability :-
• This website is for the person who having problems in surrounding society. We can
say that it's part of city, because it will help us to clean the city and safety of city.
• People can also contact with workers.
• People can save their time and money through this website.
• This website will be easy to use.
• Complaint Management System will be successful project to develop the environment.
lOMoARcPSD|40602229
1.4 Achievements :-
Project ensures that it will benefit to everyone. A key feature of this system is that they
create efficiency. Well - designed technology tool scan benefit government agencies
the environment and resident. Smart city can improve the efficiency of city services by
eliminating redundancies, finding ways to save money and streamlining workers
responsibilities. The result can provide higher quality services at lower cost.it will also
help people they are in trouble example electricity problem, water problem, road
problem etc. they can inform the problems and then this website will help you to solve
the problem, and this is big opportunity to develop the city and also a unique idea. This
will improve our living standards the main motive of this project to clean and neat the
city as soon as possible.
.
lOMoARcPSD|40602229
3.4.1 Software Requirements:
• PHP and HTML5 to create software.
• My SQL for back-end to store the data.
• Java script.
Complaint
management system
Submission of topics
Topic Approval
Planning
Introduction
Survey of technology
Requirement and
Analysis
System Design
Coding
Implementation and
Testing
lOMoARcPSD|40602229
CHAPTER 4
10
lOMoARcPSD|40602229
System Design
UML Diagrams :
• What is UML?
- UML stands for Unified Modelling Language.
- UML is popular for its diagrammatic notations.
UML diagrams are made using the notations of things and relationships.
Extensibility is another important feature which makes UML more powerful and flexible.
Visualizing user interactions, processes, and the structure of the system you're trying
to build will help save time down the line and make sure everyone on the team is on
the same page
Entities :
Weak Entities :
Actions :
- Actions which are represented by diamond shapes, show
how two entities share information in the database.
- In some cases, entities can be self-linked.
- Forexample,employeescansuperviseotheremployees.
Attributes :
A multivalued attribute can have more than one value. For example, an employee
entity can have multiple skill values.
[Type here]
Connecting lines:
Cardinality :
- It specifies how many instances of an entity relate to one instance of another entity.
- Ordinality is also closely linked to cardinality.
14
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
[Type here]
15
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
[Type here]
16
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
• Actors :
- An actor portrays any entity (or entities) that perform certain roles in a given system.
- The different roles the actor represents are the actual business roles of users in a
given system.
- An actor in a use case diagram interacts with a use case.
• Use Case :
- A use case in a use case diagram is a visual representation of a distinct
business functionality in a system.
- The key term here is "distinct business functionality”.
- To choose a business process as a likely candidate for modelling as a use case,
- you need to ensure that the business process is discrete in nature.
Use-Case
• SystemBoundary :
- A system boundary defines the scope of what a system will be.
- A system cannot have infinite functionality.
- So, it follows that use cases also need to have definitive limits defined.
- A system boundary of a use case diagram defines the limits of the system.
- The system boundary is shown as a rectangle spanning all the use cases in the system.
System
• Include :
- When a use case is depicted as using the functionality of another use case in
a diagram,
• Extend :
- In an extend relationship between two use cases, the child use case adds
- to the existing functionality and characteristics of the parent use case.
- An extend relationship is depicted with a directed arrow having a dotted shaft,
- similar to the include relationship.
- In this case, Payment <<extends>> Credit Card, SOS and External Credit Cards.
This means that Credit Card, SOS and external Credit Cards give extra functionality toPayment
methods.Payment can be done using these methods and Payment depends on these source
19
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
20
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
ACTIVITY DIAGRAMS :-
21
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
Action Flow :
- Action flows, also called edges and paths, illustrate the transitions from one
action state to another.
- They are usually drawn with an arrowed line.
Object Flow :
- An object flow arrow from an action to an object means that the action creates or
influences the object.
22
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
- An object flow arrow from an object to an action indicates that the action state
uses the object.
- When an activity requires a decision prior to moving on to the next activity, add
a diamond between the two activities.
- The outgoing alternates should be labeled with a condition or guard expression.
- You can also label one of the paths "else."
Guards :
- In UML, guards are a statement written next to a decision diamond that must be
true before moving next to the next activity.
- These are not essential, but are useful when a specific answer, such as "Yes,
three labels are printed," is needed before moving forward.
23
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
Synchronization :
- A fork node is used to split a single incoming flow into multiple concurrent flows.
- It is represented as a straight, slightly thicker line in an activity diagram.
- A join node joins multiple concurrent flows back into a single outgoing flow.
- A fork and join mode used together are often referred to as synchronization.
Time Event :
- This refers to an event that stops the flow for a time; an hourglass depicts it.
Merge Event :
- A merge event brings together multiple flows that are not concurrent.
24
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
- Signals represent how activities can be modified from outside the system.
- They usually appear in pairs of sent and received signals, because the state can't change
until a response is received, much like synchronous messages in a sequence diagram.
Interrupting Edge :
- An event, such as a cancellation, that interrupts the flow denoted with a lightning bolt.
Swimlanes :
25
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
- An arrow pointing to a filled circle nested inside another circle represents the final
action state.
26
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
27
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
SEQUENCE DIAGRAMS :-
- These can help to predict how a system will behave and to discover responsibilities
a class may need to have in the process of modeling a new system.
- When an object is busy executing a process or waiting for a reply message, use a
thin gray rectangle placed vertically on its lifeline.
Messages :
- Asynchronous messages are sent from an object that will not wait for a response
from the receiver before continuing its tasks.
Lifelines:
- Lifelines are vertical dashed lines that indicate the object's presence over time.
Loops:
Destroying Objects:
- Objects can be terminated early using an arrow labeled "<< destroy >>" that points
to an X.
- This object is removed from memory.
- When that object's lifeline ends, you can place an X at the end of its lifeline to
denote a destruction occurrence.
Synchronous Message :
- A synchronous message requires a response before the interaction can continue.
- It's usually drawn using a line with a solid arrowhead pointing from one object to another.
AsynchronousMessage:
- Asynchronous messages don't need a reply for interaction to continue.
- Like synchronousmessages, they are drawn with an arrow connecting two lifelines;
however, the arrowhead is usually open and there's no return message depicted.
- A reply message is drawn with a dotted line and an open arrowhead pointing back to
the original lifeline.
Self-Message :
Create Message :
- This is a message that creates a new object. Similar to a return message, it's depicted with a dashed
line and an open arrowhead that points to the rectangle representing the object created.
Delete Message :
- This is a message that destroys an object. It can be shown by an arrow with an x at the end.
Found/LostMessage :
- A message sent from/to an unknown recipient, shown by an arrow from an endpoint to a lifeline.
32
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
33
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
CLASS DIAGRAM :-
• What is a Class diagram?
- A class diagram is a static structural diagram.
KCTYIT004
Harshitaa Chatlani
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
• Visibility :
Use visibility markers to signify who can access the information contained within
a class.
- Private visibility, denoted with a - sign, hides information from anything outside
the class partition.
- Public visibility, denoted with a + sign, allows all other classes to view the
marked information.
- Protected visibility, denoted with a # sign, allows child classes to access
information they inherited from a parent class.
• Relationships :-
Inheritance :
- The subclasses inherit all the attributes and methods of the super class.
- Generalization is another name for inheritance or an "is a" relationship.
- For example, Honda is a type of car. So the class Honda would have a
generalization relationship with the class car.
KCTYIT004
Harshitaa Chatlani
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
Association :
- Association is just a relationship or a link between classes.
- There may be no dependency.
Aggregation :
- In aggregation when the container is destroyed, the contents are usually not destroyed.
- They still exist.
Composition :
- In composition, when the container is destroyed, the contents are also destroyed.
Dependency :
arshitaa Chatlani
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
Multiplicity :
- It specifies the number of objects that are involved in that association.
0 - No instances
0…1 - No instances or one instance
1 - Exactly one instance
1…1 -Exactly one instance
0…* - Zero or more instances
* -Zero or more instances
1…* - One or more instances
KCTYIT004
Harshitaa Chatlani
Downloaded by Siva Subramaniyan (rs.siva2006@gmail.com)
lOMoARcPSD|40602229
Harshitaa Chatlani
KCTY(IT)004
Harshitaa Chatlani
KCTY(IT)004
CHAPTER 5
Harshitaa Chatlani
KCTY(IT)004
AGILE METHODOLOGY
2. Define the business opportunity: This includes exploring how the new functionality
will improve your organization's presence in the market, how it will impact
profitability, and how it will impact the people within your organization.
3. Assess the feasibility: During the Concept Phase you will want to do just enough
feasibility analysis to determine if it makes sense to invest in the potential project.
Depending on the situation you may choose to invest very little effort in
considering feasibility
Harshitaa Chatlani
KCTY(IT)004
4. Actively working with stakeholders to initially model the scope of the system: To
promote active stakeholder participation you should use inclusive tools, such as white
boards to do this modeling – our goal is to understand the problem and solution
domain, not to create mounds of documentation. The details of these requirements are
modeled on a just in time (JIT) basis in model storming sessions during the
development cycles.
5. Estimating the project: You'll need to put together an initial estimate for your agile
project based on the initial requirements, the initial architecture, and the skills of
your team. This estimate will evolve throughout the project.
• The output code must not, in any way, change the meaning of the program.
• Optimization should increase the speed of the program and if possible, the program
should demand less number of resources.
• Optimization should itself be fast and should not delay the overall compiling process.
• Efforts for an optimized code can be made at various levels of compiling the process.
• At the beginning, users can change/rearrange the code or use better algorithms to
write the code.
• After generating intermediate code, the compiler can modify the intermediate code
by address calculations and improving loops.
• While producing the target machine code, the compiler can make use of memory
hierarchy and CPU registers.
• Optimization can be categorized broadly into two types: machine independent
and machine dependent.
MACHINE-INDEPENDENT OPTIMIZATION
In this optimization, the compiler takes in the intermediate code and transforms a
part of the code that does not involve any CPU registers and/or absolute memory
locations.
Harshitaa Chatlani
KCTY(IT)004
MACHINE-DEPENDENT OPTIMIZATION
This type of optimization is done after the target code has been generated and when the
code is transformed according to the target machine architecture. It involves CPU registers
and may have absolute memory references rather than relative references. Machine-
dependent optimizers put efforts to take maximum advantage of memory hierarchy.
We may use the following algorithm to find the basic blocks in a program:
• Search header statements of all the basic blocks from where a basic block starts:
• First statement of a program.
• Statements that are target of any branch (conditional/unconditional).
• Statements that follow any branch statement.
• Header statements and the statements following them form a basic block.
• A basic block does not include any header statement of any other basic block.
Basic blocks in a program can be represented by means of control flow graphs. A control
flow graph depicts how the program control is being passed among the blocks. It is a
useful tool that helps in optimization by help locating any unwanted loops in the program.
DEAD-CODE ELIMINATION
Dead code is one or more than one code statements, which are:
• Either never executed or unreachable,
• Or if executed, their output is never used.
• Thus, dead code plays no role in any program operation and therefore it
can simply be eliminated.
Harshitaa Chatlani
KCTY(IT)004
• Unit testing, a testing technique using which individual modules are tested to
determine if there are any issues by the developer himself. It is concerned with
functional correctness of the standalone modules.
• The main aim is to isolate each unit of the system to identify, analyze and fix the
defects.
• There are different methods that can be used for testing. This chapter briefly
describes the methods available.
BLACK-BOX TESTING
• The technique of testing without having any knowledge of the interior workings of
the application is called black-box testing. The tester is oblivious to the system
architecture and does not have access to the source code. Typically, while performing
a black-box test, a tester will interact with the system by providing inputs and
examining outputs without knowing how and where the inputs are worked upon.
GREY-BOX TESTING
• Grey-box testing is a technique to test the developed software with having a limited
knowledge of the internal workings of an application. Mastering the domain of a system
always gives the tester an edge over someone with limited domain knowledge. Unlike
black-box testing, where the tester only tests the systems working; in grey-box testing,
the tester has access to architecture documents. Having this knowledge, a tester can
prepare better test data and test scenarios while making a test plan.
Harshitaa Chatlani
KCTY(IT)004
● Upon completion of unit testing, the units or modules are to be integrated which
gives raise to integration testing. The purpose of integration testing is to verify the
functional, performance, and reliability between the modules that are integrated.
INTEGRATION STRATEGIES:
➢ Big-Bang Integration
➢ Top Down Integration
➢ Bottom Up Integration
➢ Hybrid Integration
• Beta testing also known as user testing takes place at the end users site by the end
users to validate the usability, functionality, compatibility, and reliability testing.
• Beta testing adds value to the software development life cycle as it allows the "real"
customer an opportunity to provide inputs into the design, functionality, and usability
of a product. These inputs are not only critical to the success of the product but also
an investment into future products when the gathered data is managed effectively.
• There are number of factors that depends on the success of beta testing:
➢ Test Cost
➢ Number of Test Participants
➢ Shipping
➢ Duration of Test
➢ Demographic coverage
Harshitaa Chatlani
KCTY(IT)004
Harshitaa Chatlani
KCTY(IT)004
Harshitaa Chatlani
KCTY(IT)004
Harshitaa Chatlani
KCTY(IT)004
Chapter 6
Harshitaa Chatlani
KCTY(IT)004
Chapter 7
Harshitaa Chatlani
KCTY(IT)004
The main objective behind cost and benefit Analysis is to assess the feasibility to determine
whether the developed project has a reasonable chance of success. A Requirement of the
economic feasibility of the Project always requires a thorough cost benefit analysis.
Development Costs
Are Those That are incurred During the development of new system, it includes:
• System Analysis Time
• Programming Time
• User Time
• Possible Hardware Purchase Cost
• Possible Software Purchase Cost
• Possible Outside Service Cost (eg. System Integration)
OPERATIONAL COSTS
Are Those That are incurred After the system is put into Projection, it includes:
• Computer Cost
• Communication Cost
• Operation Staff Cost
• Incremental User Cost
• Maintenance Cost
• Server Side Application Cost
Step 2:
The Second step is to estimate the anticipated financial benefits. Financial benefits Are the
expected annual saving or increase in revenue derived from the installation of new system
Step 3:
In the Third Step, the Cost/Benefit Analysis is Calculated Based on Detailed Estimated
Costs and Benefits
Harshitaa Chatlani
KCTY(IT)004
The most frequent error that happens here Is Lack of thorough Definition of costs
and Benefits
COST EVALUATION
SERVER COST:
.
ANALYSIS, DESIGNING AND CODING COST:
Analysis, Designing and Coding = No. of people involved in Project * Charges per day
No. of people involved in Project = 1
Charges per day =100
No. of Days = 120
Testing and Maintenance Cost = No. of hours * Charges per day * No. of Days
No. of Hours = 2
Charges per day = 50
No. of Days = 19
Testing and Maintenance Cost = 2 * 50 * 19 = 750 Rs.
Harshitaa Chatlani
KCTY(IT)004
Chapter 8
Harshitaa Chatlani
KCTY(IT)004
8.1 CONCLUSION
➢ It can be used with friends and family for faster and easier complaints registration
➢ Use of a dedicated server allows for monitoring and controlling incoming and
outgoing network traffic and also enhancing server security and configurations
➢ Admin access to the web application makes it easy to manage it rather than
accessing the server to manage it
Harshitaa Chatlani
KCTY(IT)004
➢ Admin has access to files uploaded by users, which will concern users of
their privacy.
➢ Only one server is used at the moment with no backup servers to back up
the data. This raises the question of reliability.
➢ Scaling the server resources will allow more people to use the application.
➢ Providing more features to allow users, manage their cloud storage efficiently.
Harshitaa Chatlani
KCTY(IT)004
9- References
1. The Joy of PHP Programming: A Beginner's Guide - by Alan Forbes
3. Head First PHP & MySQL -- by Lynn Beighley & Michael Morrison
4. Learning PHP, MySQL, JavaScript, and CSS: A Step-by-Step Guide to Creating Dynamic Websites
- by Robin Nixon
5. PHP & MySQL Web Development - by Luke Welling & Laura Thompson
Harshitaa Chatlani
KCTY(IT)004