Académique Documents
Professionnel Documents
Culture Documents
Page 1 of 157
Pro-Metric Center Management System
Page 2 of 157
Pro-Metric Center Management System
Page 3 of 157
Pro-Metric Center Management System
System Analysis is the first major phase of the software development life
cycle.
System analysis is a management technique used in designing a new
system, improving an existing system or solving a system problem
by the use of scientific techniques in order to determine where and
how improvements can be made with the view to meet objectives
in a more efficient, effective and economical manner i.e. System
analysis is the process of gathering and interpreting the facts,
diagnosing problems and using the facts to improve the system.
Once the developers have determined the required software, it’s the best
time to analyze the type of software that could answer the problems
encountered. System analysis will take a look at possible software. The goal
of a system analysis is to know the properties and functions of software that
would answer the concerns solicited from intended users.
Page 4 of 157
Pro-Metric Center Management System
Preliminary Investigation
Feasibility Study
Page 5 of 157
Pro-Metric Center Management System
Economic Feasibility
Economic analysis is the most frequently used method for evaluating the
effectiveness of a candidate system. More commonly known as cost / benefit
analysis, the procedure is to determine the benefits and savings that are
expected of a candidate system and compare them with costs. If benefits
outweigh costs, then the decision is made to design and implement the
system. Otherwise, further justification or alterations in the proposed system
From economic point of view we have found that the PCMS is beneficial for
the institution after automation. The PCMS includes following types of
benefits:
Cost of paper is reduced: It leads to reduction in cost of paper and
operational costs. For example, after implementing Pro- Metric Center
Management System the cost of question papers and answer sheets is
completely eliminated. This gives so much saving of money, which can
use in other developing work.
Cost of Security maintenances is reduced: Question paper leak is
the great threat of any manual examination system irrespective of
Page 6 of 157
Pro-Metric Center Management System
Technical Feasibility
Technical feasibility centers on the existing computer system (hardware,
software etc) and to what extent it can support the proposed addition. For
e.g.- if the current computer is operating at 80 % capacity - an arbitrary
ceiling – then running another application could overload the system or
require additional hardware. This involves financial considerations to
accommodate technical enhancements.
Page 7 of 157
Pro-Metric Center Management System
The PCMS is developed on the top of SQL Server RDBMS using Integrated
Development Environment provided by VISUALSTUDIO.NET. It is Web based
software, which provides multiprogramming and multi tasking environment.
Thus PCMS is using built in security and recovery feature of SQL Server
RDBMS. Also since the PCMS is developed using ASP.NET(c#) and therefore it
has used event driven and modular programming style. Thus it facilitates for
extendibility i.e. activities for new establishment can be easily added without
affecting the main program with less effort and cost.
Accordance to the definition of technical feasibility the compatibility between
front-end and back-end is very important. In our project the compatibility of
both is very good. The degree of compatibility of Visual Basic and SQL Server
RDBMS is very good. The response time is very fast and gives result are
provided at its quickest. I never find any difficulty when we used complex
query or heavy transaction. The speed of transaction was always constant.
This software provides facility to communicate to remote location.
Easy debugging
Security
Robust RDBMS
Page 8 of 157
Pro-Metric Center Management System
Operational Feasibility
It is common knowledge that computer installations have something to do
with turnover, transfers, retraining and changes in employee job status.
People are inherently resistant to change, and computers have been known
to facilitate change. An estimate should be made of how strong a reaction
the user staff is likely to have toward the development of a computerized
system.
The PCMS provides very good GUI’s to work with the GUI’s are very user
friendly the color combination and its intensity for background and
foreground are very beautiful so the user won’t feel any stress or strain on
their eyes.
The system can be implemented without affecting the current system. So far
as the technical skills to use the PCMS is concerned, even non-technical
person can use the system effectively.
This project also handles unexpected situation and informs to the user in the
correct format, so that right decision can be taken at appropriate situations.
This project is well documented to support management and end-user so
Page 9 of 157
Pro-Metric Center Management System
that problem can be solved at the meantime when it requires. Thus system
requires less effort and time to get acquainted with.
Page 10 of 157
Pro-Metric Center Management System
Project Planning
Project planning is part of project management, which relates to the use of
schedules such as Gantt charts to plan and subsequently report progress within the
project environment.
Initially, the project scope is defined and the appropriate methods for completing
the project are determined. Following this step, the durations for the various tasks
necessary to complete the work are listed and grouped into a work breakdown
structure. The logical dependencies between tasks are defined using an activity
network diagram that enables identification of the critical path. Float or slack time
in the schedule can be calculated using project management software. Then the
necessary resources can be estimated and costs for each activity can be allocated
to each resource, giving the total project cost. At this stage, the project plan may be
optimized to achieve the appropriate balance between resource usage and project
duration to comply with the project objectives. Once established and agreed, the
plan becomes what is known as the baseline. Progress will be measured against the
baseline throughout the life of the project. Analyzing progress compared to the
baseline is known as earned value management.
Page 11 of 157
Pro-Metric Center Management System
Project Scheduling
Scheduling is an inexact process in that it tries to predict the future. While it
is not possible to know with certainty how long a project will take, there are
techniques that can increase your likelihood of being close. If you are close
in your planning and estimating, you can manage the project to achieve the
schedule by accelerating some efforts or modifying approaches to meet
required deadlines.
Experience teaches that things usually take longer than we think they will,
and that giving away schedule margin in the planning phase is a sure way to
ensure a highly stressed project effort. People tend to be optimistic in
estimating schedules and, on average, estimate only 80% of the time
actually required.
Page 12 of 157
Pro-Metric Center Management System
As window become very popular, Microsoft realized that the Test Qbasic
would not work as a windowed programming language. Microsoft developed
visual basic.net, a language based on BASIC but one much more suited to
today’s windowed environments, where as Qbasic and all other BASIC
incarnations were text based, visual basic.net is graphical.
Microsoft did not create visual basic directly from the original BASIC
language. Although the basic language evolved through several stages over
its 35-plus year history, it kept its primary programming supplied with the
original MS-DOS operating system however it honed the basic language and
added functionally to basic by creating several incarnations of basic with
names.
The language kept its simple nature while gaining powerful new commands
along the way. The text-based nature lf language helps new programmers
get up to speed more quickly than many non text languages such as Visual
C++ do.
An interpreted language makes lets user run programs as users write them.
Interpreted language makes good learning platforms because of their quick
feedback. With Visual Studio, Microsoft taught the programming community
these and other lessons:
Page 13 of 157
Pro-Metric Center Management System
A Visual Studio program consists of the visual interface that makes up the
windows and controls that the user sees and interacts with. In addition,
programming code connects everything together. Each control is both
automated and set up to respond to the programming code.
1. ActiveX Control
2. DCOM
3. ADO.Net
4. OLE
Page 15 of 157
Pro-Metric Center Management System
The SQL Server provides efficient and effective solutions with the following
features:
Large databases: SQL Server supports the largest database, which can
contain terabytes
High availability: At some sites, SQL Server works 24 hours per day with
no down time to limit database throughput. Normal system operation such
as database backup and partial system failures do not interrupt database
use.
SQL Server also supports the Simple Network Management Protocol (SNMP)
standard for system management. This protocol allows administrators to
manage heterogeneous systems with a single administration interface.
Page 17 of 157
Pro-Metric Center Management System
SQL Server also offers the heterogeneous option that allows users to access
data on some non- SQL Server database transparently.
We can define and manipulate data in table with SQL statements. We use
data definition language (DDL) statements to set up the data. DDL
statements include statements for creating and altering databases and
tables. We can also update, delete, or retrieve data in a table with data
manipulation language (DDL). DML statements include statements to alter
the fetch data. The most common SQL statement is the SELECT statement,
which allows us to retrieve data from the database.
Page 19 of 157
Pro-Metric Center Management System
Data Utilities: There are three utilities for moving a subset of an Oracle
database from one database to another: Export, Import, and SQL *
Loader.
Page 20 of 157
Pro-Metric Center Management System
OPERATING SYSTEM
Hardware Requirements
: 10/100 Ethernet
Card
SOFTWARE REQUIREMENTS
Page 21 of 157
Pro-Metric Center Management System
: Internet Explorer
5.0 and above
Page 22 of 157
Pro-Metric Center Management System
A process model for s/w engineering is chosen based on the nature of the
project and application. Some popular process models are waterfall model,
prototyping model, incremental model and spiral model.
• Customer communication
• Planning
• Risk Analysis
• Customer evaluation
Page 23 of 157
Pro-Metric Center Management System
Plan: In this phase, the objectives, alternatives and constraints of the project
are determined and are documented. The objectives and other specifications
are fixed in order to decide which strategies/approaches to follow during the
project life cycle.
Risk Analysis: This phase is the most important part of "Spiral Model". In
this phase all possible (and available) alternatives, which can help in
developing a cost effective project are analyzed and strategies are decided
to use them. This phase has been added specially in order to identify and
resolve all the possible risks in the project development. If risks indicate any
kind of uncertainty in requirements, prototyping may be used to proceed
with the available data and find out possible solution in order to deal with the
potential changes in the requirements.
Page 24 of 157
Pro-Metric Center Management System
However, as every system has its own pros and cons, "The Spiral Model"
does have its pros and cons too. As this model is developed to overcome the
disadvantages of the "Waterfall Model", to follow "Spiral Model", highly
skilled people in the area of planning, risk analysis and mitigation,
development, customer relation etc. are required. This along with the fact
that the process needs to be iterated more than once demands more time
Planning
and is somehow expensive task.
Customer
Project Communicatio
entry point n
axis Risk Analysis
Engineerin
g
Page 25 of 157
Customer
Evaluation
Construction &
release
Pro-Metric Center Management System
PCMS has used this model, as it is very user interactive. In each its creation, we
follow the whole software development life cycle and at the end of each iteration
the customer evaluation is made, so it reduced the probability of misdirection of
project development.
Page 26 of 157
Pro-Metric Center Management System
FLOW CHART
Employee OR Administrator
Accept
Employee
Id and
Password
If Employe
authentic e
Employe Welcome
e Page
Add New
Set Add New Change
Center and
Questions Employee Password
Courses
Sign Out
Page 27 of 157
Pro-Metric Center Management System
Examinee
Accept
User Id and
Password
If User
authentic Welcome
User Page
Sign Out
Page 28 of 157
Pro-Metric Center Management System
Login
Add Courses
Details
Add
Institutes
Add Employee
Details
Register for
exam
Take exam
and get
result
Page 29 of 157
Pro-Metric Center Management System
E-R DIAGRAM
The E-R diagram or entity relationship model was originally proposed by
Peter Chen .The E-R model is a semantic modeling technique, which is useful
in mapping the meaning and interaction of real world enterprises. The
primary purpose of the E-R diagram is to represent the data objects and their
relationships.
ENTITY TYPE: It defines a set of entities that have the same attributes.
Page 30 of 157
Pro-Metric Center Management System
RECTANGLE IT REPRESENTS
ENTITY SETS
DIAMOND IT REPRESENTS
RELATIONSHIPS
Page 31 of 157
Pro-Metric Center Management System
Student Serial_N
Name
_Id o
Q_Id
User_An
s
Addres Appe
s Selected Question
Examinee ar
Q_I Answe
Q_Id
Subject d r Ha Consis
s t of
Ge
Subject_
ts
Answer Ha Multiple Id
s Choices
Subject_ Option
Giv
Id
es
Giv
True / False es
Total_Ma
rks
Result
Q_I Ha No_of_qu
S_Id Subject_ s
d es_total
Id
Question
Topic_I Ha Alloted_Ti
Selection
d Subject Topic s
me
Format
Topic_descrip Subject_
tion i Id
o ns Ha
C of
st s
Subject_ Subject_
Id Id
Page 32 of 157
Stream Subject Subject_N
ame
Pro-Metric Center Management System
0-LEVEL
Page 33 of 157
Pro-Metric Center Management System
Examinee
Examinee
Examinee
Examinee
Pro-Metric
Examinatio Examinatio
Center
n Controller n Controller
Management
System
Examinatio Examinatio
n Controller n Controller
Exam
1.3 Controller
Administra
tion
Exam
process
Controller
Selection
1.4 Exam
randomly
process Controller
Exam
Controller 1-LEVEL
1.5
Examinati Examinee
on process
Examinee
1.6
Evaluation
Examinee
& report
generation
Page 34 of 157
Examinee
Pro-Metric Center Management System
Eligibility
Criteria
1.2 Examin
ee
Data Entry
Process
Data Entry Report
Operator 1.1.
2-LEVEL
2
Database
1. Enrolment Module Update
1.1.
Examinee
Process
1
Eligibility
Examinatio
Checking
n
Process Controller
Examinatio
n
Controller Examinee
1.1.3
Not eligible
candidate
Data Entry
process Operator
Page 35 of 157
Report
Visitor
Pro-Metric Center Management System
Data Entry
Operator
2. Data Entry Module 1.2.
1 1.2.
Validation
2
Checking Task
Process Resolving
Process
Registrati
on
Data Entry
Operator
1.1
1.2.
Registration
Examinee 3Q
Process
Repository
Updation
1.5 rocess Examinee
Evaluation
Process QRepos
itory Data Entry
Page 36 of 157
Operator
Integrated
Report
Pro-Metric Center Management System
1.3. Question
1 selection format
Question
Selection
Process
1.3.2
Random
number
Examinatio generator
n Controller 1.3.
Process
3
Selected Resul
t
Question 1.5
Process
Evaluation
Process
1.4
Page 37 of Selected
157
Process
Pro-Metric Center Management System
4. Examination Module
1.4.
Registered
1
Examinee Student
Login
Process 1.4.
2
Timer
controlling
Examinee
Process
1.3.
3
Selected
Question
Answer
Navigation 1.5
Process Answer
Handling
Selected
Question Process
1.4
Evaluation
and Report Report
Process
Page 38 of 157 Examinee
Result
Pro-Metric Center Management System
1.4
Examinati
on Process
Examinee
1.5.
1
Comparison Question Bank
Users
Answer
1.5.
Process 2
Marks
Calculation
Process
1.5.
3
Topic Wise
Selection
Marks Details
Process
Report
Subject
Page 39 of 157
Examinee
Pro-Metric Center Management System
6. Administrative Process
Policy
Question
1.6. Selection
1
Eligibility Format
Policy
Setting
1.6.2
Process
Question
Examinatio
n Controller Selection
Format Process
1.6.
3
Examination
Policy
Examinatio
Setting
n
Process Controller
Examinatio
n
1.4
Controller
Examination
Process
Page 40 of 157
Pro-Metric Center Management System
System design involves first logical design and then physical design
construction of the system. When analysis formulates logical design, they
describe its future, the output, the input, files, databases and procedures.
The statement of these features are termed as design specifications
physical construction, the activity followed logical design procedures
program s/w, files and a working system. Design specification instructs
programmers about what the system does. The programmers in turn write
the program that accept data from the users, process data, procedure
reports and store data.
Principles
1. Data Design
2. Architectural Design
3. Interface Design
Data Design
The data design transforms the information domain model created during analysis
into the data structures that will be required to implement the software. The data
objects and relationships defined in the entity relationship diagram and the
detailed data content depicted in the data dictionary provide basis for the
Page 41 of 157
Pro-Metric Center Management System
data design activity. Part of the data design may occur in conjunction with
the design of s/w architecture.
Inaccurate input data is the most common source of error in data processing.
Errors entered by the data entry operator can be controlled by the
input design. Input design is the process of converting user - originated
inputs to a computer based formats. The goals of designing input data
is to make data entry as easy, logical and free from errors as possible .In
entering data operators need to know the following points
Modularization Details
Page 42 of 157
Pro-Metric Center Management System
1. Administrative Module
2. Enrollment Module
3. Question Repository Module
4. Evaluation Module
5. Grade and Report Module
Pro-metric center
management system
Question Grade
Enrollmen Repositor and
Administrativ t Modules y Evaluatio Report
e Module Modules n Module Module
Administrative Module:
User management
Change password
Subject Entry
Set Question Paper
Administrative module performs all controlling activity of the examination
system. It creates users of the system for several purposes. There are mainly
three category of the user exists in the system such as examination
controller, examinee and data entry operator. This module will assist to
manage user (creating user, deleting user, change password of the user etc).
Question paper setting is the major concern of this module. New subject can
be entered in the system through this module because it needs the
permission of administrator. Different policies such as eligibility criteria,
Page 43 of 157
Pro-Metric Center Management System
Enrollment Module:
New Examinee Registration
List of Registered Examinee
Page 44 of 157
Pro-Metric Center Management System
Evaluation Module:
Conducting the Examination
Select Question Paper Randomly from the Database
Grade and report module handles the evaluation process of the On Line Test.
This module checks and compares the answer given by the examinee and
the standard answer, which is already stored in the database. Total correct
answer is then evaluated on the basis of predefined marks. This module also
Page 45 of 157
Pro-Metric Center Management System
Architectural Design
The architectural design defines the relationship between major structural elements
of the software, the “design patterns” that can be used to achieve the requirements
that have been defined for the system, and the constraints that affect the way in
which architectural design patterns can be applied. The architectural design
representation – the framework of a computer-based system - can be derived from
the system specification, the analysis model, and the interactions of subsystems.
Although millions of computer based systems have been created over the past 50
years, the vast majority can be categorized into one of these relatively small
numbers of architectural styles –
Data – centered architectures ( this approach has been followed in the “On
line Examination Security System”)
Data – flow architectures
Call and return architectures
Object – oriented architectures
Layered architecture
Page 46 of 157
Pro-Metric Center Management System
Page 47 of 157
Pro-Metric Center Management System
CONSTRAINTS USED
Constraints are used to put restrictions on the type of data that can be
entered into the database. SQL provides different types of constraints; we
had used few of them in our database according to our requirements. These
are:
Primary Key
This constraint is used to create the primary key on one of the field
of the tables. The field made primary key should contain all unique
values also it should not contain any null value. This constraint is
used to remove redundancy in the data as well as make searching
of the records very easy and fast. For example:
Foreign Key
This key is based on the basis of the primary key of some other
table. This used to establish a relation between different tables.
Page 48 of 157
Pro-Metric Center Management System
Check
This constraint provides the facility to enter only the values
specified into the field none another them that. If this constraint is
set so it will not accept any different value then specified.
Not Null
This constraint is used to set the restriction on the fields due to
which they can’t contain the null values. In our database various
fields bears this constraint.
Page 49 of 157
Pro-Metric Center Management System
Data Dictionary
Member Table
Column Name Data Type Length Null-able
User_Id Varchar 6 No
Password Varchar 25 No
Address Varchar 50 No
DOB Date No
User_name Varchar 25 No
User_type Varchar 15 No
Subject_topic Table
Column Name Data Type Length Null-able
Topic_id Varchar 6 No
Topic_description Varchar 50 No
Subject_id Varchar 6 No
Subject_id Varchar 6 No
Topic Varchar 40 No
Subject Varchar 20 No
Alloted_time Varchar 3 No
LVL Varchar 10 No
Qn_type Varchar 16 No
No_of_qn_total Number 3 No
No_of_qn_topic Number 3 No
Subject Table
Column Name Data Type Length Null-able
Subject_id Varchar 6 No
Subject_name Varchar 40 No
Stream Varchar 40 No
True_false Table
Column Name Data Type Length Null-able
Qid Varchar 6 No
Ans Varchar 4 No
Page 51 of 157
Pro-Metric Center Management System
Subject_id Varchar 6 No
Topic_id Varchar 6 No
LVL Varchar 15 No
Multiple_choice Table
Column Name Data Type Length Null-able
Qid Varchar 6 No
Ans Varchar 4 No
Topic Varchar 6 No
Subject_id Varchar 6 No
LVL Varchar 15 No
Result Table
Column Name Data Type Length Null-able
Page 52 of 157
Pro-Metric Center Management System
Ctrl_No Varchar 6 No
Examinee Table
Column Name Data Type Length Null-able
Examinee_id varchar 6 No
Name varchar 25 No
Address varchar 50 No
DOB Date No
Optlevel Varchar 10 No
Page 53 of 157
Pro-Metric Center Management System
Selected_qn Table
Column Name Data Type Length Null-able
Qid varchar 6 No
Serial_no number 3 No
Page 54 of 157
Pro-Metric Center Management System
INTERFACE DESIGN
The interface design is the how the application looks like, what types of
screens are available to the users to work with. This tells about the GUI of
the application and showcase the user-friendliness of application.
Login Page
This allows the user of the application to login in the application and proceed
with the further work as per there authorization.
Page 55 of 157
Pro-Metric Center Management System
This is the screen which an authentic employee of the PCMS will get after
entering there credentials in the login screen.
Registration Screen
There are two different screens to register for both the users
(Employee/Examinee).
Page 58 of 157
Pro-Metric Center Management System
EMPLOYEE REGISTRATION
Page 59 of 157
Pro-Metric Center Management System
EXAMINEE REGISTRATION
Set Question
Page 60 of 157
Pro-Metric Center Management System
This screen allows employees to set the papers for different topics.
Change Password
Screen is used to change the password.
Page 61 of 157
Pro-Metric Center Management System
Page 62 of 157
Pro-Metric Center Management System
Page 63 of 157
Pro-Metric Center Management System
Course Details
Allows examinees to see the courses and there respective fees.
Page 64 of 157
Pro-Metric Center Management System
Page 65 of 157
Pro-Metric Center Management System
Page 66 of 157
Pro-Metric Center Management System
Start Exam
This screen will visible to examinee after clicking on the Start Exam.
Page 67 of 157
Pro-Metric Center Management System
Page 68 of 157
Pro-Metric Center Management System
Feedback Screen
This allows the user to submit there feedback to the center as per which new
improvement can be done.
Page 69 of 157
Pro-Metric Center Management System
Page 70 of 157
Pro-Metric Center Management System
Employee Registration
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SQLClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace PCMS
Page 71 of 157
Pro-Metric Center Management System
if(!Page.IsPostBack)
Page.SmartNavigation= true;
}
Page 73 of 157
Pro-Metric Center Management System
cmd.Connection = conn;
cmd.Parameters.Add(newSQLParameter("@EmployeeId", SQLDbType.
VarChar)).Value = TextBox1.Text;
cmd.Parameters.Add(newSQLParameter"@Password", SQLDbType.
VarChar)).Value = TextBox2.Text;
cmd.Parameters.Add(new SQLParameter("@FatherName",
SQLDbType.VarChar)).Value = TextBox4.Text;
cmd.Parameters.Add(new SQLParameter("@DateOfBirth",
Page 74 of 157
Pro-Metric Center Management System
SQLDbType.DateTime)).Value =TextBox5.Text.ToString();;
cmd.Parameters.Add(new SQLParameter("@Email",SQLDbType.
VarChar)).Value = TextBox12.Text;
cmd.Parameters.Add(new
SQLParameter("@Gender",SQLDbType.VarChar)).Value = DropDownList1.
SelectedItem.Value;
cmd.Parameters.Add(new SQLParameter("@Nationality",SQLDbType.
VarChar)).Value = TextBox13.Text;
cmd.Parameters.Add(new SQLParameter("@Qualification",SQLDbType.
VarChar)).Value = DropDownList3.SelectedItem.Value;
cmd.Parameters.Add(new SQLParameter("@QUnivesity",SQLDbType.
VarChar)).Value = DropDownList4.SelectedItem.Value;
Page 75 of 157
Pro-Metric Center Management System
cmd.Parameters.Add(new SQLParameter("@QYearOfPass",SQLDbType.
VarChar)).Value = DropDownList5.SelectedItem.Value;
cmd.Parameters.Add(new SQLParameter("@Percentage",SQLDbType.
VarChar)).Value = DropDownList6.SelectedItem.Value;
try
cmd.Connection.Open();
cmd.ExecuteNonQuery();
label1.Forecolor= Color.Navy();
catch( SQLExceton se )
label1.Forecolor= Color.Red();
else
label1.Forecolor= Color.Red();
Page 76 of 157
Pro-Metric Center Management System
label1.Forecolor= Color.Red();
finally
{ cmd.Connection.Close();
User Registration
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SQLClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
Page 77 of 157
Pro-Metric Center Management System
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace PCMS
if(!Page.IsPostBack)
{
Page 80 of 157
Pro-Metric Center Management System
Page.SmartNavigation= true;
cmd.Connection=conn;
Page 81 of 157
Pro-Metric Center Management System
cmd.Parameters.Add(new SQLParameter("@UserId",SQLDbType.
VarChar)).Value = TextBox1.Text;
cmd.Parameters.Add(new SQLParameter("@Password",SQLDbType.
VarChar)).Value = TextBox2.Text;
cmd.Parameters.Add(new SQLParameter("@FatherName",SQLDbType.
VarChar)).Value = TextBox4.Text;
cmd.Parameters.Add(new SQLParameter("@DateOfBirth",SQLDbType.
DateTime)).Value =TextBox5.Text.ToString();;
cmd.Parameters.Add(new SQLParameter("@Address",SQLDbType.
VarChar)).Value = TextBox6.Text;
cmd.Parameters.Add(new SQLParameter("@State",SQLDbType.
VarChar)).Value =TextBox8.Text;
cmd.Parameters.Add(new SQLParameter("@Email",SQLDbType.
VarChar)).Value = TextBox12.Text;
cmd.Parameters.Add(new SQLParameter("@Gender",SQLDbType.
VarChar)).Value = DropDownList1.SelectedItem.Value;
cmd.Parameters.Add(new SQLParameter("@Nationality",SQLDbType.
VarChar)).Value = TextBox13.Text;
Page 82 of 157
Pro-Metric Center Management System
cmd.Parameters.Add(new SQLParameter("@DateOfExam",SQLDbType.
DateTime)).Value =TextBox14.Text.ToString();;
cmd.Parameters.Add(new SQLParameter("@Qualification",SQLDbType.
VarChar)).Value = DropDownList2.SelectedItem.Value;
cmd.Parameters.Add(new SQLParameter("@QUnivesity",SQLDbType.
VarChar)).Value = DropDownList3.SelectedItem.Value;
cmd.Parameters.Add(new SQLParameter("@QYearOfPass",SQLDbType.
VarChar)).Value = DropDownList4.SelectedItem.Value;
cmd.Parameters.Add(new SQLParameter("@Percentage",SQLDbType.
VarChar)).Value = DropDownList5.SelectedItem.Value;
cmd.Parameters.Add(new SQLParameter("@DDBank",SQLDbType.
VarChar)).Value = TextBox16.Text;
cmd.Parameters.Add(new SQLParameter("@DDDate",SQLDbType.
DateTime)).Value =TextBox17.Text.ToString();;
try
cmd.Connection.Open();
cmd.ExecuteNonQuery();
label1.Forecolor= Color.Navy();
}
Page 83 of 157
Pro-Metric Center Management System
catch( SQLExceton se )
label1.Forecolor= Color.Red();
else
label1.Forecolor= Color.Red();
label1.Forecolor= Color.Red();
finally
{
Page 84 of 157
Pro-Metric Center Management System
cmd.Connection.Close();
if(DropDownList1.SelectedItem.Text.ToString() == "India")
DropDownList7.Items.Clear();
DropDownList7.Items.Add(new ListItem("Delhi","Dl"));
DropDownList7.Items.Add(new ListItem("Banglore","Ba"));
DropDownList7.Items.Add(new ListItem("Patna","Pa"));
DropDownList7.Items.Add(new ListItem("Mumbai","Mu"));
DropDownList7.Items.Add(new ListItem("Chenai","Ch"));
DropDownList7.Items.Add(new ListItem("Calcutta","Ca"));
DropDownList7.Items.Add(new ListItem("Kanpur","Ka"));
DropDownList7.Items.Add(new ListItem("Allahabad","Al"));
DropDownList7.Items.Add(new ListItem("Haidrabad","Ha"));
Page 85 of 157
Pro-Metric Center Management System
DropDownList7.Items.Add(new ListItem("Ahmadabad","Ah"));
DropDownList7.Items.Add(new ListItem("Ranchi","Ra"));
DropDownList7.Items.Add(new ListItem("Guhati","Gu"));
DropDownList7.Items.Clear();
DropDownList7.Items.Add(new ListItem("Amesdam","Am"));
DropDownList7.Items.Add(new ListItem("Washingatan","Wa"));
DropDownList7.Items.Add(new ListItem("Jonesburg","Jo"));
DropDownList7.Items.Add(new ListItem("Luxamburg","Lu"));
DropDownList7.Items.Add(new ListItem("Toronto","To"));
DropDownList7.Items.Clear();
Page 86 of 157
Pro-Metric Center Management System
DropDownList7.Items.Add(new ListItem("Melborne","Ml"));
DropDownList7.Items.Add(new ListItem("Sidnee","Sa"));
DropDownList7.Items.Add(new ListItem("Sanghai","Sa"));
if(DropDownList7.SelectedItem.Text.ToString() == "Delhi")
DropDownList8.Items.Clear();
Page 87 of 157
Pro-Metric Center Management System
DropDownList8.Items.Clear();
DropDownList8.Items.Clear();
}
Page 89 of 157
Pro-Metric Center Management System
Courses
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SQLClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace PCMS
Page 90 of 157
Pro-Metric Center Management System
if(!Page.IsPostBack)
Page.SmartNavigation= true;
CurrentPageNumber=1;
BindData();
BindData();
Page 91 of 157
Pro-Metric Center Management System
cmd.Connection=conn;
cmd.Parameters.Add(new SQLParameter("@CourseLevel",SQLDbType.
VarChar)).Value = DropDownList1.SelectedItem.Value;
cmd.Parameters.Add(new SQLParameter("@Course",SQLDbType.
VarChar)).Value = DropDownList2.SelectedItem.Value;
cmd.Connection.Open();
try
Page 92 of 157
Pro-Metric Center Management System
cmd.Connection.Open();
rdr=cmd.ExecuteReader();
DataGrid1.DataSource=rdr;
DataGrid1.DataBind();
finally
cmd.Connection.Close();
CurrentPage.Text=CurrentPageNumber.ToString();
if(!Page.IsPostBack)
TotalPages.Text=(System.Math.Ceiling(Double.Parse
(Total_Pages.ToString()))).ToString();
if(CurrentPageNumber==1)
Page 93 of 157
Pro-Metric Center Management System
PreviousPage.Enabled=false;
NextPage.Enabled=true;
else
if(CurrentPageNumber==Int32.Parse(TotalPages.Text))
NextPage.Enabled= false;
PreviousPage.Enabled=true;
else
PreviousPage.Enabled=true;
NextPage.Enabled=true;
Page 94 of 157
Pro-Metric Center Management System
switch(e.CommandName)
case "First":
CurrentPageNumber = 1;
break;
case "Last":
CurrentPageNumber =
Int32.Parse(TotalPages.Text);
break;
case "Next":
CurrentPageNumber =
Int32.Parse(CurrentPage.Text)+1;
break;
case "Prev":
CurrentPageNumber =
Int32.Parse(CurrentPage.Text)-1;
break;
BindData();
Page 95 of 157
Pro-Metric Center Management System
Response.Redirect("Fee Details.aspx");
Response.Redirect("Feedback.aspx");
Response.Redirect("PCMS.aspx");
Page 96 of 157
Pro-Metric Center Management System
Feedback
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Web.Mail;
namespace PCMS
Page 97 of 157
Pro-Metric Center Management System
protected System.Web.UI.WebControls.Button
SendMessageNoMessageObj;
if(!Page.IsPostBack)
Page.SmartNavigation= true;
Page 98 of 157
Pro-Metric Center Management System
myMail.From= fromAddress.Text;
myMail.To=sendToAddress.Text;
myMail.Subject=messageSubject.Text;
myMail.Body=messageBody.Text;
// This server is the outgoing mail server. Make sure it can relay
messages matching the address in the From property.
SmtpMail.SmtpServer=SMTPServerName.Text;
// The Send method of the SmtpMail class will send the email to the
address listed in the To property</summary>
Page 99 of 157
Pro-Metric Center Management System
SmtpMail.Send (myMail);
string to = sendToAddress.Text;
SmtpMail.SmtpServer=SMTPServerName.Text;
if (fileNameToAttach.Text == "" )
return;
mailWithAttachment.Attachments.Add(myAttachment);
// Set the From property for the emailThe value must be an address
that can be relayed by the mail server.
mailWithAttachment.From=fromAddress.Text;
// Set the Subject property for the emailThis property sets the
subject for the email.
mailWithAttachment.To=sendToAddress.Text;
// Set the Body property for the emailThis is the actual message. It
can be text or HTML.
mailWithAttachment.Body=messageBody.Text;
// Set the Subject property for the email This property sets the
subject for the email.
mailWithAttachment.Subject=messageSubject.Text
SmtpMail.SmtpServer=SMTPServerName.Text;
// The Send method of the SmtpMail class will send the email to the
address listed in the To property.The mail object is passed to the
Send method</value>
SmtpMail.Send(mailWithAttachment);
Employee Login
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace PCMS
if(!IsPostBack)
Page.SmartNavigation=True;
Response.Redirect("PCMS.aspx");
Response.Redirect("Changepassword.aspx");
Response.Redirect("Feechanges.aspx");
Response.Redirect("Employee Registration.aspx");
Response.Redirect("Question.aspx");
Response.Redirect("New Centre.aspx");
Response.Redirect("Edit Record.aspx");
Question
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SQLClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace PCMS
{
Page 107 of 157
Pro-Metric Center Management System
if(!Page.IsPostBack)
Page.SmartNavigation= true;
CurrentPageNumber=1;
cmd.Connection=conn;
cmd.Parameters.Add(newSQLParameter("@Question,SQLDbType.VarChar)).
Value = TextBox1.Text;
cmd.Parameters.Add(newSQLParameter("@Ans1",SQLDbType.VarChar)).
Value = TextBox2.Text;
cmd.Parameters.Add(newSQLParameter("@Ans2",SQLDbType.VarChar)).Value
=TextBox3.Text;
cmd.Parameters.Add(newSQLParameter("@Ans3,SQLDbType.VarChar)).Value =
TextBox1.Text;
cmd.Parameters.Add(newSQLParameter("@Ans4",SQLDbType.VarChar)).Value =
TextBox2.Text;
cmd.Parameters.Add(newSQLParameter("@Ans",SQLDbType.VarChar)).Value
=TextBox3.Text;
try
cmd.Connection.Open();
cmd.ExecuteNonQuery();
label1.Forecolor= Color.Navy();
catch( SQLExceton se )
label1.Forecolor= Color.Red();
else
label1.Forecolor= Color.Red();
label1.Forecolor= Color.Red();
finally
cmd.Connection.Close();
TextBox1.Text=" "
TextBox2.Text=" "
TextBox3.Text=" "
TextBox4.Text=" "
TextBox5.Text=" "
TextBox6.Text=" "
cmd.CommandText="Update Question
Question=@Question,Ans1=@Ans1,Ans2=@Ans2,Ans3=@Ans3,Ans4=@Ans4,Ans=@An
s)";
cmd.Connection=conn;
cmd.Parameters.Add(newSQLParameter("@Question,SQLDbType.VarChar)).Valu
e = TextBox1.Text;
cmd.Parameters.Add(newSQLParameter("@Ans1",SQLDbType.VarChar)).Value =
TextBox2.Text;
cmd.Parameters.Add(newSQLParameter("@Ans2",SQLDbType.VarChar)).Value
=TextBox3.Text;
cmd.Parameters.Add(newSQLParameter("@Ans3,SQLDbType.VarChar)).Value =
TextBox1.Text;
cmd.Parameters.Add(newSQLParameter("@Ans4",SQLDbType.VarChar)).Value =
TextBox2.Text;
cmd.Parameters.Add(newSQLParameter("@Ans",SQLDbType.VarChar)).Value
=TextBox3.Text;
try
cmd.Connection.Open();
cmd.ExecuteNonQuery();
label1.Forecolor= Color.Navy();
catch( SQLExceton se )
label1.Forecolor= Color.Red();
else
label1.Forecolor= Color.Red();
label1.Forecolor= Color.Red();
finally
{
Page 114 of 157
Pro-Metric Center Management System
cmd.Connection.Close();
Response.Redirect("PCMS.aspx");
SQLConnectionconn=newSQLConnection("Server=localhost;Database=
Northwind;Trusted_Connection=yes");
cmd.Connection=conn;
cmd.Parameters.Add(newSQLParameter("@QId,SQLDbType.VarChar)). Value =
TextBox1.Text;
try
md.Connection.Open();
cmd.ExecuteNonQuery();
label1.Forecolor= Color.Navy();
catch( SQLExceton se )
label1.Forecolor= Color.Red();
else
label1.Forecolor= Color.Red();
label1.Forecolor= Color.Red();
finally
cmd.Connection.Close();
Main Page
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace PCMS
if(!Page.IsPosBack)
Page 118 of 157
Pro-Metric Center Management System
Page.SmartNavigation=true;
Response.Redirect("User Registration.aspx");
Response.Redirect("Login.aspx");
Response.Redirect("Courses.aspx");
Response.Redirect("FeeDetails.aspx");
Page 119 of 157
Pro-Metric Center Management System
Response.Redirect("examcenre.aspx.aspx");
Response.Redirect("rexsul.aspx");
Response.Redirect("About Us.aspx");
Response.Redirect("feedback.aspx");
Response.Redirect("NewCourses.aspx");
}
Page 120 of 157
Pro-Metric Center Management System
Admit Card
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SQLClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace PCMS
if(!IspostBack)
Page.SmartNavigation=true;
sda.Fill(ds,"user");
DataGrid1.DataSource=dview;
DataGrid1.DataBind();
Password Change
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace PCMS
cmd.Connection=conn;
cmd.Parameters.Add(new SQLParameter("@Password,SQLDbType.
VarChar)).Value = TextBox1.Text;
try
cmd.Connection.Open();
cmd.ExecuteNonQuery();
label1.Forecolor= Color.Navy();
catch( SQLExceton se )
label1.Forecolor= Color.Red();
else
label1.Forecolor= Color.Red();
label1.Forecolor= Color.Red();
finally
cmd.Connection.Close();
Result
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SQLClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace PCMS
if(!IspostBack)
Page.SmartNavigation=true;
sda.Fill(ds,"user");
DataGrid1.DataSource=dview;
DataGrid1.DataBind();
Response.Redirect("FeedBack.aspx");
Response.Redirect("PCMS.aspx");
Code Efficiency
Efficiency is actually a quality control factor that refers to the degree to
which the software (code) makes optimal use of system resources as
indicated by the following sub attributes: time behavior, resource
behavior. The code used in this project is efficient in my point of view
because I tried to modularity of the code i.e. one module is very much
less dependent on other module’s code. I try to maintain less coupling
between modules code and try to define a single function for each
individual task.
Optimization of Code
We find optimal solution of a project that is cost effective as well as time
effective. Both are equally important for a project. We divide the project into
modules so that we can easily understand the project. And also it will take
less time to solve the problems. Modularity is the single attribute of software
that allows a program to be intellectually manageable.
These are the modules which are used in the project are as follows—
User management
Change password
Subject Entry
Set Question Paper
Error Handling
A run-time error takes place during the execution of a program, and usually
happens because of adverse system parameters or invalid input data. An
example is the lack of sufficient memory to run an application or a memory
conflict with another program. On the Internet, run-time errors can result
from electrical noise, various forms of malware or an exceptionally heavy
demand on a server. Run-time errors can be resolved, or their impact
minimized, by the use of error handler programs, by vigilance on the part of
network and server administrators, and by reasonable security
countermeasures on the part of Internet users.
Apart from the usual validations for data format, there are certain application
level validations that have been taken care of:
b. Administrator
c. Employee
Testing Objectives
A systematic and wholly procedural plan for testing was adopted. The
procedure while implementing testing went in hand with preparing a Unit
Test plan.
Testing Principle:
Types of testing
Peak Load Test: This test used to determine whether the system
handle the volume of activities that occur when the system is at
peak of its processing demand.
Performance errors
By applying black box testing a set of test cases that satisfy the following
criteria—
Test cases that reduce, by a count that is greater than one, the
no. of additional test case must be designed to achieve
reasonable testing.
System testing
Validation
testing
Integration testing
Unit testing
Code
Design
Requiremen
t
It may be possible that this code is not hundred percent efficient and other
alternatives are also possible.
Page 139 of 157
Pro-Metric Center Management System
Interface
Module
Local data
structures
Boundary
conditions
Test
codes
3. Incorrect initialization
4. Precision inaccuracy
I check that: -
a) I check whether the Front End (Asp.net) and Back End (SQL Server)
are connected properly or not.
b) Then I check whether messages are going from Front End to Back
End and Back End to Front End properly or not.
Verify the Presence of two Two input fields should be present Pass
input fields on the screen and on the screen named as Employee
there alignment. ID and Password. They should be
properly aligned.
Scroll the screen to the right The screen should remain intact; Pass
and keep it there for 5- the controls should not get
10seconds, now move back the disturbed.
screen to the original position.
Enter the employee id in the User should be able to enter the ID Pass
employee id input field. Let & that should properly reflect to
188794 user.
Enter the password in the User should be able to enter the Pass
password input field. Verify the password, and it should be reflect
display of it. back as *.
Click on the Sign In button. System should allow the User to Pass
Verify the system behavior if login and show back the welcome
valid user. screen.
Click on the <<Sign In>> System should not allow the user Pass
button. If the unauthentic user, to login in the system and display
then verify the system back the message saying,
behavior. “Incorrect login ID or password”.
Begin by optimizing half the modules and see if the error persists.
After each change in the number of optimized modules, if the error persists,
optimize fewer modules; if the error goes away, optimize more modules.
Eventually you will have narrowed the error down to a single module or a
small number of modules.
Debug the failing module. If possible, turn off the instruction scheduling
optimizations for that module. Look for problems such as reading from a
variable before it has been written to, and pointers or array indices
exceeding the bounds of storage allocated for the pointer or array.
When you debug optimized code, information in debugger panes may lead
you to suspect logic problems that do not actually exist. You should bear in
mind the points below:
Do not rely on the Local variables monitor to show the current values of
variables. Numeric values, character values and pointers may be kept in
processor registers. In the optimized program, these values and pointers are
not always written out to memory; in some cases, they may be discarded
because they are not needed.
The Registers and Storage monitors are correct. Unlike a monitor that shows
actual variables, such as the Locals Variables monitor, the Registers and
Storage monitors are always up-to-date as of the last time execution
stopped.
Using the disassembly view or mixed view to see the machine code for your
program, you may find, for example, that an assignment to a variable in your
source code does not result in any disassembly code being produced; this
may indicate that the variable's value is never used after the assignment.
is to put the tested system into operation while holding costs, risks and
personnel irritation to a minimum. It involves :
• Conversion begins with a review of the project plan, the system test
documentation and the implementation plan. The parties involved are
the user, the project team, programmers and operators.
• The conversion portion is finalized and approved.
• Files are converted.
• Parallel processing between the existing and the new systems is
initiated.
• Results of computer runs and operations for the new system are logged,
on a special form.
• Assuming no problems, parallel processing is discontinued.
Implementation results are documented for reference.
• Conversion is complete. Plans for the post-implementation review are
prepared. Following the review, the new system is officially operational.
Parallel Conversion: This refers to running the old (manual system) and
the new system at the same time in parallel. This is the most secure method
of converting from old manual system to a new computerized one.
Offers greatest security in the case of problems errors in the new system, then
the old manual system register is there as back up. Users are more at ease as
they don’t have to make an abrupt change to the new system.
Operational systems are quickly taken for granted. Every system requires
periodic evaluation after implementation. A post-implementation review
measures the system performance against predefined requirements. Unlike
system testing, which determines where the system fails, an evaluation
review determines how well the system continues to meet performance
specifications. It is after the fact - after design and implementation are
to the user’s additional or changing needs. Of these more time and money is
spent on perceptive than on corrective and adaptive maintenance together.
4. Three different type of users can access the system, and as per there
authentication they can work with the system. This helps in
implementing the security.
The s/w project management process begins with a set of activities that are
collectively called project planning. The first of these activities is
ESTIMATION.
Whenever estimates are made, we look into the future and accept some
degree of uncertainty as a matter of course. Estimation of resources, cost
and schedule for s/w development efforts requires experiences, access to
good historical information, and the courage to commit to quantitative
measures when qualitative data are all that exist. Estimation carries inherent
risk that leads to uncertainty.
Project size is another important factor can affect the accuracy of estimates.
As size increases, the interdependency among various elements of the s/w
grows rapidly. Time also affect cost of the project. If time increases then cost
is also increased.
Total 16000 /-
form of output is a hard copy from the printer. Printouts should be designed
around the output requirements of the user. The output devices to consider
depend on factors such as compatibility of the device with the system,
response time requirements, expected print quality and number of copies
needed.
For the Pro-metric center management system, following types of report can
be generated: -
1) Examination Grade Card.
2) Exam Hall Ticket.
3) Exam Center details.
4) Detail report about particular subjects.
Dec15,
Jun15,08
04
Input Design
Jul17,08
Coding
Oct 20.08
Write
Manual
It has been seen that the organization requirements changes after certain
interval of time and the system is required to be upgraded. The top
management to cope-up with the highly competitive market may due to the
implementation of new plan, policy, strategies or new establishment adopt
these changes. Therefore any software must be flexible so that it can be
modified easily without much affecting the current system.
2. C# XYROX PUBLICATION
3. VBScript SIMON
5. ASP MITCHELL&ATKINSON