SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Downloaden Sie, um offline zu lesen
PROJECT REPORT ON ONLINE
EXAMINATION




                   ABHAY ANANDA SHUKLA

                   UNIVERSITY INSTITUTE OF TECHNOLOGY
4




                          INDEX



y   Purpose.
y   Technologies used.
y   Hardware Interface.
y   Software Interface.
y   Constraints.
y   Feasibility Study.
y   Specification
    Report.
y   Communication
    Interface.
y   Bottlenecks
    Identified in
    existing system.
y    Need for the new
    system.
y    Software system
    attributes.
y    DBMS.
y    E-R Diagram.
y    DFD.
y    Programming
    codes.
y    Database codes.
y    Input & Output
    forms.
y    Conclusion.
y    Bibliography.
5




   1. Purpose:


         > This Web Application provides facility to conduct online
           examination worldwide.

         > It saves time as it allows number of students to give the exam at a
           time and displays the results as the test gets over, so no need to
           wait for the result. It is automatically generated by the server.

         > Administrator has a privilege to create, modify and delete the
           test papers and its particular questions.

         > User can register, login and give the test with his specific id, and
           can see the results as well.




2. Technologies used:


            This project is a web application that is developed in ASP.NET
            having DB2 as back end.

            1. Database Design (DB2)
            2. Input Design (ASP.NET)
            3. Coding (VB.NET)



3. Hardware Interface:

            Client Side:

                   Internet Explorer: 6.0
                   Processor         : Pentium IV 2.0 and above.
                   RAM             : 256 MB
6




                  Processor        : Pentium IV 2.0 and above.
                  RAM             : 1 GB
                  Disk space        : 4GB




4. Software Interface:

Client Side: .NET Framework, Web Browser, Windows XP/2000/Vista
Web Server: .NET Framework, Windows XP/2000/Vista Data Base
Server: DB2



5. Constraints:

      > User interface is only in English i.e. no other language option is
        available.
      > User can login only with his assigned username and password i.e.
        no guest facility is available.
      > Limited to HTTP/HTTPS.
7




                          Feasibility Study


What are the user¶s demonstrable needs?
User needs a web-based system, which will remove all the above -mentioned
Problems that, the user is facing. The user wants a web -based system, which
will reduce the bulk of paperwork, provide ease of work, flexibility, fast
record finding, modifying, adding, removing and generating the reports.


How can the problem be redefined?
We proposed our perception of the system, in accordance with the problems
of existing system by making a full layout of th e system on paper. We tallied
the problems and needs by existing system and requirements. We were
further
updating in the layout in the basis of redefined the problems. In feasibility
study phase we had undergone through various steps, which are described as
under:
How feasible is the system proposed? This was analyzed by comparing the
following factors with both the existing system and proposed system.

Cost
The cost required in the proposed system is comparatively less to the
existing system.

Effort
Compared to the existing system the proposed system will provide a better
working environment in which there will be ease of work and the effort
required will be comparatively less than the existing system.

Time
Also the time required generating a report or for doing any other work will be
comparatively very less than in the existing system. Record finding and
updating will take less time than the existing system.

Labor
In the existing system the number of staff r equired for completing the work
is
more while the new system will require quite less number of staff.
8




                      Specification Report


System Interface
Application would be a self -contained system. It will not access data of any
other application nor will other application have access to its data.

User Interface
Application will be accessed through a Browser Interface. The interface
would be viewed best using 1024 x 768 and 800 x 600 pixels resolution
setting. The software would be fully compatib le with Microsoft Internet
Explorer for version 6 and above. No user would be able to access any part
of the application without logging on to the system.

Hardware Interface

For Server
  ‡ Intel Pentium III or above with
  ‡ 512 MB RAM
  ‡ 4 GB hard disk
  ‡ Network Interface

For Client
  ‡ PC With
  ‡ 256 MB RAM
  ‡ Network Interface

Software Interface

            For Server                                For Client

  ‡ Windows 2000 Enterprise                ‡ Windows 95/98/2000/NT
  Edition                                  ‡ Microsoft Internet Explorer 6
  ‡ WAS Server                               & above
  ‡ DB2 Server
9




                  Communication Interface

The system should be accessed over LAN or WAN. For Clients to access
application server the network should be running TCP/IP protocol.


Operations

Client Side

Interactive operations using options provided in the application, Example
Data Entry generation and viewing of reports.

Server Side

Database backup should be taken every day. In case of data base crash, last
backup should be restored.


User Characteristics

The end user of the software can be divided into two categories

Administrator : Access to master forms for the purpose of data entry and
generation of reports.

Operator : Access to his corresponding records and giving examination
only.
10




          Bottlenecks Identified in Existing System

The first problem is that there are loads of hard copied documents being
generated. This brings us to the age -old discussion of keeping information in
the form databases versus keeping the same on sheets of paper. Keeping the
information in the form of hard-copied documents leads to the following
problems:

I. Lack of space ± It becomes a problem in itself to find space to keep the
sheets of paper being generated as a result of the ongoing discussion. The
documents being generated are too important to be ill -treated.

ii. Filing poses a problem ± Filing the documents categorically is a time
consuming and tedious exercise.

iii. Filtering is not easy ± It becomes hard to filter relevant documents for
the irrelevant ones if the count of the same crosses a certain manageable
number.

iv. Reviewing becomes time-consuming ±
All the process done manually at the centers and all the records are
maintained on the papers. So the maintenance of the record is very difficult
in the departments and as well as it¶s very difficult for the workers to check
the record. The Existing system is paper based, time consuming,
monotonous, less flexible and provides a very hectic working schedule. The
chance of loss of records is high and also record searching is difficult.
Maintenance of the system is also very difficult and takes lot of time.

v. Result Processing is slow due to paper work and requirement of staff.
11




                   Need for the New System

To solve these problems they required a computerized system to handle all
the works. They required a web based application that will provide a
working environment that will be flexible and will provide ease of work and
will reduce the time for report generation and other paper works.


Aims and Objective

The main purpose behind the proposed system is to pro vide a comprehensive
computerized system, which can capture, collate and analyze the data from
these wards and evaluate the impact of the program.

Constraints, Assumptions, Dependencies

Constraints

As this system is based on client server technology, so fo r normal operation
minimum of 64 MB RAM will be required on all clients.

Assumptions
In general it has been assumed that the user has complete knowledge of the
system that means user is not a naïve user. Any data entered by him/her will
be valid. To make the software as user friendly as possible but at the same
time keeping in minds user requirements.

   ‡ Server OS should be Windows NT/2000/XP.
   ‡ Client PC should be Windows 9X/NT/WorkStation or Windows 2000
     with latest service pack.

Dependencies

It depends that the one should follow the international standards for the
generating the User ID & should fill the related information in the proper
format.
12




                 Software System Attributes
Ƒ Usability: The links are provided for each form. The user is facilitated to
view and make entries in the forms. Validations are provided in each field to
avoid inconsistent or invalid entry in the databases. Some forms consists
Hyper Links, which provides further details. Reports screen contains text
boxes and drop down lists, so that reports can be produced.



Ƒ Security: Application will allow only valid users to access the system.
Access to any application resource will depend upon user¶s designation.
There are two types of users namely Administrator and Student. Security is
based upon the individual user ID and Password.

Ƒ Maintainability: The installation and operation manual of examination
management system will be provided to the user.

Ƒ Availability: System will be available around the clock except for the
time required for the backup of data.

Ƒ Portability: The application is developed in ASP.NET. It would be
portable to other operating system provided .NET Framework is available
for
the OS. As the database is made in DB2, porting the database to another
database server would require some development effort.

Acceptance Criteria

The software should meet the functional requirement and perform the
functionality effectively and efficiently.
   ‡ A user-friendly interface with proper menus.
   ‡ Data transfer should be accurate and within a reasonable amount of
       time keeping in mind the network traffic.
   ‡ The system should not allow entry of duplicate key values.
   ‡ System should have the ability to generate transactional Logs to avoid
       any accidental loss of data.
   ‡ Log file should also be generated.
13




                           DBMS

1. Questions


Name                Data Type     Description
Ques_no.            Number        Question Number
Question            Text          Question
Answer1             Text          First Choice
Answer2             Text          Second Choice
Answer3             Text          Third Choice
Answer4             Text          Fourth Choice



4. Correct ans

Name                Data Type     Description
Ques_no.            Number        Question Number
Ans                 Text          Correct Answer




5. Given ans


Name                Data Type     Description
Ques_no.            Number        Question Number
Ans                 Text          Given Answer



2. Administrators

Name                Data Type     Description
User name           Text          Name of the Administrator
Password            Text          Password
14




6. Student


Name          Data Type   Description
Roll          Number      Unique Roll no
Name          Text        Name of the Student
Sex           Text        Sex of the Student
Branch        Text        Branch of the Student
Total         Number      Marks of the Student
Address       Text        Address of the Student
Contact no    Number      Contact no of the Student



 3. Results


Name          Data Type   Description
Roll          Number      Unique Roll no
Name          Text        Name of the Student
Sex           Text        Sex of the Student
Branch        Text        Branch of the Student
Total         Number      Marks of the Student
15


                         User name                 Password




             Recieve                 USER                      Register




Use name

                                                                             Use name

 Branch
           Exam Result                                        Registration


  Roll                                                                       Password



 Marks




             Result                  Examination               Perform




                                         GK




                               E-R DIAGRAM
16




                                                                            £
                                                                               t¢ ¦¥¤ t_D 


               £               student login
                  t¢ ¦¥¤   t
                                                                student verification
                                                     ¢ ¡ 
                                                    L i
                                                     1.0
                                                                                                                   ¢  © ¨ ¡ ¦§
                                                                                                                      i tr ti
                                                                student registration


                                                                                                  student registration

 gets result
                               give exam                                            ¢  © ¨ ¡ ¦§
                                                                                        i tr ti
                                                                                         2.0


                                                                    give exam


     ¤¨¦§    lt
                                                  ¢  ©¢  ©
                                                         i ti
       5.0
                                                        3.0




 fetch result

                                                             perform test
ExamResult


                                                                        
                                                                       3.1.1

     stores resuit
                                                                                   fetch question




                  ¦ © ¤ ©                                                                    ¦¡¥ ¦  ¢ © ¦¢ ¦
                                                                                                     r l       l
             C l         l t                   checks
                    ¤¨¦§  lt
                      4.0




                                               Figure- DFD
17


                 PROGRAMMING CODES
VB CODES FOR ADMIN.ASPX.VB -
Partial Class Admin
    Inherits System.Web.UI.Page
    Dim flag As Boolean = False
    Protected Sub Button1_Click(ByVal sender As Object, ByVal e
As System.EventArgs) Handles Button1.Click
        Try
            con.Open()
            com.CommandText = select * from Admin where name='
 Trim(TextBox1.Text)  ' and pass='  Trim(TextBox2.Text)  '
            com.Connection = con
            dr = com.ExecuteReader
            If dr.Read Then
                flag = True
            End If
        Catch ex As Exception
            MsgBox(ex.Message)
        Finally
            con.Close()
            com.Cancel()
            dr.Close()
        End Try

        If flag = True Then
            flag = False
            Response.Redirect(ShowGANS.aspx)
        Else
            MsgBox(Login fail, MsgBoxStyle.Critical, Error)
        End If
    End Sub
18


VB CODES FOR STUDENTLOGIN.ASPX.VB ±
Partial Class Default2
    Inherits System.Web.UI.Page
    Dim flag As Boolean = False
    Protected Sub Button1_Click(ByVal sender As Object, ByVal e
As System.EventArgs) Handles Button1.Click
        Try
            con.Open()
            com.CommandText = select * from student where
roll='  Trim(TextBox2.Text)  ' and name=' 
Trim(TextBox1.Text)  '
            com.Connection = con
            dr = com.ExecuteReader
            If dr.Read Then
                flag = True
            End If

        Catch ex As Exception
            MsgBox(ex.Message)
        Finally
            con.Close()
            com.Cancel()
            dr.Close()
        End Try

        If flag = True Then
            flag = False
            Session(Roll) = Trim(TextBox2.Text)
            MsgBox(Login Success, MsgBoxStyle.Information,
LOGIN)
            Response.Redirect(Question.aspx)
        Else
            MsgBox(Login fail..., MsgBoxStyle.Critical,
Login Error)
            TextBox2.Text = 
            TextBox1.Text = 
        End If
    End Sub

    Protected Sub TextBox1_TextChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles TextBox1.TextChanged

    End Sub
19

    Protected Sub TextBox2_TextChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles TextBox2.TextChanged

    End Sub

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load

    End Sub
End Class
20


VB CODES FOR QUESTION.ASPX.VB -
Partial Class _Default
    Inherits System.Web.UI.Page
    Shared s As String
    Shared i As Integer = 0
    Shared j As Integer = 0
    Shared flag As Boolean = False

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
        Response.AddHeader(Refresh, 5)
        If Not IsPostBack() Then datacon()
    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e
As System.EventArgs) Handles Button1.Click
        If flag = True Then datacon()
    End Sub

    Sub datacon()
        Try
            con.Open()
            com.CommandText = select * from question
            com.Connection = con
            adp.SelectCommand = com
            adp.Fill(ds, question)
            j = ds.Tables(0).Rows.Count
            If i  ds.Tables(0).Rows.Count Then
                Label2.Text = ds.Tables(0).Rows(i).Item(0)
                Label1.Text = ds.Tables(0).Rows(i).Item(1)
                RadioButton1.Text =
ds.Tables(0).Rows(i).Item(2)
                RadioButton2.Text =
ds.Tables(0).Rows(i).Item(3)
                RadioButton3.Text =
ds.Tables(0).Rows(i).Item(4)
                RadioButton4.Text =
ds.Tables(0).Rows(i).Item(5)
                If flag = True Then
                    com1.CommandText = insert into gans
values('  CInt(Label2.Text)  ','  s  ')
                    com1.Connection = con
                    com1.ExecuteNonQuery()
                    i = i + 1
                    flag = False
21

                End If
            Else
                Response.Redirect(result.aspx)
            End If
        Catch ex As Exception
            MsgBox(ex.Message)
        Finally
            ds.Clear()
            con.Close()
            com.Cancel()
            com1.Cancel()
            RadioButton1.Checked = False
            RadioButton2.Checked = False
            RadioButton3.Checked = False
            RadioButton4.Checked = False
        End Try
    End Sub

    Protected Sub RadioButton_CheckedChanged(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
RadioButton1.CheckedChanged, RadioButton2.CheckedChanged,
RadioButton3.CheckedChanged, RadioButton4.CheckedChanged
        If RadioButton1.Checked = True Then s = RadioButton1.Text
        If RadioButton2.Checked = True Then s = RadioButton2.Text
        If RadioButton3.Checked = True Then s = RadioButton3.Text
        If RadioButton4.Checked = True Then s = RadioButton4.Text
        flag = True
    End Sub


End Class
22


VB CODES FOR RESULT.ASPX.VB -
Partial Class Default3
    Inherits System.Web.UI.Page
    Dim r As Integer

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
        r = Session(Roll)
        Static total As Integer
        Try
            con.Open()
            com.CommandText = select * from ans
            com.Connection = con
            com1.CommandText =  select * from gans
            com1.Connection = con
            dr = com.ExecuteReader
            dr1 = com1.ExecuteReader
            While (dr.Read())
                dr1.Read()
                If dr.Item(0) = dr1.Item(0) Then
                    total = total + 1
                End If

            End While
            If Not dr.Read Then
                com2.CommandText = update student set total ='
 total  'where roll='  r  '
                com2.Connection = con
                com2.ExecuteNonQuery()
            End If
        Catch ex As Exception
            MsgBox(ex.Message)
        Finally
            com2.Cancel()
            con.Close()
            dr.Close()
            dr1.Close()
        End Try


        Try
            con.Open()
            com.CommandText = select * from student where
roll='  r  '
            com.Connection = con
23

            dr = com.ExecuteReader
            If dr.Read Then
                Label4.Text = dr.Item(0)
                Label3.Text = dr.Item(1)
                Label2.Text = dr.Item(2)
                Label1.Text = dr.Item(3)
                Label5.Text = dr.Item(4)
            End If
        Catch ex As Exception
            MsgBox(ex.Message)
        Finally
            con.Close()
            com.Cancel()
            dr.Close()
        End Try
    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e
As System.EventArgs) Handles Button1.Click
        Session.Abandon()
        Session.Clear()
        Response.Redirect(lOGIN.ASPX)
    End Sub
End Class
24


VB CODES FOR GANS.ASPX.VB -
Partial Class ShowGANS
    Inherits System.Web.UI.Page
    Shared count As Integer = 0

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
        Try
            con.Open()
            com1.CommandText = select * from gans
            com1.Connection = con
            adp.SelectCommand = com1
            adp.Fill(ds)
            GridView1.DataSource = ds
            GridView1.DataBind()
            Page.DataBind()
        Catch ex As Exception
            MsgBox(ex.Message, MsgBoxStyle.OkOnly, Error)
        Finally
            con.Close()
            com1.Cancel()
            ds.Clear()
            GridView1.Dispose()
        End Try
    End Sub

    Protected Sub Button1_Click1(ByVal sender As Object, ByVal e
As System.EventArgs) Handles Button1.Click

        Try
            con.Open()
            com.CommandText = delete gans
            com.Connection = con
            com.ExecuteNonQuery()
            MsgBox(Deleted Successfully...)
        Catch ex As Exception
            MsgBox(ex.Message, MsgBoxStyle.Critical, Error)
        Finally
            con.Close()
            com.Cancel()
        End Try
    End Sub
25

    Protected Sub GridView1_SelectedIndexChanged(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
GridView1.SelectedIndexChanged

    End Sub

    Protected Sub CheckBox1_CheckedChanged(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
CheckBox1.CheckedChanged
         If CheckBox1.Checked = True Then
             Panel1.Visible = True
             Try
                 con.Open()
                 com2.CommandText = select * from question
                 com2.Connection = con
                 dr = com2.ExecuteReader
                 While dr.Read
                     count = dr.Item(0)
                 End While
                 count += 1
                 TextBox1.Text = count
             Catch ex As Exception
                 MsgBox(ex.Message, MsgBoxStyle.Critical,
Error)
             Finally
                 com2.Cancel()
                 dr.Close()
                 con.Close()
             End Try
         Else
             Panel1.Visible = False
         End If
    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e
As System.EventArgs) Handles Button2.Click

        Try
              con.Open()

            com.CommandText = insert into question values(' 
Trim(TextBox1.Text)  ','  Trim(TextBox2.Text)  ',' 
Trim(TextBox3.Text)  ','  Trim(TextBox4.Text)  ',' 
Trim(TextBox5.Text)  ','  Trim(TextBox6.Text)  ')
            com.Connection = con
            com.ExecuteNonQuery()
26

            com1.CommandText = insert into ans values(' 
Trim(TextBox1.Text)  ','  Trim(TextBox7.Text)  ')
            com1.Connection = con
            com1.ExecuteNonQuery()
            MsgBox(Question Inserted.....)
        Catch ex As Exception
            MsgBox(ex.Message, MsgBoxStyle.Critical, Error)
        Finally
            con.Close()
            com.Cancel()
            com1.Cancel()
            TextBox1.Text = 
            TextBox2.Text = 
            TextBox3.Text = 
            TextBox4.Text = 
            TextBox5.Text = 
            TextBox6.Text = 
            TextBox7.Text = 
            Panel1.Visible = False
            CheckBox1.Checked = False
        End Try
    End Sub
End Class
27


                           DATABASE CODES
DATABASE NAME ±ONLINEEXAM


TABLE ± ADMIN


Column Name       Data Type       Length    Allow Nulls

name(prim. key)   varchar         50

pass              varchar         50




TABLE ± STUDENT


Column Name       Data Type       Length    Allow Nulls

roll(prim. key)   varchar         10

name              varchar         50

sex               char            10

sub               char            10

total             int             4         yes

address           varchar         50

contact           bigint          8         yes
28

DATABASE NAME ± QUESTION


Column Name        Data Type   Length   Allow Nulls

queno(prim. key)   int         4

que                varchar     400

op1                varchar     50

op2                varchar     50

op3                varchar     50

op4                varchar     50




DATABASE NAME ± ANS


Column Name        Data Type   Length   Allow Nulls

queno(prim. key)   varchar     4

ans                varchar     50



DATABASE NAME ± GANS


Column Name        Data Type   Length   Allow Nulls

queno(prim. key)   varchar     4

gans               varchar     50       yes
29



Input and
Output
Forms



1. Home Page
30


2. Student
Registration
31


3. Result Form
32




4. Administrative Registration
33




5. Student ogin
34




6. Question Form
35


7. Add New Question
36


8. About us
37


9.   ontact us
38




                                Conclusion

This Web Application provides facility to conduct online examination
worldwide. It saves time as it allows number of students to give the exam at
a time and displays the results as the test gets over, so no need to wait for the
result. It is automatically generated by the server.
Administrator has a privilege to create, modify and delete the test papers and
its particular questions. User can register, login and give the test with his
specific id, and can see the results as well.
39




                      Bibliography

 y Programming   Microsoft®
     ASP.NET 2.0 Core Reference
       By: Dino Esposito

 y ASP.NET 2.0 All-in-One Desk
   For Dummies®
        By:Wlley Publishing,Inc.


 y Professional Asp.Net 2.0®
    By: Evjen, Hanselman, Rader.


 y Beginning Asp.Net 2.0®
    By: Chris Hart.


  y Pro Asp.Net 2.0 In Vb 2005®
       By: Laurence Moroney,
Matthew Macdonald, and Matthew
Macdonald.


  y Asp.Net 2.0 Black Book, 2007
    Ed®s
        By: Dreamtech Press, Kogent
Solutions Inc.

Weitere ähnliche Inhalte

Was ist angesagt?

Online Examination System Report
Online Examination System ReportOnline Examination System Report
Online Examination System Report
Ankan Banerjee
 
Online examination system
Online examination systemOnline examination system
Online examination system
Rahul Khanwani
 

Was ist angesagt? (20)

Online examination system
Online examination systemOnline examination system
Online examination system
 
Online Quiz System Project Report ppt
Online Quiz System Project Report pptOnline Quiz System Project Report ppt
Online Quiz System Project Report ppt
 
Online Examination System Report
Online Examination System ReportOnline Examination System Report
Online Examination System Report
 
Project report on online examination system
Project report on online examination systemProject report on online examination system
Project report on online examination system
 
College Management System project
College Management System projectCollege Management System project
College Management System project
 
Online examination system
Online examination systemOnline examination system
Online examination system
 
Online quiz by danish & sudhanshu techlites
Online quiz by danish & sudhanshu techlitesOnline quiz by danish & sudhanshu techlites
Online quiz by danish & sudhanshu techlites
 
Online Attendance System
Online Attendance SystemOnline Attendance System
Online Attendance System
 
Online examination system of open and distance education
Online examination system of open and distance educationOnline examination system of open and distance education
Online examination system of open and distance education
 
Presentation Slides of College Management System Report
Presentation Slides of College Management System ReportPresentation Slides of College Management System Report
Presentation Slides of College Management System Report
 
Project report college information management system on Advanced Java
Project report college information management system on Advanced JavaProject report college information management system on Advanced Java
Project report college information management system on Advanced Java
 
Online examination documentation
Online examination documentationOnline examination documentation
Online examination documentation
 
Final project presentation CSE
Final project presentation CSEFinal project presentation CSE
Final project presentation CSE
 
Online Quiz System
Online Quiz SystemOnline Quiz System
Online Quiz System
 
Online quiz system
Online quiz systemOnline quiz system
Online quiz system
 
online examination management system
online examination management systemonline examination management system
online examination management system
 
online examination portal project presentation
online examination portal project presentationonline examination portal project presentation
online examination portal project presentation
 
Online Examinition System
Online Examinition SystemOnline Examinition System
Online Examinition System
 
Online Examination System Presentation
Online Examination System PresentationOnline Examination System Presentation
Online Examination System Presentation
 
Internet mail system java project
Internet mail system java projectInternet mail system java project
Internet mail system java project
 

Andere mochten auch

Online examination system project ppt
Online examination system project pptOnline examination system project ppt
Online examination system project ppt
Mohit Gupta
 
9321885 online-university-admission-system (1)
9321885 online-university-admission-system (1)9321885 online-university-admission-system (1)
9321885 online-university-admission-system (1)
Amani Mrisho
 
Hospital management system project
Hospital management system projectHospital management system project
Hospital management system project
Himani Chopra
 
14.project online eamination system
14.project online eamination system14.project online eamination system
14.project online eamination system
Vivek Mehta
 

Andere mochten auch (20)

Online examination system
Online examination systemOnline examination system
Online examination system
 
ONLINE EXAMINATION on ASP.NET
ONLINE EXAMINATION on ASP.NETONLINE EXAMINATION on ASP.NET
ONLINE EXAMINATION on ASP.NET
 
Online examination
Online examinationOnline examination
Online examination
 
JUSTCABS - an Online Cab Reservation System (Final Year Project)
JUSTCABS - an Online Cab Reservation System (Final Year Project)JUSTCABS - an Online Cab Reservation System (Final Year Project)
JUSTCABS - an Online Cab Reservation System (Final Year Project)
 
Online examination system project ppt
Online examination system project pptOnline examination system project ppt
Online examination system project ppt
 
Pritam bhansali Online Exam - Project Report
Pritam bhansali  Online Exam - Project ReportPritam bhansali  Online Exam - Project Report
Pritam bhansali Online Exam - Project Report
 
Online examination system project ppt
Online examination system project pptOnline examination system project ppt
Online examination system project ppt
 
Online Quiz System Project PPT
Online Quiz System Project PPTOnline Quiz System Project PPT
Online Quiz System Project PPT
 
9321885 online-university-admission-system (1)
9321885 online-university-admission-system (1)9321885 online-university-admission-system (1)
9321885 online-university-admission-system (1)
 
Hospital management system project
Hospital management system projectHospital management system project
Hospital management system project
 
14.project online eamination system
14.project online eamination system14.project online eamination system
14.project online eamination system
 
ppt for online exanition system
ppt for online exanition systemppt for online exanition system
ppt for online exanition system
 
Project Report Online Test
Project Report Online TestProject Report Online Test
Project Report Online Test
 
ASMS Project Plan
ASMS Project PlanASMS Project Plan
ASMS Project Plan
 
Sequnce diagram for ONLINE EXAMINATION SYSTEM
Sequnce diagram for ONLINE EXAMINATION SYSTEMSequnce diagram for ONLINE EXAMINATION SYSTEM
Sequnce diagram for ONLINE EXAMINATION SYSTEM
 
Online satsang examination system
Online satsang examination systemOnline satsang examination system
Online satsang examination system
 
198970820 p-oooooooooo
198970820 p-oooooooooo198970820 p-oooooooooo
198970820 p-oooooooooo
 
Project Report on Exam Suite/Test Application/Exam App ( JAVA )
Project Report on Exam Suite/Test Application/Exam App ( JAVA )Project Report on Exam Suite/Test Application/Exam App ( JAVA )
Project Report on Exam Suite/Test Application/Exam App ( JAVA )
 
University Student Payment System ( USPS )
University Student Payment System ( USPS )University Student Payment System ( USPS )
University Student Payment System ( USPS )
 
Online exam system
Online exam systemOnline exam system
Online exam system
 

Ähnlich wie Online Examination System in .NET & DB2

2 d barcode based mobile payment system
2 d barcode based mobile payment system2 d barcode based mobile payment system
2 d barcode based mobile payment system
Parag Tamhane
 
127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation
Nitesh Kumar
 
Slides for Week 1 - Lec 2
Slides for Week 1 - Lec 2Slides for Week 1 - Lec 2
Slides for Week 1 - Lec 2
webhostingguy
 
VidyaBhooshanMishra_CV
VidyaBhooshanMishra_CVVidyaBhooshanMishra_CV
VidyaBhooshanMishra_CV
Landis+Gyr
 
A two stage feature selection method for text categorization
A two stage feature selection method for text categorizationA two stage feature selection method for text categorization
A two stage feature selection method for text categorization
Parag Tamhane
 
quiz game project report.pdf
quiz game project report.pdfquiz game project report.pdf
quiz game project report.pdf
zccindia
 
W7 Enterprise
W7 EnterpriseW7 Enterprise
W7 Enterprise
aralves
 
W7 for IT Professionals
W7 for IT ProfessionalsW7 for IT Professionals
W7 for IT Professionals
guest632c73
 

Ähnlich wie Online Examination System in .NET & DB2 (20)

quiz half ppt
quiz half pptquiz half ppt
quiz half ppt
 
2 d barcode based mobile payment system
2 d barcode based mobile payment system2 d barcode based mobile payment system
2 d barcode based mobile payment system
 
Job portal
Job portalJob portal
Job portal
 
Bilal Arshad 27031...pdf
Bilal Arshad 27031...pdfBilal Arshad 27031...pdf
Bilal Arshad 27031...pdf
 
Crime Reporting System.pptx
Crime Reporting System.pptxCrime Reporting System.pptx
Crime Reporting System.pptx
 
127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation
 
Internet banking
Internet bankingInternet banking
Internet banking
 
R2D2- Personal assistant on android.
R2D2- Personal assistant on android.R2D2- Personal assistant on android.
R2D2- Personal assistant on android.
 
IRJET - Code Compiler Shell
IRJET -  	  Code Compiler ShellIRJET -  	  Code Compiler Shell
IRJET - Code Compiler Shell
 
Slides for Week 1 - Lec 2
Slides for Week 1 - Lec 2Slides for Week 1 - Lec 2
Slides for Week 1 - Lec 2
 
VidyaBhooshanMishra_CV
VidyaBhooshanMishra_CVVidyaBhooshanMishra_CV
VidyaBhooshanMishra_CV
 
A two stage feature selection method for text categorization
A two stage feature selection method for text categorizationA two stage feature selection method for text categorization
A two stage feature selection method for text categorization
 
quiz game project report.pdf
quiz game project report.pdfquiz game project report.pdf
quiz game project report.pdf
 
124157075 gb
124157075 gb124157075 gb
124157075 gb
 
Srs2 Job Portal
Srs2 Job PortalSrs2 Job Portal
Srs2 Job Portal
 
W7 Enterprise
W7 EnterpriseW7 Enterprise
W7 Enterprise
 
W7 for IT Professionals
W7 for IT ProfessionalsW7 for IT Professionals
W7 for IT Professionals
 
Resume
ResumeResume
Resume
 
Cyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .netCyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .net
 
Voice browser
Voice browserVoice browser
Voice browser
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Online Examination System in .NET & DB2

  • 1. PROJECT REPORT ON ONLINE EXAMINATION ABHAY ANANDA SHUKLA UNIVERSITY INSTITUTE OF TECHNOLOGY
  • 2. 4 INDEX y Purpose. y Technologies used. y Hardware Interface. y Software Interface. y Constraints. y Feasibility Study. y Specification Report. y Communication Interface. y Bottlenecks Identified in existing system. y Need for the new system. y Software system attributes. y DBMS. y E-R Diagram. y DFD. y Programming codes. y Database codes. y Input & Output forms. y Conclusion. y Bibliography.
  • 3. 5 1. Purpose: > This Web Application provides facility to conduct online examination worldwide. > It saves time as it allows number of students to give the exam at a time and displays the results as the test gets over, so no need to wait for the result. It is automatically generated by the server. > Administrator has a privilege to create, modify and delete the test papers and its particular questions. > User can register, login and give the test with his specific id, and can see the results as well. 2. Technologies used: This project is a web application that is developed in ASP.NET having DB2 as back end. 1. Database Design (DB2) 2. Input Design (ASP.NET) 3. Coding (VB.NET) 3. Hardware Interface: Client Side: Internet Explorer: 6.0 Processor : Pentium IV 2.0 and above. RAM : 256 MB
  • 4. 6 Processor : Pentium IV 2.0 and above. RAM : 1 GB Disk space : 4GB 4. Software Interface: Client Side: .NET Framework, Web Browser, Windows XP/2000/Vista Web Server: .NET Framework, Windows XP/2000/Vista Data Base Server: DB2 5. Constraints: > User interface is only in English i.e. no other language option is available. > User can login only with his assigned username and password i.e. no guest facility is available. > Limited to HTTP/HTTPS.
  • 5. 7 Feasibility Study What are the user¶s demonstrable needs? User needs a web-based system, which will remove all the above -mentioned Problems that, the user is facing. The user wants a web -based system, which will reduce the bulk of paperwork, provide ease of work, flexibility, fast record finding, modifying, adding, removing and generating the reports. How can the problem be redefined? We proposed our perception of the system, in accordance with the problems of existing system by making a full layout of th e system on paper. We tallied the problems and needs by existing system and requirements. We were further updating in the layout in the basis of redefined the problems. In feasibility study phase we had undergone through various steps, which are described as under: How feasible is the system proposed? This was analyzed by comparing the following factors with both the existing system and proposed system. Cost The cost required in the proposed system is comparatively less to the existing system. Effort Compared to the existing system the proposed system will provide a better working environment in which there will be ease of work and the effort required will be comparatively less than the existing system. Time Also the time required generating a report or for doing any other work will be comparatively very less than in the existing system. Record finding and updating will take less time than the existing system. Labor In the existing system the number of staff r equired for completing the work is more while the new system will require quite less number of staff.
  • 6. 8 Specification Report System Interface Application would be a self -contained system. It will not access data of any other application nor will other application have access to its data. User Interface Application will be accessed through a Browser Interface. The interface would be viewed best using 1024 x 768 and 800 x 600 pixels resolution setting. The software would be fully compatib le with Microsoft Internet Explorer for version 6 and above. No user would be able to access any part of the application without logging on to the system. Hardware Interface For Server ‡ Intel Pentium III or above with ‡ 512 MB RAM ‡ 4 GB hard disk ‡ Network Interface For Client ‡ PC With ‡ 256 MB RAM ‡ Network Interface Software Interface For Server For Client ‡ Windows 2000 Enterprise ‡ Windows 95/98/2000/NT Edition ‡ Microsoft Internet Explorer 6 ‡ WAS Server & above ‡ DB2 Server
  • 7. 9 Communication Interface The system should be accessed over LAN or WAN. For Clients to access application server the network should be running TCP/IP protocol. Operations Client Side Interactive operations using options provided in the application, Example Data Entry generation and viewing of reports. Server Side Database backup should be taken every day. In case of data base crash, last backup should be restored. User Characteristics The end user of the software can be divided into two categories Administrator : Access to master forms for the purpose of data entry and generation of reports. Operator : Access to his corresponding records and giving examination only.
  • 8. 10 Bottlenecks Identified in Existing System The first problem is that there are loads of hard copied documents being generated. This brings us to the age -old discussion of keeping information in the form databases versus keeping the same on sheets of paper. Keeping the information in the form of hard-copied documents leads to the following problems: I. Lack of space ± It becomes a problem in itself to find space to keep the sheets of paper being generated as a result of the ongoing discussion. The documents being generated are too important to be ill -treated. ii. Filing poses a problem ± Filing the documents categorically is a time consuming and tedious exercise. iii. Filtering is not easy ± It becomes hard to filter relevant documents for the irrelevant ones if the count of the same crosses a certain manageable number. iv. Reviewing becomes time-consuming ± All the process done manually at the centers and all the records are maintained on the papers. So the maintenance of the record is very difficult in the departments and as well as it¶s very difficult for the workers to check the record. The Existing system is paper based, time consuming, monotonous, less flexible and provides a very hectic working schedule. The chance of loss of records is high and also record searching is difficult. Maintenance of the system is also very difficult and takes lot of time. v. Result Processing is slow due to paper work and requirement of staff.
  • 9. 11 Need for the New System To solve these problems they required a computerized system to handle all the works. They required a web based application that will provide a working environment that will be flexible and will provide ease of work and will reduce the time for report generation and other paper works. Aims and Objective The main purpose behind the proposed system is to pro vide a comprehensive computerized system, which can capture, collate and analyze the data from these wards and evaluate the impact of the program. Constraints, Assumptions, Dependencies Constraints As this system is based on client server technology, so fo r normal operation minimum of 64 MB RAM will be required on all clients. Assumptions In general it has been assumed that the user has complete knowledge of the system that means user is not a naïve user. Any data entered by him/her will be valid. To make the software as user friendly as possible but at the same time keeping in minds user requirements. ‡ Server OS should be Windows NT/2000/XP. ‡ Client PC should be Windows 9X/NT/WorkStation or Windows 2000 with latest service pack. Dependencies It depends that the one should follow the international standards for the generating the User ID & should fill the related information in the proper format.
  • 10. 12 Software System Attributes Ƒ Usability: The links are provided for each form. The user is facilitated to view and make entries in the forms. Validations are provided in each field to avoid inconsistent or invalid entry in the databases. Some forms consists Hyper Links, which provides further details. Reports screen contains text boxes and drop down lists, so that reports can be produced. Ƒ Security: Application will allow only valid users to access the system. Access to any application resource will depend upon user¶s designation. There are two types of users namely Administrator and Student. Security is based upon the individual user ID and Password. Ƒ Maintainability: The installation and operation manual of examination management system will be provided to the user. Ƒ Availability: System will be available around the clock except for the time required for the backup of data. Ƒ Portability: The application is developed in ASP.NET. It would be portable to other operating system provided .NET Framework is available for the OS. As the database is made in DB2, porting the database to another database server would require some development effort. Acceptance Criteria The software should meet the functional requirement and perform the functionality effectively and efficiently. ‡ A user-friendly interface with proper menus. ‡ Data transfer should be accurate and within a reasonable amount of time keeping in mind the network traffic. ‡ The system should not allow entry of duplicate key values. ‡ System should have the ability to generate transactional Logs to avoid any accidental loss of data. ‡ Log file should also be generated.
  • 11. 13 DBMS 1. Questions Name Data Type Description Ques_no. Number Question Number Question Text Question Answer1 Text First Choice Answer2 Text Second Choice Answer3 Text Third Choice Answer4 Text Fourth Choice 4. Correct ans Name Data Type Description Ques_no. Number Question Number Ans Text Correct Answer 5. Given ans Name Data Type Description Ques_no. Number Question Number Ans Text Given Answer 2. Administrators Name Data Type Description User name Text Name of the Administrator Password Text Password
  • 12. 14 6. Student Name Data Type Description Roll Number Unique Roll no Name Text Name of the Student Sex Text Sex of the Student Branch Text Branch of the Student Total Number Marks of the Student Address Text Address of the Student Contact no Number Contact no of the Student 3. Results Name Data Type Description Roll Number Unique Roll no Name Text Name of the Student Sex Text Sex of the Student Branch Text Branch of the Student Total Number Marks of the Student
  • 13. 15 User name Password Recieve USER Register Use name Use name Branch Exam Result Registration Roll Password Marks Result Examination Perform GK E-R DIAGRAM
  • 14. 16 £ t¢ ¦¥¤ t_D £ student login t¢ ¦¥¤ t student verification ¢ ¡  L i 1.0 ¢  © ¨ ¡ ¦§ i tr ti student registration student registration gets result give exam ¢  © ¨ ¡ ¦§ i tr ti 2.0 give exam ¤¨¦§ lt ¢  ©¢ © i ti 5.0 3.0 fetch result perform test ExamResult 3.1.1 stores resuit fetch question ¦ © ¤ © ¦¡¥ ¦  ¢ © ¦¢ ¦ r l l C l l t checks ¤¨¦§ lt 4.0 Figure- DFD
  • 15. 17 PROGRAMMING CODES VB CODES FOR ADMIN.ASPX.VB - Partial Class Admin Inherits System.Web.UI.Page Dim flag As Boolean = False Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Try con.Open() com.CommandText = select * from Admin where name=' Trim(TextBox1.Text) ' and pass=' Trim(TextBox2.Text) ' com.Connection = con dr = com.ExecuteReader If dr.Read Then flag = True End If Catch ex As Exception MsgBox(ex.Message) Finally con.Close() com.Cancel() dr.Close() End Try If flag = True Then flag = False Response.Redirect(ShowGANS.aspx) Else MsgBox(Login fail, MsgBoxStyle.Critical, Error) End If End Sub
  • 16. 18 VB CODES FOR STUDENTLOGIN.ASPX.VB ± Partial Class Default2 Inherits System.Web.UI.Page Dim flag As Boolean = False Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Try con.Open() com.CommandText = select * from student where roll=' Trim(TextBox2.Text) ' and name=' Trim(TextBox1.Text) ' com.Connection = con dr = com.ExecuteReader If dr.Read Then flag = True End If Catch ex As Exception MsgBox(ex.Message) Finally con.Close() com.Cancel() dr.Close() End Try If flag = True Then flag = False Session(Roll) = Trim(TextBox2.Text) MsgBox(Login Success, MsgBoxStyle.Information, LOGIN) Response.Redirect(Question.aspx) Else MsgBox(Login fail..., MsgBoxStyle.Critical, Login Error) TextBox2.Text = TextBox1.Text = End If End Sub Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged End Sub
  • 17. 19 Protected Sub TextBox2_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged End Sub Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub End Class
  • 18. 20 VB CODES FOR QUESTION.ASPX.VB - Partial Class _Default Inherits System.Web.UI.Page Shared s As String Shared i As Integer = 0 Shared j As Integer = 0 Shared flag As Boolean = False Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Response.AddHeader(Refresh, 5) If Not IsPostBack() Then datacon() End Sub Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click If flag = True Then datacon() End Sub Sub datacon() Try con.Open() com.CommandText = select * from question com.Connection = con adp.SelectCommand = com adp.Fill(ds, question) j = ds.Tables(0).Rows.Count If i ds.Tables(0).Rows.Count Then Label2.Text = ds.Tables(0).Rows(i).Item(0) Label1.Text = ds.Tables(0).Rows(i).Item(1) RadioButton1.Text = ds.Tables(0).Rows(i).Item(2) RadioButton2.Text = ds.Tables(0).Rows(i).Item(3) RadioButton3.Text = ds.Tables(0).Rows(i).Item(4) RadioButton4.Text = ds.Tables(0).Rows(i).Item(5) If flag = True Then com1.CommandText = insert into gans values(' CInt(Label2.Text) ',' s ') com1.Connection = con com1.ExecuteNonQuery() i = i + 1 flag = False
  • 19. 21 End If Else Response.Redirect(result.aspx) End If Catch ex As Exception MsgBox(ex.Message) Finally ds.Clear() con.Close() com.Cancel() com1.Cancel() RadioButton1.Checked = False RadioButton2.Checked = False RadioButton3.Checked = False RadioButton4.Checked = False End Try End Sub Protected Sub RadioButton_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged, RadioButton2.CheckedChanged, RadioButton3.CheckedChanged, RadioButton4.CheckedChanged If RadioButton1.Checked = True Then s = RadioButton1.Text If RadioButton2.Checked = True Then s = RadioButton2.Text If RadioButton3.Checked = True Then s = RadioButton3.Text If RadioButton4.Checked = True Then s = RadioButton4.Text flag = True End Sub End Class
  • 20. 22 VB CODES FOR RESULT.ASPX.VB - Partial Class Default3 Inherits System.Web.UI.Page Dim r As Integer Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load r = Session(Roll) Static total As Integer Try con.Open() com.CommandText = select * from ans com.Connection = con com1.CommandText = select * from gans com1.Connection = con dr = com.ExecuteReader dr1 = com1.ExecuteReader While (dr.Read()) dr1.Read() If dr.Item(0) = dr1.Item(0) Then total = total + 1 End If End While If Not dr.Read Then com2.CommandText = update student set total =' total 'where roll=' r ' com2.Connection = con com2.ExecuteNonQuery() End If Catch ex As Exception MsgBox(ex.Message) Finally com2.Cancel() con.Close() dr.Close() dr1.Close() End Try Try con.Open() com.CommandText = select * from student where roll=' r ' com.Connection = con
  • 21. 23 dr = com.ExecuteReader If dr.Read Then Label4.Text = dr.Item(0) Label3.Text = dr.Item(1) Label2.Text = dr.Item(2) Label1.Text = dr.Item(3) Label5.Text = dr.Item(4) End If Catch ex As Exception MsgBox(ex.Message) Finally con.Close() com.Cancel() dr.Close() End Try End Sub Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Session.Abandon() Session.Clear() Response.Redirect(lOGIN.ASPX) End Sub End Class
  • 22. 24 VB CODES FOR GANS.ASPX.VB - Partial Class ShowGANS Inherits System.Web.UI.Page Shared count As Integer = 0 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Try con.Open() com1.CommandText = select * from gans com1.Connection = con adp.SelectCommand = com1 adp.Fill(ds) GridView1.DataSource = ds GridView1.DataBind() Page.DataBind() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, Error) Finally con.Close() com1.Cancel() ds.Clear() GridView1.Dispose() End Try End Sub Protected Sub Button1_Click1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Try con.Open() com.CommandText = delete gans com.Connection = con com.ExecuteNonQuery() MsgBox(Deleted Successfully...) Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical, Error) Finally con.Close() com.Cancel() End Try End Sub
  • 23. 25 Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged End Sub Protected Sub CheckBox1_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged If CheckBox1.Checked = True Then Panel1.Visible = True Try con.Open() com2.CommandText = select * from question com2.Connection = con dr = com2.ExecuteReader While dr.Read count = dr.Item(0) End While count += 1 TextBox1.Text = count Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical, Error) Finally com2.Cancel() dr.Close() con.Close() End Try Else Panel1.Visible = False End If End Sub Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click Try con.Open() com.CommandText = insert into question values(' Trim(TextBox1.Text) ',' Trim(TextBox2.Text) ',' Trim(TextBox3.Text) ',' Trim(TextBox4.Text) ',' Trim(TextBox5.Text) ',' Trim(TextBox6.Text) ') com.Connection = con com.ExecuteNonQuery()
  • 24. 26 com1.CommandText = insert into ans values(' Trim(TextBox1.Text) ',' Trim(TextBox7.Text) ') com1.Connection = con com1.ExecuteNonQuery() MsgBox(Question Inserted.....) Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical, Error) Finally con.Close() com.Cancel() com1.Cancel() TextBox1.Text = TextBox2.Text = TextBox3.Text = TextBox4.Text = TextBox5.Text = TextBox6.Text = TextBox7.Text = Panel1.Visible = False CheckBox1.Checked = False End Try End Sub End Class
  • 25. 27 DATABASE CODES DATABASE NAME ±ONLINEEXAM TABLE ± ADMIN Column Name Data Type Length Allow Nulls name(prim. key) varchar 50 pass varchar 50 TABLE ± STUDENT Column Name Data Type Length Allow Nulls roll(prim. key) varchar 10 name varchar 50 sex char 10 sub char 10 total int 4 yes address varchar 50 contact bigint 8 yes
  • 26. 28 DATABASE NAME ± QUESTION Column Name Data Type Length Allow Nulls queno(prim. key) int 4 que varchar 400 op1 varchar 50 op2 varchar 50 op3 varchar 50 op4 varchar 50 DATABASE NAME ± ANS Column Name Data Type Length Allow Nulls queno(prim. key) varchar 4 ans varchar 50 DATABASE NAME ± GANS Column Name Data Type Length Allow Nulls queno(prim. key) varchar 4 gans varchar 50 yes
  • 33. 35 7. Add New Question
  • 35. 37 9. ontact us
  • 36. 38 Conclusion This Web Application provides facility to conduct online examination worldwide. It saves time as it allows number of students to give the exam at a time and displays the results as the test gets over, so no need to wait for the result. It is automatically generated by the server. Administrator has a privilege to create, modify and delete the test papers and its particular questions. User can register, login and give the test with his specific id, and can see the results as well.
  • 37. 39 Bibliography y Programming Microsoft® ASP.NET 2.0 Core Reference By: Dino Esposito y ASP.NET 2.0 All-in-One Desk For Dummies® By:Wlley Publishing,Inc. y Professional Asp.Net 2.0® By: Evjen, Hanselman, Rader. y Beginning Asp.Net 2.0® By: Chris Hart. y Pro Asp.Net 2.0 In Vb 2005® By: Laurence Moroney, Matthew Macdonald, and Matthew Macdonald. y Asp.Net 2.0 Black Book, 2007 Ed®s By: Dreamtech Press, Kogent Solutions Inc.