Sunteți pe pagina 1din 78

Department Of Computer Science Exam Manager

INTRODUCTION

1
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

1. INTRODUCTION

1.1 SYNOPSIS

Exam Manager is developed for the college to simplify examination hall allotment and seating
arrangement. It facilitates to access the examination information of a particular student in a particular
class. The purpose of developing exam manager system is to computerized the traditional way of
conducting exams. Another purpose for developing this software is to generate the seating
arrangement report automatically during exams at the end of the session or in between the session.
The scope of the project is the system on which the software is installed, i.e. the project is developed
as a web based application, and it will work for a particular institute. Mostly students are facing many
problem for finding the exam hall and their seats respectively .An newly invented concept can aid for
the students for checking their exam halls. This helps them to identify the floor or get directions to
their respective halls without delays. The Students details have information about all the students who
attend the examination .It contains the name of the student, Hall Ticket No, Branch of the student and
the hall number. Hall Details have total number of halls available in the institution and the name of the
hall. Batch Details contains Department Details for ex., Computer Science, Biology, Chemistry,
Mathematics etc., and the examination timings details have total timing allotted to students and hall
etc. The project keeps track of various details in modules such as, Students Details, Examination
Timing Details, and Hall Details with the proper descriptions. Index Terms- Exam hall seating
arrangement, Login page designing, students details, and Reporting

MODULE DESCRIPTION

MODULES

1. ADMIN LOGIN FORM Here admin has to login by using their unique username
and password. Admin is the only authorized person to access this module for
security purpose. So other users dont get rights to access this module for their
purpose.
2. VIEW DETAIL

2
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

In this module students can view their details by giving the student registration
number, department, year, class, section and semester
3. SEATING ARRANGEMENT FOR STUDENTS

In this module admin arranges seats for students based on their department, year,
section, semester, and class, subjects with arrears and without arrears. Staffs also
verify that no students of same department, class doesnt sit together.

4. STUDENT REGISTRATION
5. Student has to register their personal details like registration no, department, year,
class, section, semester, arrear status, username and password .This registration will
be used to avoid anonymous users. After the registration process is completed,
student will get an account to use login page.

3
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

1.2 ABOUT THE ORGANIZATION

LCC InfoTech Limited (ISO 9001:2008 certified) a public limited company listed on
all major stock exchanges in India was established in 1984 and is the leading I.T. training organization
in the country. Driven by the passion and quality, LCC InfoTech is amongst the top I.T. training &
education organizations with a wide spread network of centers across the length and breadth of the
country.

Over two decades of quality management system, business expertise and sound strategies
are responsible for this phenomenal growth of the company. At LCC, it's a whole new way to work.
Here an excellent team of professionals force the pace, challenge the limits of expansion. This
uncompromising tenacity has helped LCC InfoTech forge to the forefront as one of India's largest
computer training networks and mirrors a global presence, stretching the business areas further and
faster. In fact LCC was the first to franchise education centers in India

Diversification has led LCC InfoTech into wider spheres of Multimedia,


Communications, Infrastructure and Software Development. The software training centers in towns,
cities and metropolises are already spreading computer education to the masses, under the brand name
LCC giving LCC InfoTech a decisive edge and making it a total I.T. solutions provider in the I.T.
industry. Training an average of 1, 00,000 students a year, it has an alumni base of over 2.7 million
students with a pan India network covering all corners of the country.

4
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

SYSTEM ANALYSIS

5
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

2. SYSTEM ANALYSIS

2.1 EXISTING SYSTEM


Presently we are using manual system, in this all we have to do data entry by writing data
into the book, paper documents. All the activities are done by user manually. There is a chance for
occurring errors in maintain seekers details because details are prepared manually. Disadvantage of
this system is searching of a specific record is difficult because it takes more time to find record in
Paper. Also retrieving records is not possible.

The arrangement of candidates for online exam is much difficult on the time. The
assignment of teachers for each exam hall are done manually. It is slight complex.

2.1.1 Limitations of Existing System

All data and reports are recorded manually.


Accuracy is less.
The system lacks integrity and security.
Highly time consuming.
Data redundancy and inconsistency.
Involves a lot of human efforts.
Cannot Upload and Download the latest updates.
No use of Web Services and Removing.
Risk of mismanagement and of data when the project is under development.
Less Security.
No proper coordination between different Applications and Users. Fewer Users - Friendly.

6
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

2.2 PROPOSED SYSTEM


The main objective of Exam Manager is meet the demands of the organization and to
overcome the drawbacks of the existing system.The proposed system automates all the manual
process in existing system. It automates seating arrangement of students and also allocates the
faculties to corresponding class and thereby our program minimize the effort of staff to set the seating
arrangement. Faculties also know classroom for invigilation and thus faculty can save time by looking
through register to know the classroom for invigilation duty. Also we can update departments, staffs,
students, exam halls in this website.so we can use this for our college for a long period. So it is cost
Effective and productive website

2.2.1 Advantages of Proposed System

Minimizing the manual records kept at different locations.


There will be more data integrity.
Facilitating desired information display, very quickly, by retrieving information from users.
Facilitating various statistical information which helps in decision-making
To reduce manual efforts in activities that involved repetitive work.
Updating and deletion of such a huge amount of data will become easier

Once student is registered to this system, student details like students name, address and exam
details are stored in a database

We can register staff and student to this system and store their details into database.

7
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

FEASIBILITY ANALYSIS

8
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

3. FEASIBILITY ANALYSIS

A feasibility study is needed to determine if a project or end result of a project is


feasible and beneficial. The main objective of feasibility study is to test the technical, social and
economic feasibility of developing a new computer system. Investigating the existing system in the
areas under investigation and generating ideas about a new system does this.
The key considerations involved in the feasibility analysis are the following:

Economic feasibility
Technical feasibility
Operational feasibility.

3.1 ECONOMIC FEASIBILITY


Economic feasibility is a method for evaluating the effectiveness of a candidate
system. This study is mainly concerned with cost-benefit analysis that is how much money the user is
investing in any system and how much he is getting as a benefit in output. Our project is Economical
Feasible because anyone uses this software would need only to buy the machine. Our hardware
requirement is not too expensive. The money and human effort needed for the existing system is
high .In the new system benefits outweigh costs. So as compare to cost the project is economically
feasible.

We conduct an economic feasibility study for this exam seat mapping system and it also
uses minimum hardware requirements that are already used in the existing system .In existing system
manual records are used for storing details. The system is cost effective because of its compatibility
and effort saving nature. The cost benefit ratio is very small and hence the proposed system is feasible.

9
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

3.2 TECHNICAL FEASIBILITY

Technical feasibility includes whether the technology is available in the market for the
development and its availability. The assessment of technical feasibility must be based on an outline
design of the system requirements in terms of input, output, files, programs and procedures. This
study checks the technical aspects of system. Minimum requirements of the proposed system are a
computer and internet connectivity, which will not add any additional expense in implementing the
system. This software is simple to use and manage.

Exam Manager also uses the minimum technologies for the creation of the web based
application. The existing system has also required minimum technical requirements. So the proposed
system is said to be technically feasible.

3.3 OPERATIONAL FEASIBILITY

The new system is very much easier and user friendly than the existing system. It
satisfies the requirements identified in the requirements analysis phase of system development. It
reduces the operational time considerably. Operational cost is very less. The maintenance and
modification of the new system needs very less human effort. Using command buttons throughout the
application programs enhances the operational feasibility. The new system is operationally feasible
and makes the operations Simpler and quite easier.

The proposed system Exam Manager does not produce any problem to existing customers,
organization etc. It reduces the drawback of existing system. All these reasons make the new system
operationally feasible.

10
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

SYSTEM SPECIFICATION

11
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

4. SYSTEM SPECIFICATION

4.1 HARDWARE SPECIFICATION


Microprocessor : Pentium 4 or higher

Processor Speed : 500MHz

Cache Memory : 512 KB

System bus : 32bits

RAM : 1 GB

Hard Disk : 500GB

Key Board : Standard keyboard

Mouse : MS Serial Mouse

Monitor : 15" CRT Monitor

4.2 SOFTWARE SPECIFICATION

Operating System : Windows 8

IDE : Visual Studio 2012

Front End : Asp.Net

Scripting Language : Java

12
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Back End : SQL Server 2008

4.3 LANGUAGE & TOOLS USED

4.3.1Front End
ASP.NET is a unified Web development model that includes the services necessary for you to build
enterprise-class Web applications with a minimum of coding. ASP.NET is part of the .NET
Framework, and when coding ASP.NET applications you have access to classes in the .NET
Framework. You can code your applications in any language compatible with the common language
runtime (CLR), including Microsoft Visual Basic and C#. These languages enable you to develop
ASP.NET applications that benefit from the common language runtime, type safety, inheritance, and
so on.

If you want to try ASP.NET, you can install Visual Web Developer Express using the
Microsoft Web Platform Installer, which is a free tool that makes it simple to download, install, and
service components of the Microsoft Web Platform. These components include Visual Web Developer
Express, Internet Information Services (IIS), SQL Server Express, and the .NET Framework. All of
these are tools that you use to create ASP.NET Web applications. You can also use the Microsoft Web
Platform Installer to install open-source ASP.NET and PHP Web applications.

Features OF Language

This topic describes the following features of ASP.NET and of Visual Web Developer, the
development environment for creating ASP.NET applications.

The Three Flavors of ASP.NET: Web Forms, MVC, and Web Pages

ASP.NET offers three frameworks for creating web applications: ASP.NET Web Forms,
ASP.NET MVC, and ASP.NET Web Pages. All three frameworks are stable and mature, and you can
create great web applications with any of them.

13
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Each framework targets a different audience or type of application. Which one you
choose depends on a combination of your web development experience, what framework youre most
comfortable with, and which is the best fit for the type of application youre creating. All three
frameworks will be supported, updated, and improved in future releases of ASP.NET.

Here's an overview of each of the frameworks and some ideas for how to choose between them.

ASP.NET Web Forms (.aspx pages)

The Web Forms framework targets developers who prefer declarative and control-based
programming, such as Microsoft Windows Forms (Win Forms) and WPF/XAML/Silverlight. It offers
a WYSIWYG designer-driven (drag-and-drop) development model, so it's popular with developers
looking for a rapid application development (RAD) environment for web development. If youre new
to web programming and are familiar with the traditional Microsoft RAD client development tools
(for example, for Visual Basic and Visual C#), you can quickly build a web application without having
expertise in HTML and JavaScript.

In particular, the Web Forms model provides the following features:

An event model that exposes events which you can program like you would program a client
application like Win Forms or WPF.

Server controls that render HTML for you and that you can customize by setting properties and
styles.

A rich assortment of controls for data access and data display.

Automatic preservation of state (data) between HTTP requests, which makes it easy for a
programmer who is accustomed to client applications to learn how to create applications for the
stateless web.

Web Forms works well for small teams of Web developers and designers who want to take
advantage of the large number of components available for rapid application development. In general,

14
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

creating a Web Forms application requires less programming effort than creating the same application
by using the ASP.NET MVC framework. The components (the Page class, controls, and so on) are
tightly integrated and usually require less code than ASP.NET MVC applications. However, Web
Forms is not just for rapid application development. There are many complex commercial apps and
app frameworks built on top of Web Forms.

Because a Web Forms page and the controls on the page automatically generate much of
the markup that's sent to the browser, you don't have the kind of fine-grained control over the HTML
that the other ASP.NET models offer. An event-driven, control-focused model hides some of the
behavior of HTML and HTTP. For example, it's not always possible to specify exactly what markup
might be generated by a control.

The Web Forms model doesn't lend itself as readily as ASP.NET MVC to patterns-based
development, separation of concerns, and automated unit testing. If you want to write code factored
that way, you can; its just not as automatic as it is in the ASP.NET MVC framework. The ASP.NET
Web Forms MVP project shows an approach that facilitates separation of concerns and testability
while maintaining the rapid development that Web Forms was built to deliver. As an example of this in
action, Microsoft SharePoint is built using Web Forms MVP.

ASP.NET MVC

ASP.NET MVC targets developers who are interested in patterns and principles like test-
driven development, separation of concerns, inversion of control (IOC), and dependency injection
(DI). This framework encourages separating the business logic layer of a web application from its
presentation layer. By dividing the application into the model (M), views (V), and controllers (C),
ASP.NET MVC can make it easier to manage complexity in larger applications. With ASP.NET MVC,
you can have multiple teams working on a web site because the code for the business logic is separate
from the code and markup for the presentation layer developers can work on the business logic
while designers work on the markup and JavaScript that is sent to the browser.

With ASP.NET MVC, you work more directly with HTML and HTTP than in Web Forms.
Web Forms tends to hide some of that by mimicking the way you would program a Win Forms or
WPF application. For example, Web Forms can automatically preserve state between HTTP requests,

15
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

but you have to code that explicitly in MVC. The MVC model enables you to take complete control
over exactly what your application is doing and how it behaves in the web environment.

MVC was designed to be extensible, providing power developers the ability to customize
the framework for their application needs. In addition, the ASP.NET MVC source code is available
under an OSI license.

MVC 4 includes a feature that helps you develop HTTP services that reach a broad range
of clients, including browsers and mobile devices. For more information, see Getting Started with
ASP.NET Web API. MVC 4 also helps you develop single-page applications (SPAs) that use client-
side JavaScript for responsive client interaction. For more information, see Single Page Application
Overview. IN addition, the three frameworks are not entirely independent, and choosing one does not
preclude also using another. For example, MVC views are often written as .cshtml or .vbhtml files
(using "Razor" syntax), which means they can take advantage of some of the Web Pages features like
helpers. Since the frameworks can also coexist in the same web application, it's not uncommon to see
individual components of an application written using different frameworks. For example, the bulk of
a site might be written in MVC, but the data access portion of the site might be written using Web
Forms because its such an easy framework in which to perform data access. In these cases, the
developers choose the hybrid solution that plays to their strengths and makes their lives the easiest for
their particular scenarios.

As of March 28, 2012, Microsoft has placed ASP.NET MVC 4, ASP.NET Web API, and
ASP.NET Web Pages v2 (Razor syntax) under the open source Apache 2.0 license. ASP.NET Web
Forms is not included. For more information, see ASP.NET MVC, Web API, Razor and Open Source
(Scott GUs blog) and ASP.NET MVC 4, ASP.NET Web API and ASP.NET Web Pages v2 (Razor)
now all open source with contributions (Scott Hansel mans blog).

The remaining sections of this topic provide an overview of ASP.NET features that are
common to all three ASP.NET frameworks or unique to Web Forms.

Visual Web Developer

Visual Web Developer is a full-featured development environment for creating ASP.NET


Web applications. Visual Web Developer offers you the following features:

16
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Web page design a powerful Web page editor that includes WYSIWYG editing and an HTML
editing mode with IntelliSense and validation.

Page design features Consistent site layout with master pages and consistent page appearance
with themes and skins.

Code editing a code editor that enables you to write code for your dynamic Web pages in
Visual Basic or C#. The code editor includes syntax coloration and IntelliSense.

Testing and debugging a local Web server for testing and a debugger that helps you find
errors in your programs.

Deployment Tools to automate typical tasks for deploying a Web application to a hosting
server or a hosting provider.

C# and ITS Features

C# syntax is highly expressive, yet it is also simple and easy to learn. The curly-brace
syntax of C# will be instantly recognizable to anyone familiar with C, C++ or Java. Developers who
know any of these languages are typically able to begin to work productively in C# within a very short
time. C# syntax simplifies many of the complexities of C++ and provides powerful features such as
null able value types, enumerations, delegates, lambda expressions and direct memory access, which
are not found in Java. C# supports generic methods and types, which provide increased type safety
and performance, and iterators, which enable implementers of collection classes to define custom
iteration behaviors that are simple to use by client code. Language-Integrated Query (LINQ)
expressions make the strongly-typed query a first-class language construct.

As an object-oriented language, C# supports the concepts of encapsulation, inheritance,


and polymorphism. All variables and methods, including the Main method, the application's entry
point, are encapsulated within class definitions. A class may inherit directly from one parent class, but
it may implement any number of interfaces. Methods that override virtual methods in a parent class
require the override keyword as a way to avoid accidental redefinition. In C#, a strut is like a
lightweight class; it is a stack-allocated type that can implement interfaces but does not support
inheritance.

17
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

In addition to these basic object-oriented principles, C# makes it easy to develop software


components through several innovative language constructs, including the following:

Encapsulated method signatures called delegates, which enable type-safe event notifications.

Properties, which serve as assessors for private member variables.

Attributes, which provide declarative metadata about types at run time.

Inline XML documentation comments.

Language-Integrated Query (LINQ) which provides built-in query capabilities across a variety
of data sources.

.NET Framework Platform Architecture

C# programs run on the .NET Framework, an integral component of Windows that


includes a virtual execution system called the common language runtime (CLR) and a unified set of
class libraries. The CLR is the commercial implementation by Microsoft of the common language
infrastructure (CLI), an international standard that is the basis for creating execution and development
environments in which languages and libraries work together seamlessly.

Source code written in C# is compiled into an intermediate language (IL) that conforms to
the CLI specification. The IL code and resources, such as bitmaps and strings, are stored on disk in an
executable file called an assembly, typically with an extension of .exe or .dll. An assembly contains a
manifest that provides information about the assembly's types, version, culture, and security
requirements.

When the C# program is executed, the assembly is loaded into the CLR, which might take
various actions based on the information in the manifest. Then, if the security requirements are met,
the CLR performs just in time (JIT) compilation to convert the IL code to native machine instructions.

18
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

The CLR also provides other services related to automatic garbage collection, exception handling, and
resource management. Code that is executed by the CLR is sometimes referred to as "managed code,"
in contrast to "unmanaged code" which is compiled into native machine language that targets a
specific system. The following diagram illustrates the compile-time and run-time relationships of C#
source code files, the .NET Framework class libraries, assemblies, and the CLR.

4.3.2 Back End

SQL Server 2008

SQL Server 2008 (formerly codenamed "Katmai") was released on August 6, 2008[14]
and aims to make data management self-tuning, self-organizing, and self-maintaining with the
development of SQL Server Always On technologies, to provide near-zero downtime. SQL Server
2008 also includes support for structured and semi-structured data, including digital media formats for
pictures, audio, video and other multimedia data. In current versions, such multimedia data can be
stored as BLOBs (binary large objects), but they are generic bit streams. Intrinsic awareness of
multimedia data will allow specialized functions to be performed on them. According to Paul Flessner,
senior Vice President, Server Applications, Microsoft Corp., SQL Server 2008 can be a data storage
backend for different varieties of data: XML, email, time/calendar, file, document, spatial, etc. as well
as perform search, query, analysis, sharing, and synchronization across all data types.

19
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Other new data types include specialized date and time types and a spatial data type for
location-dependent data. Better support for unstructured and semi-structured data is provided using
the new FILESTREAM data type, which can be used to reference any file stored on the file system.
Structured data and metadata about the file is stored in SQL Server database, whereas the unstructured
component is stored in the file system. Such files can be accessed both via Win32 file handling APIs
as well as via SQL Server using T-SQL; doing the latter accesses the file data as a BLOB. Backing up
and restoring the database backs up or restores the referenced files as well. SQL Server 2008 also
natively supports hierarchical data, and includes T-SQL constructs to directly deal with them, without
using recursive queries.

The Full-text search functionality has been integrated with the database engine. According
to a Microsoft technical article, this simplifies management and improves performance.

Spatial data will be stored in two types. A "Flat Earth" (GEOMETRY or planar) data type
represents geospatial data which has been projected from its native, spherical, coordinate system into a
plane. A "Round Earth" data type (GEOGRAPHY) uses an ellipsoidal model in which the Earth is
defined as a single continuous entity which does not suffer from the singularities such as the
international dateline, poles, or map projection zone "edges". Approximately 70 methods are available
to represent spatial operations for the Open Geospatial Consortium Simple Features for SQL, Version
1.1.

SQL Server includes better compression features, which also helps in improving
scalability. It enhanced the indexing algorithms and introduced the notion of filtered indexes. It also
includes Resource Governor that allows reserving resources for certain users or workflows. It also
includes capabilities for transparent encryption of data (TDE) as well as compression of backups. SQL
Server 2008 supports the ADO.NET Entity Framework and the reporting tools, replication, and data
definition will be built around the Entity Data Model. SQL Server Reporting Services will gain
charting capabilities from the integration of the data visualization products from Dudes Data
Visualization, Inc., which was acquired by Microsoft. On the management side, SQL Server 2008
includes the Declarative Management Framework which allows configuring policies and constraints,
on the entire database or certain tables, declaratively. The version of SQL Server Management Studio
included with SQL Server 2008 supports IntelliSense for SQL queries against a SQL Server 2008
Database Engine. SQL Server 2008 also makes the databases available via Windows Power Shell

20
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

providers and management functionality available as Cmdlets, so that the server and all the running
instances can be managed from Windows Power Shell.

The final SQL Server 2008 service pack (10.00.6000, Service Pack 4) was released on September 30,
2014.

4.3.3 Operating System

Windows XP is a personal computer operating system produced by Microsoft as part of


the Windows NT family of operating systems. The operating system was released to manufacturing on
August 24, 2001, and generally released for retail sale on October 25, 2001.

Development of XP began in the late 1990s as "Neptune", an operating system built on


the Windows NT kernel which was intended specifically for mainstream consumer usean updated
version of Windows 2000 was also originally planned for the business market. However, in January
2000, both projects were shelved in favor of a single OS codenamed "Whistler", which would serve as
a single OS platform for both consumer and business markets. Windows XP was a major advance
from the MS-DOS based versions of Windows in security, stability and efficiency due to its use of
Windows NT underpinnings. It introduced a significantly redesigned graphical user interface and was
the first version of Windows to use product activation in an effort to reduce software piracy.

Upon its release Windows XP received generally positive reviews, with critics noting
increased performance (especially in comparison to Windows ME), a more intuitive user interface,
improved hardware support, and its expanded multimedia capabilities. Despite some initial concerns
over the new licensing model and product activation system, Windows XP eventually proved to be
popular and widely used. It is estimated that at least 400 million copies of Windows XP were sold
globally within its first five years of availability, and at least one billion copies were sold by April
2014.

Windows XP remained popular even after the release of newer versions, particularly due
to the poorly received release of its successor Windows Vista. Vista's 2009 successor, Windows 7,
only overtook XP in total market share at the end of 2011.

21
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

22
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

SYSTEM DESIGN

5. SYSTEM DESIGN

5.1 INPUT DESIGN

23
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Input design is a part of overall system design, which requires very careful attention.
Generally, software is prone to error if the user operating on it is not aware of constraints. Usual
procedures for eliminating errors are carried out in the application program itself. However, there are
cases where the data redundancy and consistency are violated. The goal of designing input data entry
is easy, logical and free from errors as possible. In entering data, operators need to know the
following.

The allocated space for each field.


Field sequence, which must match that in the source document.
The format in which data fields are entered.

When we approach input data design, we design the source documents that capture the
data and then select the media used to enter them into computer or the system. While entering the data
the application program checks for errors. All the input screens used have strict validation for null
checking and the data type wherever necessary.

The main input forms that are used in this system include:

Login

By using the username and password user can login into the system.

Staffs Registration Details

This form is for adding details of various staffs in to the system

Students Registration Details

This form is for adding details of various students in to the system

Subject Details

This form for adding the details of each semester wise subject

24
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Branch Details

This form for adding details of department

Hall details

This form for adding the hall details

Hall Allotment Details

This form for allocate hall for student and staff

Exam Details

This form for adding details of exam that are conducted

5.2 OUTPUT DESIGN

Outputs from computer system are required primarily to communicate the result of
processing to users. Computer output is the most important and direct source of information to the
user. Efficient, intelligible output should improve the systems relationship with the user and help in
decision making. The output devices to consider depend on factors as compatibility of the device with
the system, response time requirements, expected print quality, number of copies needed etc.

In the case of job portal Management System the output is designed in such a way that the
user gets maximum benefit from the same. The user is displayed every single data in the system.

The output of the system includes:-

. Teacher details

It displays the teachers basic details.

Student details

It displays the students basic details

25
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Exam Details

It displays the exam details

Hall Details

It displays the hall allotment details

5.3 DATA FLOW DIAGRAM

To start the system design, something analogue to the architecture blue print as a starting
point to design is required. It is a way to focus on functions rather than physical implementation. One
such tool is a DFD.

Structured analysis is a set of techniques and graphical tools that help the analyst to
develop a new kind of system specification that are easily understandable to the user. DFDs show the
major decompositions of the system functions and their interfaces. The DFD is graphic and presents a
picture of what is being specified and is conceptually easy to understand presentation of the
application.
One important feature of DFDs is that it is logical rather than physical. The elements of
the system do not depend on vendor or hardware. They specify in precise, concise manner the working
of the system and how it hangs together.
DFD is the graphic representation of data movement process, and files used in support of
an information system. There are several rules of thumb used in drawing DFDs.

Process should be named and numbered for easy references.


The direction of flow is from top to bottom and from left to right.
When a process is imported in the lower levels details, they must be numbered.
Process and data flow names have the first letter of each word must be a capital letter.

The four main symbols used for developing a DFD are shown below:

26
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

It represents data source or destination

It represents flow of data that is data stream

It represents a process that transforms the data.

It represents the data store

27
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

CONTEXT LEVEL

LEVEL-0

28
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

LEVEL-1 ADIMINISTRATION

29
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

30
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

LEVEL-2 STAFF PROCESS

31
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

LEVEL-3 STUDENT PROCESS

32
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

33
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

5.4 TABLE DESIGN

Table Name: Admin Table

Table Description: Store the Details of Admin

Primary Key: User_id

Field Name Data Type Constraints Description


User_id int Primary Key Admin id
Username nvarchar (8) Not Null Admin name
Password nvarchar (8) Not Null Password

Table Name: Branch Table

Table Description: Store the Details of Branch

Primary key: Branch Code

Field Name Data Type Constraints Description


Branch Code int Primary key Branch Code
Branch Name nvarchar(10) Not Null Branch Name

34
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Field Name Data Type Constraints Description


ID int Primary key ID
Branch Code int Foreign key Branch Code
Semester Code int Not Null Semester Code
Table Name: Branch Semester Table

Table Description: Add Branch Semester

Primary key: ID

Foreign key: Branch Code, Semester Code

Table Name: Branch Sem Subject Table

Table Description: Add Semester Subjects

Primary key: Subject Code

Foreign key: Branch Code, Semester Code

Field Name Data Type Constraints Description


Subject Code int Primary key Subject Code
Branch Code int Foreign key Branch Code
Semester Code int Not Null Semester Code

35
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Table Name: Complaints Table

Table Description: Add Complaint Details

Primary key: Complaint ID

Foreign key: Register Number

36
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Field Name Data Type Constraints Description


Complaint ID int Primary key Complaint ID
Complaint Title varchar(50) Not Null Complaint Title
Complaint varchar(20) Not Null Complaint
Description Description
Posted By int Not Null Posted By

Table Name: Exam Table

Table Description: Store the Details of Exam

Primary Key: Exam Code

Foreign key: Branch Code, Subject Code, Semester Code

Field Name Data Type Constraints Description


Exam Code int Primary key Exam Code
Exam Name varchar(50) Not Null Exam Name
Exam Date Date Not Null Exam Date
From Time varchar(10) Not Null From Time
To Time varchar(10) Not Null To Time
Branch Code int Foreign key Branch Code
Semester Code int Not Null Semester Code
Subject Code int Foreign key Subject Code

Table Name: Hall Table

Table Description: Add the Hall Details

Primary Key: Hall Code

Foreign key: Batch id

Field Name Data Type Constraints Description


Hall Code int Foreign key Hall Code
Hall Name nvarchar(50) Not Null Hall Name
Capacity int Not Null Capacity
Batch id int Not Null Batch id

37
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Table Name: Reply Table

Table Description: Add Replay details

Primary Key: Reply ID

Foreign key: Complaint ID

Field Name Data Type Constraints Description


Reply ID int Primary Key Reply ID
Complaint ID int Not Null Complaint ID
Reply Description varchar(MAX) Not Null Reply Description
Reply From int Not Null Reply From

Table Name: Semester Table

Table Description: Add Semester Details

Primary Key: Semester Code

Field Name Data Type Constraints Description


Semester Code int Primary Key Semester Code
Semester Name nvarchar(50) Not Null Semester Name

Table Name: Staff Table

Table Description: Add the Staff Details

Primary Key: Staff Code

Foreign key: BranchCode

38
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Field Name Data Type Constraints Description


Staff Code int Primary Key Staff Code
Staff Name nvarchar(100) Not Null Staff Name
Gender varchar(7) Not Null Gender
Address nvarchar(MAX) Not Null Address
BranchCode int Foreign key BranchCode
DOB Date Not Null DOB
DOJ Date Not Null DOJ
Designation varchar(100) Not Null Designation
User Name nvarchar(50) Not Null User Name
Password nvarchar(8) Not Null Password
Approval int Not Null Approval

Table Name: Staff Hall Allotment Table

Table Description: Add the allotment details

Primary Key: Allotment ID

Foreign key: Staff Code, Hall Code, Exam Code

Field Name Data Type Constraints Description


Allotment ID int Primary Key Allotment ID
Exam Code int Foreign key Exam Code
Exam Name varchar(50) Not Null Exam Name
Exam Date Date Not Null Exam Date
Hall Code int Foreign key Hall Code
Staff Code int Foreign key Staff Code

Table Name: Subject Table

Table Description: Add the subject details

Primary Key: Subject Code

Foreign key: Branch Code, Semester Code

39
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Field Name Data Type Constraints Description


Subject Code int Primary Key Subject Code
Subject int Foreign key Subject
Branch Code varchar(50) Foreign key Branch Code
Semester Code Date Foreign key Semester Code

Table Name: Student Table

Table Description: Add student details

Primary Key: Register Number

Foreign key: Branch Code, Semester Code

Field Name Data Type Constraints Description


Register Number int Primary Key Register Number
Student Name varchar(50) Not Null Student Name
Branch Code int Foreign key Branch Code
Semester Code int Foreign key Semester Code
Gender varchar(6) Not Null Gender
Mobile varchar(10) Not Null Mobile
Email nvarchar(100) Not Null Email
DOB Date Not Null DOB
DOJ Date Not Null DOJ
Password nvarchar(8) Not Null Password
Address varchar(50) Not Null Address
Approval int Not Null Approval

40
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Table Name: Student Hall Allotment Table

Table Description: Add the student Allotment details

Primary Key: Allotment ID

Foreign key: Register Number, Hall Code, Exam Code

Field Name Data Type Constraints Description


Allotment ID INT Primary Key Allotment ID
Exam Code INT Foreign key Exam Code
Exam Name varchar(50) Not Null Exam Name
Exam Date Date Not Null Exam Date
Hall Code INT Not Null Hall Code
Seat Number INT Not Null Seat Number
Register Number Varchar(50) Foreign key Register Number

41
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

CODING

42
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

6. CODING
Exam Hall Allotment

using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_HallAllotment : System.Web.UI.Page


{
#region Declaration
DataAccess dataAccess = new DataAccess();
#endregion

private void FillDropDown()


{
string SELECT = @"select distinct [ExamName] from [Exam]";
DataTable dtData = dataAccess.GetDataTable(SELECT);
ddlExam.DataSource = dtData;
ddlExam.DataTextField = "ExamName";
ddlExam.DataValueField = "ExamName";
ddlExam.DataBind();
ddlExam.Items.Insert(0, "Select");
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
FillDropDown();

43
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

//FillList();
//ViewState["mode"] = "create";
}
}

protected void btnSubmit_Click(object sender, EventArgs e)


{
string DELETE1 = @"DELETE FROM StudentHallAllotment
WHERE ExamName ='" + ddlExam.SelectedValue + "'";
dataAccess.ExecuteCommands(DELETE1);
string DELETE2 = @"DELETE FROM StaffHallAllotment
WHERE ExamName ='" + ddlExam.SelectedValue + "'";
dataAccess.ExecuteCommands(DELETE2);

string selectCount = @"select


(select coalesce(sum(capacity),0) from Hall) as HallCapacity,
(select coalesce(count(RegisterNumber),0) from student s inner join Exam e
on E.SemesterCode = S.SemesterCode and E.BranchCode = S.BranchCode) as StudentCount";
DataTable dtCount = dataAccess.GetDataTable(selectCount);

int hallCapacity = Convert.ToInt32(dtCount.Rows[0]["HallCapacity"]);


int studentCount = Convert.ToInt32(dtCount.Rows[0]["StudentCount"]);
//int hallCount = Convert.ToInt32(dtCount.Rows[0]["HallCount"]);
//int staffCount = Convert.ToInt32(dtCount.Rows[0]["StaffCount"]);

if(hallCapacity < studentCount)


{
lblMessage.Text = "Insufficient number of seats. Please add more halls. Student Count = " +
studentCount.ToString() +
" and Hall Capacity = " + hallCapacity.ToString();
lblMessage.ForeColor = System.Drawing.Color.Red;
}
//else if (hallCount > staffCount)
//{
// lblMessage.Text = "Insufficient number of staff. Please add more staff. Staff Count = " +
staffCount.ToString() + " and Hall Count = " + hallCount.ToString();
// lblMessage.ForeColor = System.Drawing.Color.Red;
//}
else
{
ArrangeExam(studentCount);
}
}

public void ArrangeExam(int studentCount)


{

44
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

ArrangeStudent(studentCount);
string selectCount = @"select
(select coalesce(count(HallCode),0) from Hall where HallCode in
(select HallCode from StudentHallAllotment SH where SH.ExamName = '"+ ddlExam.SelectedValue
+ "' )) as HallCount," +
"(Select coalesce(count(StaffCode),0) from Staff) as StaffCount";
DataTable dtCount = dataAccess.GetDataTable(selectCount);

int hallCount = Convert.ToInt32(dtCount.Rows[0]["HallCount"]);


int staffCount = Convert.ToInt32(dtCount.Rows[0]["StaffCount"]);

if (hallCount > staffCount)


{
lblMessage.Text = "Insufficient number of staff. Please add more staff. Staff Count = " +
staffCount.ToString() + " and Hall Count = " + hallCount.ToString();
lblMessage.ForeColor = System.Drawing.Color.Red;
}
else
{
ArrangeStaff();
lblMessage.Text = "Halls are successfullty allotted";
lblMessage.ForeColor = System.Drawing.Color.Green;
}
}

public void ArrangeStaff()


{
string SELECT = @"select distinct H.HallCode, E.ExamDate from [StudentHallAllotment] H
inner join Exam E
on H.ExamName = E.ExamName
where H.ExamName ='" + ddlExam.SelectedValue + "' order by H.HallCode";
DataTable dtHall = dataAccess.GetDataTable(SELECT);

string selectStaff = @"Select StaffCode from [Staff]";


DataTable dtStaff = dataAccess.GetDataTable(selectStaff);
int hallCode = Convert.ToInt32(dtHall.Rows[0]["HallCode"].ToString());
for (int i = 0; i < dtHall.Rows.Count; i++)
{
if (hallCode != Convert.ToInt32(dtHall.Rows[i]["HallCode"].ToString()))
{
selectStaff = @"Select StaffCode from [Staff]";
dtStaff = dataAccess.GetDataTable(selectStaff);
}
Random r = new Random();
int rInt = r.Next(0, dtStaff.Rows.Count);

45
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

try
{
string INSERT = @"INSERT INTO [ExamManager].[dbo].[StaffHallAllotment]
(
[ExamName],
[HallCode],
[StaffCode],
[ExamDate]
)
VALUES
( '" + ddlExam.SelectedValue + "'" + @"
,'" + dtHall.Rows[i]["HallCode"].ToString() + "'" + @"
,'" + dtStaff.Rows[rInt]["StaffCode"].ToString() + "'" + @"
,'" + Convert.ToDateTime(dtHall.Rows[i]["ExamDate"]).ToString("yyyy-MM-dd") + "'" + @"
)";
hallCode = Convert.ToInt32(dtHall.Rows[i]["HallCode"].ToString());
dataAccess.ExecuteCommands(INSERT);
dtStaff.Rows.RemoveAt(rInt);
}
catch (Exception exx)
{
lblMessage.Text = "Error during processing, please try after some time.";
lblMessage.ForeColor = Color.Red;
}

}
}

public void ArrangeStudent(int studentCount)


{
DataTable dtHallAllotment = new DataTable();
dtHallAllotment.Columns.Add("ExamName");
dtHallAllotment.Columns.Add("HallCode");
dtHallAllotment.Columns.Add("SeatNumber");
dtHallAllotment.Columns.Add("RegisterNumber");
dtHallAllotment.Columns.Add("BranchCode");
dtHallAllotment.Columns.Add("SemesterCode");
string selectHall = @"select * from [Hall]";
DataTable dtHall = dataAccess.GetDataTable(selectHall);
int allottedStudentCount = 0;

string selectStudent = @"select distinct RegisterNumber, S.BranchCode, S.SemesterCode from


[student] S
inner join Exam E
on E.SemesterCode = S.SemesterCode and E.BranchCode = S.BranchCode
order by [RegisterNumber]";

46
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

DataTable dtStudent = dataAccess.GetDataTable(selectStudent);


studentCount = dtStudent.Rows.Count;
if (dtHall != null && dtHall.Rows.Count > 0 && dtStudent != null && dtStudent.Rows.Count > 0)
{
for (int i = 0; i < dtHall.Rows.Count; i++)
{
if (studentCount > allottedStudentCount)
{
for (int j = 0; j < Convert.ToInt32(dtHall.Rows[i]["Capacity"].ToString()); j++)
{
int allotted = 0;
for (int k = 0; k < dtStudent.Rows.Count; k++)
{
if (j == 0)
{
var foundStudent = dtHallAllotment.Select("RegisterNumber = '" + dtStudent.Rows[k]
["RegisterNumber"] + "'");
if (foundStudent.Length == 0)
{
DataRow drHallAllotment = dtHallAllotment.NewRow();
drHallAllotment["ExamName"] = ddlExam.SelectedValue;
drHallAllotment["HallCode"] = dtHall.Rows[i]["HallCode"].ToString();
drHallAllotment["SeatNumber"] = (j + 1).ToString();
drHallAllotment["RegisterNumber"] = dtStudent.Rows[k]["RegisterNumber"].ToString();
drHallAllotment["BranchCode"] = dtStudent.Rows[k]["BranchCode"].ToString();
drHallAllotment["SemesterCode"] = dtStudent.Rows[k]["SemesterCode"].ToString();
dtHallAllotment.Rows.Add(drHallAllotment);
dtHallAllotment.AcceptChanges();
allotted = 1;
allottedStudentCount = allottedStudentCount + 1;
break;
}
}
else
{
var foundStudent = dtHallAllotment.Select("RegisterNumber = '" + dtStudent.Rows[k]
["RegisterNumber"] + "'");
if (foundStudent.Length == 0)
{
if (Convert.ToInt32(dtHallAllotment.Rows[dtHallAllotment.Rows.Count - 1]["BranchCode"])
!= Convert.ToInt32(dtStudent.Rows[k]["BranchCode"]))
{
if (Convert.ToInt32(dtHallAllotment.Rows[dtHallAllotment.Rows.Count - 1]["SemesterCode"])
!= Convert.ToInt32(dtStudent.Rows[k]["SemesterCode"]))
{
DataRow drHallAllotment = dtHallAllotment.NewRow();

47
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

drHallAllotment["ExamName"] = ddlExam.SelectedValue;
drHallAllotment["HallCode"] = dtHall.Rows[i]["HallCode"].ToString();
drHallAllotment["SeatNumber"] = (j + 1).ToString();
drHallAllotment["RegisterNumber"] = dtStudent.Rows[k]["RegisterNumber"].ToString();
drHallAllotment["BranchCode"] = dtStudent.Rows[k]["BranchCode"].ToString();
drHallAllotment["SemesterCode"] = dtStudent.Rows[k]["SemesterCode"].ToString();
dtHallAllotment.Rows.Add(drHallAllotment);
dtHallAllotment.AcceptChanges();
allotted = 1;
allottedStudentCount = allottedStudentCount + 1;
break;
}
}
}
}
}
if (allotted == 0)
{
DataRow drHallAllotment = dtHallAllotment.NewRow();
drHallAllotment["ExamName"] = ddlExam.SelectedValue;
drHallAllotment["HallCode"] = dtHall.Rows[i]["HallCode"].ToString();
drHallAllotment["SeatNumber"] = (j + 1).ToString();
drHallAllotment["RegisterNumber"] = "0";
drHallAllotment["BranchCode"] = "0";
drHallAllotment["SemesterCode"] = "0";
dtHallAllotment.Rows.Add(drHallAllotment);
dtHallAllotment.AcceptChanges();
allotted = 1;
}
}
}
}
}
try
{
for (int i = 0; i < dtHallAllotment.Rows.Count; i++)
{
string INSERT = @"INSERT INTO [ExamManager].[dbo].[StudentHallAllotment]
(
[ExamName],
[HallCode],
[SeatNumber],
[RegisterNumber]
)
VALUES
( '" + dtHallAllotment.Rows[i]["ExamName"].ToString() + "'" + @"

48
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

,'" + dtHallAllotment.Rows[i]["HallCode"].ToString() + "'" + @"


,'" + dtHallAllotment.Rows[i]["SeatNumber"].ToString() + "'" + @"
,'" + dtHallAllotment.Rows[i]["RegisterNumber"].ToString() + "'" + @"
)";
dataAccess.ExecuteCommands(INSERT);
}
}
catch(Exception exx)
{
lblMessage.Text = "Error during processing, please try after some time.";
lblMessage.ForeColor = Color.Red;
}
}
}

Add Students

using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_Student : System.Web.UI.Page


{
#region Declaration
DataAccess dataAccess = new DataAccess();
#endregion Declaration
#region Methods

private void FillCourtDropDown()


{
string SELECT = @"SELECT [BranchCode]
,[BranchName]
FROM [Branch]";
DataTable dtData = dataAccess.GetDataTable(SELECT);
ddlDepartment.DataSource = dtData;
ddlDepartment.DataTextField = "BranchName";
ddlDepartment.DataValueField = "BranchCode";
ddlDepartment.DataBind();
ddlDepartment.Items.Insert(0, "Select");
}

49
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

private void FillList()


{
string SELECT = @"SELECT S.RegisterNumber, S.StudentName, S.Gender, S.Address,
S.BranchCode, S.SemesterCode,
S.DOB, S.DOJ, S.Mobile, S.Email, S.Password, B.BranchName
FROM [Student] S inner join [Branch] B on S.BranchCode = B.BranchCode";
DataTable dtData = dataAccess.GetDataTable(SELECT);
if (dtData != null && dtData.Rows.Count > 0)
{
rptRepeater.DataSource = dtData;
rptRepeater.DataBind();
}
else
{
rptRepeater.DataSource = null;
rptRepeater.DataBind();
}
}
private void ClearAll()
{
txtAddress.Text = string.Empty;
txtCpassword.Text = string.Empty;
txtDOB.Text = string.Empty;
txtDOJ.Text = string.Empty;
txtEmail.Text = string.Empty;
txtMobile.Text = string.Empty;
txtPassword.Text = string.Empty;
txtRegisterNumber.Text = string.Empty;
txtStudentName.Text = string.Empty;
ddlDepartment.SelectedIndex = 0;
ddlGender.SelectedIndex = 0;
ddlSemester.SelectedIndex = 0;
ViewState["mode"] = "create";
txtRegisterNumber.Enabled = true;
}

#endregion Methods
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
FillCourtDropDown();
FillList();
ViewState["mode"] = "create";
}

50
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

protected void rptRepeater_ItemCommand(object source, RepeaterCommandEventArgs e)


{
Int64 ID = Convert.ToInt64(e.CommandArgument);
ViewState["ID"] = ID;
if (e.CommandName.Equals("delete"))
{
string DELETE = @"DELETE FROM Student
WHERE RegisterNumber =" + ID + "";
if (dataAccess.ExecuteCommands(DELETE))
{
lblMessage.Text = "Record deleted successfully";
lblMessage.ForeColor = Color.Green;
FillList();
ClearAll();
}
else
{
lblMessage.Text = "Record already in use";
lblMessage.ForeColor = Color.Red;
}
}
if (e.CommandName.Equals("edit"))
{
string SELECT = @"SELECT S.RegisterNumber, S.StudentName, S.Gender, S.Address,
S.BranchCode, S.SemesterCode,
S.DOB, S.DOJ, S.Mobile, S.Email, S.Password, B.BranchName
FROM [Student] S inner join [Branch] B on S.BranchCode = B.BranchCode WHERE
RegisterNumber=" + ID + "";
DataTable dtData = dataAccess.GetDataTable(SELECT);
if (dtData != null && dtData.Rows.Count > 0)
{
txtRegisterNumber.Enabled = false;

txtAddress.Text = dtData.Rows[0]["Address"].ToString();
txtCpassword.Text = dtData.Rows[0]["Password"].ToString();
txtDOB.Text = Convert.ToDateTime(dtData.Rows[0]["DOB"]).ToString("dd/MM/yyyy");
txtDOJ.Text = Convert.ToDateTime(dtData.Rows[0]["DOJ"]).ToString("dd/MM/yyyy");
txtEmail.Text = dtData.Rows[0]["Email"].ToString();
txtMobile.Text = dtData.Rows[0]["Mobile"].ToString();
txtPassword.Text = dtData.Rows[0]["Password"].ToString();
txtRegisterNumber.Text = dtData.Rows[0]["RegisterNumber"].ToString();
txtStudentName.Text = dtData.Rows[0]["StudentName"].ToString();
ddlDepartment.SelectedValue = dtData.Rows[0]["BranchCode"].ToString();
ddlGender.SelectedValue = dtData.Rows[0]["Gender"].ToString();

51
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

ddlSemester.SelectedValue = dtData.Rows[0]["SemesterCode"].ToString();
ViewState["mode"] = "edit";
}
}
}
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (ViewState["mode"].ToString().Equals("create"))
{
string INSERT = @"INSERT INTO [ExamManager].[dbo].[Student]
(
[RegisterNumber],
[StudentName],
[BranchCode],
[SemesterCode],
[Gender],
[Mobile],
[Email],
[DOB],
[DOJ],
[Password],
[Address]
)
VALUES
( '" + txtRegisterNumber.Text + "'" + @"
,'" + txtStudentName.Text + "'" + @"
,'" + ddlDepartment.SelectedValue.ToString() + "'" + @"
,'" + ddlSemester.SelectedValue.ToString() + "'" + @"
,'" + ddlGender.SelectedValue.ToString() + "'" + @"
,'" + txtMobile.Text + "'" + @"
,'" + txtEmail.Text + "'" + @"
,'" + Convert.ToDateTime(txtDOB.Text).ToString("yyyy-MM-dd") + "'" + @"
,'" + Convert.ToDateTime(txtDOJ.Text).ToString("yyyy-MM-dd") + "'" + @"
,'" + txtPassword.Text + "'" + @"
,'" + txtAddress.Text + "'" + @"
)";
if (dataAccess.ExecuteCommands(INSERT))
{
lblMessage.Text = "Record inserted successfully";
lblMessage.ForeColor = Color.Green;
FillList();
ClearAll();
}
else
{
lblMessage.Text = "Error during processing, please try after some time.";

52
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

lblMessage.ForeColor = Color.Red;
}
}
else
{
string UPDATE = @"UPDATE [ExamManager].[dbo].[Student]
SET
[StudentName] ='" + txtStudentName.Text.Trim() + "'" + @"
,[BranchCode] = '" + ddlDepartment.SelectedValue + "'" + @"
,[SemesterCode] = '" + ddlSemester.SelectedValue + "'" + @"
,[Gender] = '" + ddlGender.SelectedValue + "'" + @"
,[Mobile] ='" + txtMobile.Text.Trim() + "'" + @"
,[Email] ='" + txtEmail.Text.Trim() + "'" + @"
,[DOB] ='" + Convert.ToDateTime(txtDOB.Text).ToString("yyyy-MM-dd") + "'" + @"
,[DOJ] ='" + Convert.ToDateTime(txtDOJ.Text).ToString("yyyy-MM-dd") + "'" + @"
,[Password] ='" + txtPassword.Text.Trim() + "'" + @"
,[Address] ='" + txtAddress.Text.Trim() + "'" + @"
WHERE RegisterNumber=" + Convert.ToInt64(ViewState["ID"]) + "";
if (dataAccess.ExecuteCommands(UPDATE))
{
lblMessage.Text = "Record updated successfully";
lblMessage.ForeColor = Color.Green;
FillList();
ClearAll();
}
else
{
lblMessage.Text = "Error during processing, please try after some time.";
lblMessage.ForeColor = Color.Red;
}
}
}
protected void btnCancel_Click(object sender, EventArgs e)
{
ClearAll();
}
}

53
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

SYSTEM TESTING

54
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

7. SYSTEM TESTING
7.1 UNIT TESTING

Unit testing focuses verification efforts on the smallest unit of software design, the
module. This is also known as module testing. The modules are tested separately. These testing are
carried out during programming stage itself.

In our web based application Exam Manager we tested each forms and corrected the
errors. Registration forms of staff, student forms are carefully tested for unique staff email id, student
email id .If user gives the already existing staff email id, student email id proper message is provided
by the application.

7.2 INTEGRATION TESTING

Integration testing is a systematic technique for constructing tests to uncover errors


associated within the interface. In this testing, all the modules are combined, and then the entire
program is tested as a whole.

55
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

After the unit wise testing of forms of Exam Manager, we tested after the forms are
integrated, and no corrections are made. And some related forms needed integration testing also.

7.3 VALIDATION TESTING


Validation testing is where requirements established as a part of software requirements
analysis is validated against the software that has been constructed. This test provides the final
assurance that the software meets all functional, behavioral and performance requirements.

7.4 USER ACCEPTANCE TESTING


User acceptance of a system is the key factor for the success of any system. The system
under considerations is tested for user acceptance by constantly keeping in touch with the prospective
system users at the time of developing and making of hardware management system software.

56
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

IMPLEMENTATION

57
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

8. IMPLEMENTATION
Introduction System Implementation

Implementation is the final stage and its an important phase. It involves the individual
programming; system testing, user training and the operational running of developed proposed
system that constitutes the application subsystems. One major task of preparing for implementation is
education of users, which should really have been taken place much earlier in the project when they
were being involved in the investigation and design work. During the implementation phase system
actually takes physical shape. In order to develop a system implemented, planning is very essential.
The implementation phase of the software development is concerned with translating design
specifications in to source code.

The implementation phase ends with an evaluation of the system after placing it into
operation for a period of time. Implementation is the third phase of the system process. In order to
achieve the objectives and the expected performance the system has been developed in a highly
interactive and user-friendly manner.

Implementation plan

The following are the steps involved in the implementation plan:

Test system with sample data

Detection and correction of errors

Make the necessary changes in the system

Check with the existing system

Installation of hardware and software utilities

58
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

Training and involvement of user person

MAINTENANCE

59
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

9. MAINTENANCE
Maintenance is actually the implementation of the post implementation review plan. As
important as it is, many programmers and analyst are reluctant to perform or identify themselves with
maintains effort. There are psychological, personalities and professional reasons for this. In any case
first class effort must be made to ensure that the software changes are made properly and in time to
keep the system intone with user specification. Maintenance is expensive. One way to reduce
Maintenance costs are through maintenance management and software modifications audits. Software
modifications consists of program rewrites system level updates, re-audits of low ranking software,
reduced maintenance backlog and higher satisfaction and morale among the maintenance staff.

Even when the new system has gone live there may be need for some system design
activity. This will see from changes that are necessitated by the dynamic nature of the system and its
environment. Changes may be required to correct faults or to bring about improvements, and may
arise as part of normal running of the system or as a result of a review of the system performance.
Changes or amendments and documentations and perhaps handled by specialist group of maintenance
staff.

60
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

SECURITY MEASURES

61
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

10. SECURITY MEASURES

The system security is for protection against fraud and disaster. To avoid unauthorized
access, password protection is highly recommended while running this new system. The password has
to be maintained directly and files have to be kept very confidential. Maintaining the good customer
relations and data security contributes to the usability of computer related information system

62
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

FUTURE ENHANCEMENT

63
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

11. FUTURE ENHANCEMENTS

SCOPE FOR FUTURE ENHANCEMENTS

In future we can expect the modified version of Exam Manager. The system is very
flexible for further up gradation with additional requirement of the college, the .net and SQL server
makes this modifications very easily It is also possible to involve more functions into the system. This
flexibility makes this system widening its scope. All day to day work can be done with much more
ease and efficiency.

Now the problem in current website is that we have to login in to this website to know the
class and timetable of exam. But in our future version of this website we automatically send sms to
students and staff about their seating plan and timetable.

64
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

CONCLUSION

65
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

12. CONCLUSION
.

The project was successfully completed within the time span allotted .The drawbacks of
the existing system as listed before are fully evacuated. All the existing inconsistencies are fully
solved as this system is implemented. This reduced the burden of the administration of the system. All
the modules are tested separately and put together to form the main system. Finally the system is
tested with real data and it worked successfully. Thus the system has fulfilled the entire objective
defined.

The system has been developed in an interactive manner; the reports generated by the
system are clear. The system is flexible, user friendly and has its own full data security and all data
recovery facility. The developed system has mainly four modules admin, teacher, and student.

66
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

REFERENCE

67
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

68
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

13. REFERENCE

1. Elias M Award, 1999 System Analysis and Design

2. Peter Norton, Guide to Visual Basic 6.0

3. Silberschatz, Database System Concepts

4. Korth, Sudarshan, Database System Concepts

www.support.mircosoft.com
www.developer.com
www.w3Schools.com
www.msdn.microsoft.com
www.msdn.microsoft.com/net/quickstart/aspplus/default.com
www.asp.net
www.fmexpense.com/quickstart/aspplus/default.com
www.asptoday.com
www.aspfree.com

69
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

APPENDIX

70
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

14. APPENDIX

14.1 Screen Shots

ADMIN LOGIN

71
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

ADMIN ADD DEPARTMENT

72
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

ADMIN ADD SUBJECT

73
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

STAFF REGISTRATION

STUDENT REGISTRATION

74
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

ADMIN ADD EXAM

75
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

76
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

ADMIN ADD HALL

77
Ilahia College Of Arts & Science
Department Of Computer Science Exam Manager

ADMIN ADD HALL ALLOTMENT

78
Ilahia College Of Arts & Science

S-ar putea să vă placă și