Professional Documents
Culture Documents
Exam
Exam
The scope of the project is the system on which the software is installed, i.e. the project is
developed as a desktop application, and it will work for a particular institute. But later on the
project can be modified to operate it online.
Examination Management System basically has two main modules for proper functioning
First module is admin which has right for creating new examination cell for new batch
and update student results.
Second module is handled by the user which can be a faulty or an operator. User has a
right to see the results.
The main purpose of the online examination program is that it allows companies/institutions to
perform examinations to any number of applicants at once, in a computerized manner. It
decreases enough time intake and amount of work that exist in the current program of
evaluation. It also allows in saving the record of each evaluation and the results are also saved in
the program. This makes the seeking of the information easier than the current program.
Examination Management System is very useful for Educational Institute to prepare an exam,
safe the time that will take to check the paper and prepare mark sheets. It will help the Institute to
testing of students and develop their skills. But the disadvantages for this system, it takes a lot of
times when you prepare the exam at the first time for usage. And we are needs number of
computers with the same number of students.
The effective use of "Examination Management System", any Educational Institute or training
centers can be use it to develop their strategy for putting the exams, and for getting better results
in less time.
Objectives Of the Project
The primary objective of the program is to effectively assess the applicant thoroughly through a
completely automated system that not only helps you to save a lot of time but also gives quick
outcomes. It is a cost-effective and well-known indicates of mass- assessment program.
Corporate between the data stored in the server of the Institution and our On-line Exam system.
To deal with On-line System in an easy way and an efficient mannered. (connection process)
Create strong and secrete data base that allow for any connection in a secret way, to prevent any
outside or inside attacks.
Specify a privilege for each person to allow each person use this system to create his own exam.
And have a complete control on his exam.
Allow each person to create more than one exam with different way to create variant questions.
Student Registration is the first process . As the part of the registration, the student has to
enter his name, address etc into the registration form. After the registration, make the question
papers and it will give to the prospective student. The question papers contain total mark,
subject, duration, questionpaper etc.
A group of person does evaluation of answer sheet. After the evaluation of the Answer
sheet , the result is published. And also make the mark list.
Feasibility is a measure of how beneficial the development of the information system will
be to an organization. This is done by investigating the existing system in the area under
investigation or generally ideas about a new system. It is a test of a system proposal according to
its workability, impact on the organization, ability to meet user needs, and effective use of
resources.
Three key considerations are involved in the feasibility analysis: economic, technical, and legal.
Economic feasibility:
Economic analysis is the most frequently used method for evaluating the
effectiveness of a proposed system. It is more commonly known as cost benefit analysis, the
procedure to determine the benefits and saving that are expected from a candidate system and
compare them with costs. If the benefits outweigh costs then a decision is made to design and
implement the system. Otherwise make alterations in the proposed system.
The innovation of the new system has much influence on the economical side of the
company. Manuel system is highly cost driven due to the high labor costs. So if a company
registers with the Online_Examination site, they can automate their day-to-day activities. Thus
the system is economically feasible.
Technical feasibility:
In examining Technical feasibility of the system, more importance is given to the
hardware interaction part of the system. The assessments of technical feasibility centers on the
existing system and to what extent it can support the proposed addition. This was based on an
outline design of system requirements in turns of inputs, files, programs, procedures, and staff. It
involves financial considerations to accommodate technical enhancements. Online_Examination
being a web based application, it uses .Net framework, 800MHZ computer, 20 GB Hard disk.
Legal feasibility:
People are inherently resistant to change, and computers have been known to
facilitate change. An estimate should be made about the reaction of the user staff towards the
development of a computerized system. Computer installations have something to do with
turnover, transfers and changes in job status. The introduction of a candidate system requires
special effort to educate, sell and train the staff for conducting the business.
The system is designed such that even a computer ignorant person can interact with
the system freely. So the system requires not much effort to train and educate people, the system
is that much legally feasible.
Features of Purposed System:
These are the important features of the project Courier Management System:
In computer system the person has to fill the various forms & number of copies of the
forms can be easily generated at a time.
In computer system, it is not necessary to create the Manifest but we can directly print it,
which saves our time.
It contain better storage capacity.
Accuracy in work.
Easy & fast retrieval of information.
Well designed reports.
Decrease the load of the person involve in existing manual system.
Access of any information individually.
Work becomes very speedy.
Easy to update information.
Feasibility Study:
After doing the system study and analyzing all the existing or required functionalities of the
system, the next task is to do the feasibility study for the project. All projects are feasible - given
unlimited resources and infinite time.
Feasibility study includes consideration of all the possible ways to provide a solution to the given
problem. The proposed solution should satisfy all the user requirements and should be flexible
enough so that future changes can be easily done based on the future upcoming requirements.
A. Economical Feasibility
This is a very important aspect to be considered while developing a project. We decided
the technology based on minimum possible cost factor.
All hardware and software cost has to be borne by the organization.
Overall we have estimated that the benefits the organization is going to receive from the
proposed system will surely overcome the initial costs and the later on running cost for system.
B. Technical Feasibility
This included the study of function, performance and constraints that may affect the
ability to achieve an acceptable system. For this feasibility study, we studied complete
functionality to be provided in the system, as described in the System Requirement Specification
(SRS), and checked if everything was possible using Visual Basic 6.0 and MS Access.
C. Operational Feasibility
No doubt the proposed system is fully GUI based that is very user friendly and all inputs
to be taken all self-explanatory even to a layman. Besides, a proper training has been conducted
to let know the essence of the system to the users so that they feel comfortable with new system.
As far our study is concerned the clients are comfortable and happy as the system has cut down
their loads and doing.
System Requirements:
Software Requirement:
Visual Basic 6.0
MS Access
Windows 2000, XP, 7 etc
Hardware Requirements:
Processor Pentium IV or higher version.
Ram 128 MB or above
Hard Disk 150 MB or above
- (10) -
Project Category:
Relational Database Management System (RDBMS) : This is an RDBMS based project which is
currently using MySQL for all the transaction statements. MySQL is an opensource RDBMS
System.
Brief Introduction about RDBSM :
A relational database management system (RDBMS) is a database management system
(DBMS) that is based on the relational model as invented by E. F. Codd, of IBM's San Jose
Research Laboratory. Many popular databases currently in use are based on the relational
database model.
RDBMSs have become a predominant choice for the storage of information in new databases
used for financial records, manufacturing and logistical information, personnel data, and
much more since the 1980s. Relational databases have often replaced legacy hierarchical
databases and network databases because they are easier to understand and use. However,
relational databases have been challenged by object databases, which were introduced in an
attempt to address the object- relational impedance mismatch in relational database, and
XML databases.
- (11) -
RDBMS Architecture Diagram
Tools/Platform, Hardware and Software Requirement specifications:
For setting this ecommerce portal, it requires certain technical requirements to be met for the
store to operate properly. First, a web server must be created to make the ecommerce store
publicly available on the web. Domain names and hosting services can easily be purchased
for an affordable price. When selecting a hosting service, you should check to see that these
server requirements are provided and installed on their web servers:
- (12) -
SYSTEM ANALYSIS
- (13) -
FEASIBILITY STUDY
At this stage, the analyst estimates the urgency of the project and
estimates the development cost.
1) Technical Feasibility:
2) Operational Feasibility:
- (14) -
What is the probability that the solution developed may not
be put to use or may not work?
3) Economic Feasibility:
- (15) -
PROJECT PLANNING
Select a project
o Testing techniques
o Documentation
- (16) -
Project milestones and deliverables
Budget allocation
Project Estimates
o Cost
o Time
o Size of code
o Duration
Resource Allocation
o Hardware
o Software
o Digital Library
Risk Management
o Risk avoidance
o Risk detection
- (17) -
PROJECT SCHEDULING
Requirement
Gathering
Analysis
Design
Coding
Testing
Implement
W W W W W W W W W W W W4
1 2 3 4 1 2 3 4 1 2 3
- (18) -
System Design
The general tasks involved in the design process are the following:
- (19) -
IV. Specify details of programs to achieve desired
functionality.
dialogue.
Interface Design:
- (20) -
3) Message, instructions or information should be displayed long
should be specified.
- (21) -
TESTING
Testing is the process in which the system is run on manually
created input so that the system is correctly working as desiredor not.
- (22) -
VALIDATION CRITERIA
The validation criteria in this project are as follows...
All the screens have a similar look and feel. They all have the almost
same color combinations in its background. This provides a better user
interface to theusers.
2) All the entries in any combo box have been sorted in alphabetical
order. This helps a user while selecting a value from the combo box.
IMPORTANCE OF TESTING
During systems testing, the system is used experimentally to ensure that
the software does not fail. In other words, we can say that it will run
according to its specifications and in the way users expect. Special test
data are input for processing, and the results examined.
- (23) -
The System is tested on the basis of specification so that it does
not fail on usersite.
- (24) -
mp
Iemlona
ien
attndT
ngites
mp
Iemlonien
att
mp
iem
l esntn
veen
g
exitse
tstp
oe
rcdue,so
rt uea
vtl gn
deis and no
gn
p
ia
sa
ie
tra
ctifn
p
se
d
ico
/d
rp
et
o
h
vrieb
hu
o
sf
trerfa
mo
o
isn.ia
ctifdi
User Training ye
-tnvio
csa
Tmp
h
iitcnae
sgu
itwe
srirp
oe
rcduer man,sua
o
ln
p
ep
iratr of ue
sn
rn
giairt ,sma
alo
cn
ierd
g
tu
itc
- (25) -
nn
gp
iairo
arg
tms
a
n
,ngp
dt
ie
tsoe
rcdue.sr
app
ova
rl o
eb
ref a em
tys beo
cme
o.n
o
sp
a
ilaetr
Installation Phase nt
sp
-Ihihae
shtenew Comp
e
zde
h
im
d
u
ertec
ys,tloo
a
n
nt
si
n
ltsive
on
ri ew p
o
mp
yi
e
rcdu
le
sf
u
sm
rlil en
dt, andt
hep
h
a
olten
fein
otewem
tys se
o
ed
x
rip
.l
Review Phase - sp
Thihae
suesa
vh
tltesue
csu
ae
n
d
srgas
df
u
liraiem
tys sd
opevme
l n
,an
e
tp
tcdt
orjomeau
set
rher
steu
slofanew Comp
e
zdiu
era
Te
n
rm
ttys nt
mso
eri fbsa
ente
ifnds
nga
sviedetcp
o
h
a
rjtes
h
a
to
r.tep
fetcorj
Post-Implementation Review - Ar
eweo
vci,ndu
ed
ertcan
tafewem
tys hasbenno
oinf
o
p
irae
o
tsrmet
me
ioe
u
tea
,a
vu
tltcalem
tys o
ma
rpfero
nne
ca
sa
ix
g
lp
ia
n
a
tetg
co
sn
a
in
irdp
sietcorj
- (26) -
b
mp
oe
r-n
o
cftisefove
rmesifo
sd
ma
A
e.sn
ein
litte
ntainse
cetcp
oe
orjtnhane
cmp
ori ove
rhtes
em
tys .
The unit testing done included the testing of the following items:
After completing the Unit testing of all the modules, the whole
- (27) -
system is integrated with all its dependencies in that module. While
System Integration, We integrated the modules one by one and tested
the system at each step. This helped in reduction of errors at the time of
the system testing.
following items:
- (28) -
test data scripts.
4. Verification and Validation testing.
5. Testing the reports with all itsfunctionality.
After the completion of system testing, the next following phase was the
Acceptance Testing. Clients at their end did this and accepted the system
with appreciation.
i. Peak Load Test: It determines whether the system will handle the
volume of activities that occur when the system is at the peak of its
processing demand. For example, test the system by activating all
terminals at the same time.
- (29) -
iv. Recovery Testing: This testing determines the ability of user to
recover data or re-start system after failure. For example, load
backup copy of data and resume processing without data or
integrityloss.
vi. Human Factors Testing: It determines how users will use the
system when processing data or preparing reports.
- (30) -
COST ESTIMATION OF THE PROJECT
The main point that was considered during the cost estimation of project
was its sizing. In spite of complete software sizing, function point and
approximate lines of code were also used to "size" each element of the
Software and their costing.
The cost estimation done by me for Project also depend upon the
baseline metrics collected from past projects and these were used in
conjunction with estimation variables to develop cost and effort
projections.
- (31) -
GANTT CHART
Requirement Gathering
Analysis
Design
Coding
Testing
Implement
W W W W W W W W W W W W4
1 2 3 4 1 2 3 4 1 2 3
- (32) -
1- level DFD:
User/Administra
tor
em
Ss
ty Output
2- level DFD:
Login
Proces
s
Attendan Report
ce entry
Student Questi Generati
entry on on
entry
- (33) -
Data Dictionary of theProject
Examination Management System
- (34) -
User Table Fields and Datatype
Field Name Datatype
user_id Autonumber
User_name Text
User_Password Text
User_level Text
User_user_id Integer
Subject_name text
teacher_local_address Text
- (35) -
teacher_permanent_address Text
teacher_phone Text
teacher_email Text
teacher_gender Text
Student_roll Text
Student_course text
student_local_address Text
student_permanent_address Text
student_phone Text
student_email Text
student_gender Text
question_branch_id text
question_subject_id Text
question_title Text
question_ans1 Text
question_ans2 Text
- (36) -
question_ans3 Text
question_ans4 Text
question_correct text
result_user_id text
result_question_id text
result_answer text
result_correct text
result_exam_id text
result_exam_id text
result_student_id text
result_branch_id text
result_subject_id text
result_total_question text
result_incorrect_answer text
result_correct_answer text
- (37) -
Screens of the Project
Examination Management
System
- (38) -
- (39) -
- (40) -
- (41) -
- (42) -
- (43) -
- (44) -
- (45) -
- (46) -
- (47) -
- (48) -
- (49) -
- (50) -
- (51) -
- (52) -
- (53) -
- (54) -
- (55) -
- (56) -
- (57) -
- (58) -
Coding of the Project
Examination Management
System
- (59) -
Code of MDI Form:
Private Sub abt_Click()
frmAbout1.Show
End Sub
- (60) -
teacher_management.Visible = False
users_management.Visible = False
student_management.Visible = False
student_result.Visible = False
openwin.Visible = False
project_repots.Visible = False
frmExam.Show
End If
End If
End Sub
- (61) -
Private Sub question_report_Click()
Questions.Show
End Sub
- (62) -
SubjectReport.Show
End Sub
- (63) -
Code of Branch
Private Sub Command1_Click()
Dim rs As New ADODB.Recordset
If branch_id.Text <> "" Then
rs.Open "select * from branch where branch_id = " & Trim(branch_id.Text), cn,
adOpenKeyset, adLockOptimistic
rs!branch_id = branch_id.Text
rs!branch_name = branch_name.Text
rs.Update
MsgBox "Branch Updated Successfully", vbInformation
Else
rs.Open "branch", cn, adOpenKeyset, adLockOptimistic
rs.AddNew
rs!branch_name = branch_name.Text
rs.Update
MsgBox "Branch Added Successfully", vbInformation
End If
Command1.Caption = "Save Record"
Command2.Visible = False
Call Branch_Fill
Call frmclear
End Sub
Public Sub Branch_Fill()
branchList.ListItems.Clear
Set rs = New ADODB.Recordset
- (64) -
Dim o_ListItem As ListItem
rs.Open "select * from branch", cn, adOpenKeyset, adLockOptimistic
Do While Not rs.EOF = True
Set o_ListItem = branchList.ListItems.Add(, , rs!branch_id)
o_ListItem.SubItems(1) = rs!branch_name
rs.MoveNext
Loop
rs.Close
End Sub
- (65) -
If ans = 6 Then
rs.Delete
MsgBox "Branch Deleted Successfully", vbInformation
Call Branch_Fill
End If
Call frmclear
End Sub
rs.Open "select * from branch where branch_id =" & ID & " ", cn, adOpenKeyset,
adLockOptimistic
- (66) -
Private Sub cmdupdate_Click()
Dim rs As New ADODB.Recordset
rs.Open "select * from branch where branch_id =" & branch_id.Text & " ", cn, adOpenKeyset,
adLockOptimistic
rs!branch_id = branch_id.Text
rs!branch_name = branch_name.Text
rs.Update
- (67) -
Control.Text = ""
End If
Next
End Function
- (68) -
Code of Change Password
Private Sub cmdadd_Click()
Dim rs As New ADODB.Recordset
rs.Open "select * from users where user_id =" & userLoginID & " ", cn, adOpenKeyset,
adLockOptimistic
If newPassword.Text <> confirmPassword.Text Then
MsgBox "New Password and Confirm Password does not match.", vbInformation
Exit Sub
End If
If rs!user_password <> oldPassword.Text Then
MsgBox "Old Password does not match", vbInformation
Exit Sub
End If
rs.Close
rs.Open "select * from users where user_id =" & userLoginID & " ", cn, adOpenKeyset,
adLockOptimistic
rs!user_password = newPassword.Text
rs.Update
MsgBox "Password changed successfully", vbInformation
End Sub
- (69) -
Private Sub Form_Load()
End Sub
- (70) -
Code of Exam Form
Dim questionID() As Integer
Dim ques_rs As New ADODB.Recordset
- (71) -
Exit Sub
End If
rs.Close
ques_rs.MoveNext
If ques_rs.EOF = True Then
Me.Hide
frmResult.Show
Exit Sub
End If
question.Caption = ques_rs!question_title
Option1.Caption = ques_rs!question_ans1
- (72) -
Option2.Caption = ques_rs!question_ans2
Option3.Caption = ques_rs!question_ans3
Option4.Caption = ques_rs!question_ans4
End Sub
- (73) -
branchID = question_branch_id.Text
subjectID = question_subject_id.Text
End Sub
- (74) -
Code of Login Form
- (75) -
MsgBox "Invalid user name"
End If
End Sub
End
End Sub
End Sub
- (76) -
Code of Question Form
rs!question_branch_id = question_branch_id.Text
rs!question_subject_id = question_subject_id.Text
rs!question_title = question_title.Text
rs!question_ans1 = question_ans1.Text
rs!question_ans2 = question_ans2.Text
rs!question_ans3 = question_ans3.Text
rs!question_ans4 = question_ans4.Text
rs!question_correct = question_correct.Text
rs.Update
MsgBox "successfully Added", vbInformation
Call frmclear
Call List_Fill
End Sub
- (77) -
End Sub
rs.Open "select * from question where question_id =" & ID & " ", cn, adOpenKeyset,
adLockOptimistic
- (78) -
If rs.EOF = True Then
MsgBox "Record Not Found", vbInformation, "Not Exit"
Exit Sub
Else
question_id.Text = rs!question_id
question_branch_id.Text = rs!question_branch_id
question_subject_id.Text = rs!question_subject_id
question_title.Text = rs!question_title
question_ans1.Text = rs!question_ans1
question_ans2.Text = rs!question_ans2
question_ans3.Text = rs!question_ans3
question_ans4.Text = rs!question_ans4
question_correct.Text = rs!question_correct
rs.MoveNext
End If
End Sub
rs.Open "select * from question where question_id =" & question_id.Text & " ", cn,
adOpenKeyset, adLockOptimistic
- (79) -
rs!question_id = question_id.Text
rs!question_branch_id = question_branch_id.Text
rs!question_subject_id = question_subject_id.Text
rs!question_title = question_title.Text
rs!question_ans1 = question_ans1.Text
rs!question_ans2 = question_ans2.Text
rs!question_ans3 = question_ans3.Text
rs!question_ans4 = question_ans4.Text
rs!question_correct = question_correct.Text
rs.Update
End Sub
- (80) -
End Function
rs.MoveNext
- (81) -
Loop
rs.Close
End Sub
End Sub
- (82) -
End Function
- (83) -
Code of Result Form
Private Sub Command1_Click()
End
End Sub
- (84) -
rs.MoveNext
Loop
rs.Close
incorrect.Caption = inCorrectAnswer
question.Caption = totalQuestion
End Function
- (85) -
Code of Student Form
- (86) -
Private Sub cmddel_Click()
Dim rs As New ADODB.Recordset
rs.Open "select * from student where student_id =" & student_id.Text & " ", cn, adOpenKeyset,
adLockOptimistic
ans = MsgBox("Are u sure to delete the record", vbYesNo + vbInformation)
If ans = 6 Then
rs.Delete
Call frmclear
Call List_Fill
End If
End Sub
rs.Open "select * from student where student_id = " & ID & " ", cn, adOpenKeyset,
adLockOptimistic
- (87) -
If rs.EOF = True Then
MsgBox "Record Not Found", vbInformation, "Not Exit"
Exit Sub
Else
student_id.Text = rs!student_id
student_name.Text = rs!student_name
student_course.Text = rs!student_course
student_roll.Text = rs!student_roll
student_email.Text = rs!student_email
student_mobile.Text = rs!student_mobile
student_address.Text = rs!student_address
If rs!student_gender = 1 Then
student_male.Value = True
Else
student_female.Value = True
End If
rs.MoveNext
End If
End Sub
- (88) -
On Error Resume Next
Dim rs As New ADODB.Recordset
rs.Open "select * from student where student_id =" & student_id.Text & " ", cn,
adOpenKeyset, adLockOptimistic
rs!student_id = student_id.Text
rs!student_name = student_name.Text
rs!student_course = student_course.Text
rs!student_roll = student_roll.Text
rs!student_email = student_email.Text
rs!student_mobile = student_mobile.Text
rs!student_address = student_address.Text
End Sub
- (89) -
If TypeOf Control Is TextBox Then
Control.Text = ""
End If
Next
End Function
- (90) -
o_ListItem.SubItems(7) = rs!student_gender
rs.MoveNext
Loop
rs.Close
End Sub
If itemListing.SelectedItem.SubItems(7) = 1 Then
student_male.Value = True
Else
student_female.Value = True
End If
End Sub
- (91) -
Code of Subject Form
Private Sub cmdadd_Click()
Dim rs As New ADODB.Recordset
rs.Open "subject", cn, adOpenKeyset, adLockOptimistic
rs.AddNew
rs!subject_name = subject_name.Text
rs.Update
MsgBox "Subject Updated Successfully", vbInformation
Call frmclear
Call Subject_Fill
End Sub
- (92) -
End Sub
rs.Open "select * from subject where subject_id = " & ID & " ", cn, adOpenKeyset,
adLockOptimistic
- (93) -
Exit Sub
Else
subject_id.Text = rs!subject_id
subject_name.Text = rs!subject_name
rs.MoveNext
End If
End Sub
rs.Open "select * from subject where subject_id =" & subject_id.Text & " ", cn,
adOpenKeyset, adLockOptimistic
rs!subject_id = subject_id.Text
rs!subject_name = subject_name.Text
rs.Update
End Sub
- (94) -
End Sub
- (95) -
Code of Teacher Form
Private Sub cmdadd_Click()
Dim rs As New ADODB.Recordset
rs.Open "teacher", cn, adOpenKeyset, adLockOptimistic
rs.AddNew
rs!teacher_name = teacher_name.Text
rs!teacher_phone = teacher_phone.Text
rs!teacher_email = teacher_email.Text
rs!teacher_local_address = teacher_local_address.Text
rs!teacher_permanent_address = teacher_permanent_address.Text
If teacher_male.Value = True Then rs!teacher_gender = 1
If teacher_female.Value = True Then rs!teacher_gender = 2
rs.Update
MsgBox "successfully Added", vbInformation
Call frmclear
Call List_Fill
End Sub
- (96) -
rs.Open "select * from teacher where teacher_id =" & teacher_id.Text & " ", cn, adOpenKeyset,
adLockOptimistic
ans = MsgBox("Are u sure to delete the record", vbYesNo + vbInformation)
If ans = 6 Then
rs.Delete
Call frmclear
Call List_Fill
End If
End Sub
rs.Open "select * from teacher where teacher_id = " & ID & " ", cn, adOpenKeyset,
adLockOptimistic
- (97) -
Else
teacher_id.Text = rs!teacher_id
teacher_name.Text = rs!teacher_name
teacher_phone.Text = rs!teacher_phone
teacher_email.Text = rs!teacher_email
teacher_local_address.Text = rs!teacher_local_address
teacher_permanent_address.Text = rs!teacher_permanent_address
If rs!teacher_gender = 1 Then
teacher_male.Value = True
Else
teacher_female.Value = True
End If
rs.MoveNext
End If
End Sub
rs.Open "select * from teacher where teacher_id =" & teacher_id.Text & " ", cn,
adOpenKeyset, adLockOptimistic
- (98) -
rs!teacher_id = teacher_id.Text
rs!teacher_name = teacher_name.Text
rs!teacher_phone = teacher_phone.Text
rs!teacher_email = teacher_email.Text
rs!teacher_local_address = teacher_local_address.Text
rs!teacher_permanent_address = teacher_permanent_address.Text
If teacher_male.Value = True Then rs!teacher_gender = 1
If teacher_female.Value = True Then rs!teacher_gender = 2
rs.Update
End Sub
End Function
- (99) -
Private Sub Form_Load()
Call List_Fill
End Sub
Loop
rs.Close
End Sub
- (100) -
teacher_id.Text = itemListing.SelectedItem.Text
teacher_name.Text = itemListing.SelectedItem.SubItems(1)
teacher_phone.Text = itemListing.SelectedItem.SubItems(2)
teacher_email.Text = itemListing.SelectedItem.SubItems(3)
teacher_local_address.Text = itemListing.SelectedItem.SubItems(5)
teacher_permanent_address.Text = itemListing.SelectedItem.SubItems(6)
If itemListing.SelectedItem.SubItems(4) = 1 Then
teacher_male.Value = True
Else
teacher_female.Value = True
End If
End Sub
- (101) -
Code of User Form
Private Sub cmdadd_Click()
Dim rs As New ADODB.Recordset
rs.Open "users", cn, adOpenKeyset, adLockOptimistic
rs.AddNew
rs!user_name = user_name.Text
rs!user_password = user_password.Text
rs!user_level = user_level.Text
rs!user_user_id = user_user_id.Text
rs.Update
MsgBox "successfully Added", vbInformation
Call frmclear
Call List_Fill
End Sub
- (102) -
ans = MsgBox("Are u sure to delete the record", vbYesNo + vbInformation)
If ans = 6 Then
rs.Delete
Call frmclear
Call List_Fill
End If
End Sub
rs.Open "select * from users where user_id = " & ID & " ", cn, adOpenKeyset, adLockOptimistic
- (103) -
user_password.Text = rs!user_password
user_level.Text = rs!user_level
user_user_id.Text = rs!user_user_id
rs.MoveNext
End If
End Sub
rs.Open "select * from users where user_id =" & user_id.Text & " ", cn, adOpenKeyset,
adLockOptimistic
rs!user_id = user_id.Text
rs!user_name = user_name.Text
rs!user_password = user_password.Text
rs!user_level = user_level.Text
rs!user_user_id = user_user_id.Text
rs.Update
- (104) -
Call List_Fill
End Sub
- (105) -
Set o_ListItem = itemListing.ListItems.Add(, , rs!user_id)
o_ListItem.SubItems(1) = rs!user_name
o_ListItem.SubItems(2) = rs!user_password
o_ListItem.SubItems(3) = rs!user_level
o_ListItem.SubItems(4) = rs!user_user_id
rs.MoveNext
Loop
rs.Close
End Sub
End Sub
- (106) -
Private Sub user_level_Click()
Set rs = New ADODB.Recordset
user_user_id.Clear
If user_level.Text = "Teacher" Then
user_user_id.Text = "Select Teacher ID"
rs.Open "select * from teacher", cn, adOpenKeyset, adLockOptimistic
Do While Not rs.EOF = True
user_user_id.AddItem rs!teacher_id
rs.MoveNext
Loop
rs.Close
ElseIf user_level.Text = "Student" Then
user_user_id.Text = "Select Student ID"
rs.Open "select * from student", cn, adOpenKeyset, adLockOptimistic
Do While Not rs.EOF = True
user_user_id.AddItem rs!student_id
rs.MoveNext
Loop
rs.Close
End If
End Sub
- (107) -
Code of Module
Public cn As New ADODB.Connection
Public userLoginID As String
Public userLevel As String
Public examID As String
Public branchID As String
Public subjectID As String
- (108) -
Conclusion
The Examination Management System is developed using Visual Basic fully meets the
objectives of the system which it has been developed. The system design and analysis has
reached a steady state where all bugs have been eliminated. The system is operated at a
high level of efficiency and all the teachers and user associated with the system
understands its advantage. The system solves the problem. It was intended to solve as
requirement specification.
- (109) -