7. ER-DIAGRAM 24-25
0
CHAPTER 1
Objective of the Project
1
Objective of the Project
One can also add new student‟s information in the database or delete the
previously entered information. It also facilitates us to take Back-ups of the data.
Our project is very useful in mapping the meanings of interactions of real world
enterprise into conceptual Schema.
Using this project we are just a single click away from the desired student
information.
2
Chapter 2
Theoretical Background of Project
3
Existing System
Time consuming.
Proposed System
Greater efficiency.
Better service.
4
Chapter 3
Definition of Problem
5
LIMITATION OF EXISTING SYSTEM
After studding current system we find that current system has less facility and
it takes much time to perform the operations. Current system cannot provide the
central data storage and it leads to the data redundancy. Current system is not
also real-time so it takes much human hours to perform the tasks.
The existing system in the organization is not completely computerized. The
system is not working smoothly; therefore the organization has decided to replace
it with a completely computerized one. The problems, which the existing system
faces, are:
To catch up with the advancements in technology and be adapt with the latest
trends and add to your college's USP, take your college online and be ahead in
using technologies for conducting exams and evaluating students. Today in most
schools, a teacher spend approximately 60% of their time in doing clerical work
like making question papers, checking answer copies and preparing results. The
most important and critical of his/her duties i.e. teaching - usually takes a back
seat. Offline examination project attempts to bridge this gap between the teacher
project by a single click of the mouse, the teacher can generate a unique question
paper for each student randomly and based on the exam result teacher can find out
6
exactly which portion of syllabus or which student needs further attention. Using
Assist schools in properly identifying and nurturing their talent pool. And
most important
Let the teachers teach, and let our tailor-made software create and conduct
regular test.
for masses.
7
CHAPTER 4
System Analysis and Design
8
SYSTEM ANALYSIS
minutest detail and analyzed. The system analyst plays the role of the
interrogator and dwells deep into the working of the present system.
The system is viewed as a whole and the input to the system are
program of action.
9
conclusion is an understanding of how the system functions. This
problem solver and tries to sort out the difficulties that the enterprise
weighed with the existing system analytically and the best one is
changes are made. This is loop that ends as soon as the user is
system activities can be obtained, from which the decision about the
be taken.
10
FEASIBILITY STUDY
serve the purpose of the organization for the amount of work, effort
and the time that spend on it. Feasibility study lets the developer
foresee the future of the project and the usefulness. A feasibility study
development.
designed and lists various areas that were considered very carefully
during
11
A. TECHNICAL FEASIBILITY
method developing the system, of running the system once it has been
designed.
there are minimal constraints involved with this project. The system
has been developed using Java the project is technically feasible for
development.
12
B. ECONOMIC FEASIBILITY
ensure that effort is concentrated on project, which will give best, return at
the earliest. One of the factors, which affect the development of a new
manual cost to spend for the proposed system. Also all the resources
13
C. BEHAVIORAL FEASIBILITY
14
CHAPTER 5
Hardware and software requirement
15
HARDWARE REQUIREMENTS
The following are the minimum requirement for the smooth and successful running of
the module.
Hardware requirement :-
Software requirement :-
16
CHAPTER – 6
PLATFORM SPECIFICATION
17
Platform Specification
Windows XP is used as platform for the project. This is a Microsoft product which
is GUI i.e. Graphical User Interface.
Front end
Visual Basic 6.0 is the most popular programming language in the
world, but does that make it suitable to use as a front end for Oracle, MS-Access,
FoxPro or any database.
VB is capable of producing software as sophisticated as any of the
other data access technique available. It provides various facilities and features for
advance software making. In VB, there are various types of database connectivity
used for programming. ActiveX Data Object (ADO), Remote Data Objects (RDO)
and Data Access Object (DAO) are used for connectivity.
Back end
The most common, quickest and easiest way to manage data is by
using a database. MS-Access provides facility to create database. It includes a
counter column to make an auto incrementing indexed file.
18
VISUAL BASIC
Visual Basic was developed from the basic programming language. In the
1970‟s Microsoft started developing ROM based interpreted BASIC for early
microprocessor based computers. In 1982, Microsoft Quick Basic revolutionized.
19
BASIC and was legitimized as a serious development language for MS-Dos
environment. Later on, Microsoft Corporation created the enhanced version of
BASIC called visual basic for windows.
VISUAL BASIC – THE MAIN FEATURES
Visual Basic is just not a language. Visual Basic is an object oriented event
driven paid action fourth generation Programming Language. Visual Basic has
always been a choice of programmers for developing windows based GUI System
at the hands of the novice user.
20
Migration Wizard has been enhanced to support distribution via the Internet; the
installation of remote server components using Distributed COM (DCOM) and
Remote Automation; and the ability to create dependency files of projects and
components created with Visual Basic. The Professional Edition also comes with
the wizard Toolbar and the Wizard Manager. Extensibility Class (Professional and
Enterprise Editions). The new Class allows you to programmatically extend the
development environment and control projects, events, code and visual elements.
Declare, Raise, and Handle your Own Events (All Editions). Object provided by
your components can raise events that can be handled in other applications. You
can handle events raised by other applications, or by your own objects, using With
Events variables. Events provide a simple alternative to asynchronous callbacks.
Code Editor Enhancements (All Editions). Block and Unblock Comments add and
remove the comment character or Debug mode allows you to get current values as
Tool Tips.
Visual Basic has rich set of features for accessing all types scalable database
from desktop database like DBS, SQL server and others. They are as follows: A
number of new data access feature have been added to Visual Basic for version
6.0. These include extensions to ADO, DAO and RDO object Class. In addition, a
paradigm that is entirely new to data access has been added- event-driven
programming. For the first time, developers can launch asynchronous operations
that indicate status or completion through events- you application need not poll to
test for completion of asynchronous events and in many cases you can activate
another process thread to make your applications more efficient and responsive.
Using ADO new features, your code can now use Active.
21
THE FOLLOWING TOPICS INTRODUCE
SELECTED NEW FEATURES
Presents a table outlining six new properties to implement optimistic client batch
update operation.
22
MICROSOFT ACCESS
It helps us to design Database file as per the requirements and as per the
specified format. It also helps us to Edit, View and Change Data in the Database.
The Command are easy to use , once the database is ready we can use it to retrieve
selected information form it and print report as per the desired format .The best
part is that the data stored in the database is flexible i.e. We can change and modify
the contents as well as off the Database any Number of Times.
Acces-2000 is Very Simple to learn .The Commands are very Powerful and
Flexible. It is possible to list and print Report, replace contents of a particular field
in the entire Database .We can arrange the Entire Information in a particular order.
Beside this Access-2000 has many other powerful common for Managing Multiple
Database File and for the Protection of Database program file etc. We can also use
it on local area network where several person work simultaneously on different
Computers on a single or Different Application.
23
CHAPTER – 7
ER Diagram
24
25
CHAPTER – 8
DATA FLOW DIAGRAM
26
27
CHAPTER – 9
DATABASE Design
28
DATABASE
1. Table Name: c
Question_no. Text
Question Memo
5.DBASEANS
29
Field Name Data Type
Question Text
Answer Text
30
8. Table Name :OSANS
31
CHAPTER – 10
INPUT AND OUTPUT SCREEN DESIGNING
32
Login Form
33
Registration
34
Change Password
35
Index
36
C Language
37
C++
38
Show Result
39
Report
40
CHAPTER – 11
CODING
41
Login Form
rs.MoveFirst
On Error Resume Next
While Not rs.EOF = True
If rs(9) = Trim(Text1.Text) Then
c=1
End If
rs.MoveNext
Wend
42
If c = 0 Then
MsgBox "invalid user", vbInformation + vbOKCancel, "online examination"
Text1.Text = ""
Text2.Text = ""
Text1.SetFocus
Exit Sub
End If
rs.MoveFirst
While Not rs.EOF = True
If rs(9) = Trim(Text1.Text) And rs(10) = Trim(Text2.Text) Then
d=1
Form2.Show
Unload Me
End If
rs.MoveNext
Wend
If d = 0 Then
MsgBox "invalid Password", vbInformation + vbOKCancel, "online
examination"
Text2.Text = ""
Text2.SetFocus
Exit Sub
End If
43
End Sub
Sub connect()
If cn.State = adStateOpen Then
cn.Close
End If
If rs.State = adStateOpen Then
rs.Close
End If
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\project\registration.mdb;Persist Security Info=False"
rs.Open "select * from register", cn, adOpenDynamic, adLockOptimistic
End Sub
44
Private Sub Option3_Click()
Form4.Show
Unload Me
End Sub
Registration
45
If b = 0 Then
rs.AddNew
rs(0) = Trim(Text10.Text) & counter
rs(1) = Trim(Text1.Text)
rs(2) = Trim(Text3.Text)
rs(3) = Trim(Text4.Text)
rs(4) = Trim(Text5.Text)
rs(5) = Trim(Combo1.Text)
rs(6) = Trim(Text7.Text)
rs(7) = Trim(Text8.Text)
rs(8) = Trim(Text9.Text)
rs(9) = Trim(Text10.Text)
rs(10) = Trim(Text11.Text)
rs(11) = Trim(Text12.Text)
If (Text11.Text = Text12.Text) Then
rs.Update
MsgBox "your Record Submitted "
Form1.Show
Unload Form3
Else
MsgBox "PASSWARD IS INCORRECT"
Text11.Text = ""
Text12.Text = ""
Text11.SetFocus
rs.MoveFirst
End If
End If
46
If b = 1 Then
MsgBox "THEIR IS ALREADY A REGISTERED USER IN THIS
NAME", vbInformation + vbOKOnly, "ONLINE EXAMMINATION"
rs.MoveFirst
Text10.SetFocus
'Text1.Text = ""
'Text3.Text = ""
'Text4.Text = ""
'Text5.Text = ""
Combo1.Text = "Select A State"
Text7.Text = "-"
'Text8.Text = ""
'Text9.Text = ""
Text10.Text = ""
Text11.Text = ""
Text12.Text = ""
End If
End Sub
Change Password
48
Wend
If n = 1 Then
If Trim(Text3.Text) = Trim(Text4.Text) Then
y=0
sql = "update register set passward = '" & Trim(Text3.Text) & "' where
user_name ='" & Trim(Text1.Text) & "'"
cn.Execute sql
sql1 = "update register set confirm_passward='" & Trim(Text4.Text) & "'
where user_name='" & Trim(Text1.Text) & "'"
cn.Execute sql1
MsgBox "your passward has been updated", vbInformation + vbOKOnly,
"online examination"
Form1.Show
Unload Me
Else
MsgBox "passward has incorrect", vbInformation + vbOKOnly, "online
examination"
End If
End If
If n = 0 Then
MsgBox "please enter correct user name and passward", vbInformation +
vbOKOnly, "online examination"
49
End If
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
rs.MoveFirst
End Sub
50
Index
Private Sub Command1_Click()
If Option1.Value = True Then
Form5.Show
Unload Me
End If
If Option2.Value = True Then
Form6.Show
Unload Me
End If
If Option3.Value = True Then
Form8.Show
Unload Me
End If
If Option4.Value = True Then
Form9.Show
Unload Me
End If
End Sub
51
C Language
Dim a As Integer
Dim b As Integer
If a = 0 Then
rs1.AddNew
rs1(0) = Label2.Caption
rs1(1) = 0
rs1.Update
End If
If a = 1 Then
rs1.AddNew
rs1(0) = Label2.Caption
rs1(1) = 10
rs1.Update
End If
Option1.Value = False
Option2.Value = False
Option3.Value = False
Option4.Value = False
rs1.MoveNext
rs2.MoveNext
53
rs.MoveNext
Label2.Caption = rs(0)
Label1.Caption = rs(1)
Option1.Caption = rs(2)
Option2.Caption = rs(3)
Option3.Caption = rs(4)
Option4.Caption = rs(5)
End Sub
Sub connect()
If cn.State = adStateOpen Then
cn.Close
End If
If rs.State = adStateOpen Then
rs.Close
54
End If
If rs1.State = adStateOpen Then
rs1.Close
End If
If rs2.State = adStateOpen Then
rs2.Close
End If
If rs3.State = adStateOpen Then
rs3.Close
End If
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\project\registration.mdb;Persist Security Info=False"
rs.Open "SELECT * FROM C", cn, adOpenDynamic, adLockOptimistic
rs1.Open "SELECT * FROM temp", cn, adOpenDynamic, adLockOptimistic
rs2.Open "SELECT * FROM Clang", cn, adOpenDynamic, adLockOptimistic
rs3.Open "delete * from temp", cn, adOpenDynamic, adLockOptimistic
End Sub
rs.MovePrevious
rs1.MovePrevious
55
rs2.MovePrevious
Option1.Value = False
Option2.Value = False
Option3.Value = False
Option4.Value = False
Label2.Caption = rs(0)
Label1.Caption = rs(1)
Option1.Caption = rs(2)
Option2.Caption = rs(3)
Option3.Caption = rs(4)
Option4.Caption = rs(5)
End Sub
56
Label2.Caption = rs(0)
Label1.Caption = rs(1)
Option1.Caption = rs(2)
Option2.Caption = rs(3)
Option3.Caption = rs(4)
Option4.Caption = rs(5)
End Sub
C++
Dim a, i As Integer
If a = 0 Then
rs1.AddNew
rs1(0) = Label2.Caption
rs1(1) = 0
rs1.Update
End If
If a = 1 Then
rs1.AddNew
rs1(0) = Label2.Caption
rs1(1) = 10
rs1.Update
End If
Option1.Value = False
Option2.Value = False
58
Option3.Value = False
Option4.Value = False
rs1.MoveNext
rs2.MoveNext
rs.MoveNext
Label2.Caption = rs(0)
Label1.Caption = rs(1)
Option1.Caption = rs(2)
Option2.Caption = rs(3)
Option3.Caption = rs(4)
Option4.Caption = rs(5)
End Sub
59
Sub connect()
If cn.State = adStateOpen Then
cn.Close
End If
If rs.State = adStateOpen Then
rs.Close
End If
If rs1.State = adStateOpen Then
rs.Close
End If
If rs2.State = adStateOpen Then
rs2.Close
End If
If rs3.State = adStateOpen Then
rs3.Close
End If
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\project\registration.mdb;Persist Security Info=False"
rs.Open "SELECT * FROM CC", cn, adOpenDynamic, adLockOptimistic
rs1.Open "select * from temp", cn, adOpenDynamic, adLockOptimistic
rs2.Open "select * from cclang", cn, adOpenDynamic, adLockOptimistic
rs3.Open "delete * from temp", cn, adOpenDynamic, adLockOptimistic
End Sub
60
Private Sub Command2_Click()
rs.MovePrevious
rs1.MovePrevious
rs2.MovePrevious
Option1.Value = False
Option2.Value = False
Option3.Value = False
Option4.Value = False
Label2.Caption = rs(0)
61
Label1.Caption = rs(1)
Option1.Caption = rs(2)
Option2.Caption = rs(3)
Option3.Caption = rs(4)
Option4.Caption = rs(5)
End Sub
Label2.Caption = rs(0)
Label1.Caption = rs(1)
Option1.Caption = rs(2)
Option2.Caption = rs(3)
Option3.Caption = rs(4)
Option4.Caption = rs(5)
End Sub
62
Show Result
End Sub
Sub connect()
If rs.State = adStateOpen Then
rs.Close
End If
If cn.State = adStateOpen Then
cn.Close
End If
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\project\registration.mdb;Persist Security Info=False"
rs.Open "select * from temp ", cn, adOpenDynamic, adLockOptimistic
End Sub
64
CHAPTER –12
LIMITATION AND
FUTURE SCOPE
65
Future Scope
66
CHAPTER – 13
CONCLUSION
67
Conclusion
68
Chapter -14
REFERENCE
69
REFERENCE
70