March 2015
WESLEYAN UNIVERSITY-PHILIPPINES
Mabini Extension, Cabanatuan City
Tel: +63444632074 local 186 Fax: +63444630596
WESLEYAN UNIVERSITY-PHILIPPINES
Mabini Extension, Cabanatuan City
Tel: +63444632074 local 186 Fax: +63444630596 Email:
rsansait03@yahoo.com
APPROVAL SHEET
In partial fulfilment of the requirements for the degree of Bachelor of
Information Technology, this study entitled Electronic Entrance/Classification
Examination for Divina Pastora College was prepared and submitted by Nowell
Nicolai P. Cjucom, Irish Mariecon M. Garcia, Faye D. Ramos and Luisse Dane G.
Robles, is hereby recommended for acceptance and approval for oral examination.
RANDY SANSAIT
Member, Defense Panel
Date Signed:
/
/ 2014
RODELIO LIWAG
Member, Defense Panel
Date Signed:
/
/ 2014
Acknowledgement
First and foremost, the researchers would like to show their praises and
thanks to Almighty God for giving them strength and guiding them to finish their
study.
To Prof. Alison Ignacio, for giving his time by helping and guiding the
researchers and make them believe that they will finish their system.
To Prof. Jeremy Teano, who helped and guided the researchers to finish this
study.
The Researchers
ABSTRACT
The
researchers
conducted
an
Electronic
Entrance/Classification
Examination System for Divina Pastora College to enhance the capability of checking
the exams faster than the manual checking, to lessen the work of the faculty who are
in-charge, to organize and keep the records because of the advantage in using
database, giving teachers more time to do other works at school and to monitor the
number of examinees taking entrance/classification examinations and classified
according to their respective sections.
The researchers used the waterfall methodology were planning is the first
step, here the researchers are planning to create a system that can help the Divina
Pastora College when conducting an entrance examination, and after that the
researchers will now analysze and study the current system of the school, so that
they can identify what changes should implement in order to give solution to the
problem.
After planning and analyzing the problem and the proposed solution the
researchers are designing the possible interface of the system, here they can
visualize and imagine how the system will flow. After designing, the researchers
implemented the system; this is where the researchers put a code into the interface
in order to make it work. And lastly the system testing, this is done to see if there are
errors and something to change.
Wesleyan University-Philippines
iii
Wesleyan University-Philippines
iii
Title
Page
List of Tables:
Table 5.1 Students (tblstudents)....25
Table 5.2 User (tbluser)..25
Table 5.3 English Question (tblenglish) 26
Table 5.4 Science Question (tblscience) 26
Table 5.5 Math Question (tblmath) .26
Table 5.6 Values Question (tblvalues) 27
Table 5.7 Score (tblscore) ..27
Table 6.8 Evaluation of IT Personnel in Accuracy of the System ..28
Table 6.9 Evaluation of IT Personnel in Reliability of the System ... 28
Table 6.10 Evaluation of IT Personnel in Efficiency of the System ..29
Table 6.11 Evaluation of IT Personnel in Security of the System ..29
Table 6.12 Evaluation of IT Personnel in Usability of the System .30
Table 6.13 Evaluation of IT Personnel in Maintainability of the System ...30
Table 6.14 Evaluation of IT Personnel in Responsiveness of the System ..31
Table 6.15 Evaluation of Teacher in Accuracy of the System 31
Table 6.16 Evaluation of Teacher in Reliability of the System .32
CHAPTER I
RESEARCH DESCRIPTION
Wesleyan University-Philippines
Page 1
The staff of the Divine Pastora College sets a date, and there is designated
room where the examinees should take their exams. The examinee wouldnt know
their scores after they took the exam.
The researchers create a system that will benefit both teachers and students,
the teachers doesnt need to check the test papers one-by-one, and they dont need
to write the score and store it in a filing cabinet. The system will do those things for
them. After the examinee takes the exam there will be a total score and percentage
of the exam and there will be a database where the record will be stored.
The system is user friendly so its easy for the teachers and examinee to use
the system.
Wesleyan University-Philippines
Page 2
Wesleyan University-Philippines
Page 3
The teachers, the system can help the teachers by monitoring the numbers of
students taking exams, and keeping the records organize.
The students, the system will help examinee to take entrance exams in an
easier way through the electronic examination system. They dont have to use pen
and paper method anymore, they just have to read, think and click.
The future researchers, the system will facilitate the future researchers
whose works were linked up to our study in a way of showing them and feeding
them info that they are looking for and can help them also to improve their works.
1.5 Software Development Model
PLANNING
ANALYSIS
DESIGN
IMPLEMENTATION
TESTING
Wesleyan University-Philippines
Page 4
Wesleyan University-Philippines
Page 5
diagrams in which the problems or issues are explored, until the team understands
what the system needs to be delivered. Designing phase involves the problem
solving; it focuses on the capability of the system considering its security and
usability. The Implementation phase, this is the actual development of the system
including the coding and the execution of plan it is where all the requirements and
the entire plan are being created and develop. In this phase in every code is written
and tested to check if the correct output is received. The last phase in this method is
the Testing, this phase the system is tested to ensure that the complete system
meets the requirements and checking if the created system functioning and ready to
be use and after this stage the system delivered to customer to test.
1.6 Data Gathering Procedure
1.6.1 Interview
Interview is a data gathering method where two or more people are
asked various questions by the interviewer to draw out the facts, statements or
answers from the interviewee.
1.6.2 Questionaire:
1. ACCURACY refers to the preciseness of the newly developed system.
Accuracy Evaluation Criteria
5
The system output is free from errors.
The objective of the system is achieved.
The calculations and computations of the score in
examination is correct.
The data of the system is always updated.
The system components execute their appropriate
function correctly.
Wesleyan University-Philippines
Page 6
2. RELIABILITY refers to the ability of the system to execute its functions and
operations without experiencing errors and failures.
Reliability Evaluation Criteria
5
The gathered data in every procedure is saved correctly
into the database.
The system does not accept invalid data.
The system run properly and did not experience failure or
system crash.
The system notifies the user if there is an incomplete data
entry or required data.
The system is free from bugs.
Page 7
Wesleyan University-Philippines
Page 8
N=
Profession (Category)
x 100 = Percentage of Population
Number of Response
N=
Total * degree
Number of Response
= Weighted Mean
Page 9
Wesleyan University-Philippines
Page 10
database, and interprets for scripts written in the PHP and Perl programming
languages.
1.9.3 MySQL My S-Q-L, officially, but also called My Sequel, (as of March
2014) the most worlds second most widely used open-source relational database. It
is popular choice of database for use I web applications, and is a central component
of the widely used LAMP opens source web application software stack (and other
AMP stacks. LAMP is an acronym for Linux, Apache, MySQL, Perl/PHP/Python.
1.9.4 VB 2010 features in VB 2010 are designed to help you get more done
in fewer lines of code. Visual Basic is a line oriented language that uses clear,
English-like syntax to enhance readability. Visual Basic 2010 or VB10 is the most
powerful yet, contains numerous time-saving features that help developers get
more done with fewer lines of code.
Wesleyan University-Philippines
Page 11
EXAMINEE
CONFIRMED
LOGIN INFO
EXAM QUESTIONS
EXAM
DETAILS
EXAMINEE
DETAILS
EXAM RESULTS
ELECTRONIC
ENTRANCE
EXAMINATION
RECORDS
OF THE
EXAMINEE
EXAM
QUESTIONS
EXAM
RESULTS
EXAMINEE
RECORDS
ADMIN
Figure 1.2 Context Diagram of the Electronic Entrance/Classification
Examination System
The context diagram contains the one process that generalizes the function of
the entire system in relationship to external entities; the diagram shows the major
flow of the system which is the transaction or the process how the system transmits
its data and the main process of the system.
Wesleyan University-Philippines
Page 12
CHAPTER II
REVIEW OF RELATED LITERATURE AND STUDIES
Page 13
one of the private universities in Nigeria. Findings revealed that the system has the
potential to eliminate some of the problems that are associated with the traditional
methods of examination such as impersonation and other forms of examination
malpractices.
According to Bodmann and Robinson (2009) conducted an experimental
study to compare speed and performances differences among computer-based
(CBTs) and paper-pencil tests (PPTs). In experiment fifty-five undergraduate
students enrolled in the subject of educational psychology, participated in the
studies which were already familiar with computer-based tests. Both CBTs and PPTs
contained 30 MCQs items with 35 minute of time limit. Approximately half class (28
students) took the first test on the computer and rest preferred first test on paper.
Procedures shifted for the second tests, with the first group receive PPTs and
second group CBTs with a gape of two weeks. It was concluded that undergraduates
completed the CBT faster than PBT with no difference in scores.
In addition, Koppel and Hollister conducted a study to examine the impact on
student performance of a computer-based assessment (CBA) as compared to a
traditional testing method. Three different research tool were used in the study to
collect and interpret results i.e., questionnaires completed by students to express
their CBA experiences; faculty interviews who had administered computer-based
test to determine students perceptions of using this medium of testing and analysis
of students test scores in both conventional paper-based tests (PBT) and CBA. Total
133 students out of which 91 have no prior experience of CBA and remaining 42 had
Page 14
experienced the same in their previous courses. The Excel CBA was comprised of 25
items was constructed. Students scores on CBA were automatically recorded which
included overall scores achieved. Grades on CBA were based on students ability to
complete a specific skill-based operation in the application of MS Excel. CBA was
administered in one class period; at the end of the exam students reviewed their
results. PBT was administered in the next class period. The PBT were examined
manually by viewing the printout and actual Excel file containing the completed
examinations. Results of PBT were recorded physically by noting the required
information in an Excel sheet. Grades on the PBT were based on the final product
submitted by each student as opposed to how each task was performed. On the
question of ease of use, majority of the students (59%) found the software to be
easy, 29% found it to be moderate and 12% the software to be somewhat difficult to
use. Interpreting the range of skills, 76% responded that CBA was more effective
test. Evaluating the difficult of question paper 65% responded that question paper
were moderated, 34% of the students felt the automatic grading system was fair
while 39% didnt find the grading fair. Only 19% felt that CBA negatively impacted
their performance. Only14% students found CBA easier while 49% found it difficult
or more difficult. Total 58% preferred CBA and 42% preferred PBT. Faculty
perceived to be more positive towards CBA in terms of less time writing exams,
reduce grading time, simple method of record keeping of grades and improved
validity of test validity through post-test statistical analysis.
In addition, Calarina and Wallace (2010) investigated to confirm several key
factors in computer-based versus paper-based assessment. Factors of the study
Wesleyan University - Philippines
Page 15
Page 16
assessment program is good depends on whether the assessment tasks are relevant
to the aims and intended learning outcomes for the course, not forgetting the
attitudes and skills that are to be tested.
In addition, Fagbola Temitayo M. (2013) The paper and pen (manual)
method of writing examination, which has been in existence for decades, may not be
appealing for use because of the problems usually experienced including
examination venue capacity constraints, lack of comfort for examination candidates,
delay in the release of results, examination malpractices, cost implication of printing
examination materials and human error. This brings about the need for automation
of the examination system. Over the years, there have been various automated
examination systems that have been developed with one or more limitations. Some
of these limitations include lack of scalability, near-reliability, lack of robustness,
lack of flexible timing functionality to automatically log-off candidates upon
expiration of allotted time as a challenge (Ipaye, 2009); malpractice due to
questions not randomly generated (Ayo et al, 2007); not well secured application
domain in terms of data security and integrity (Levy & Ramim, 2007); most existing
computer based test (CBT) systems are deployed as stand-alone applications that
run on distributed networks making access to such applications restricted to the
networked geographical domain and are only suited for the application
environment only (Huszti & Petho, 2008). As such, no unified development model
exists and this alone undermines the success of the e-examination platform for realtime adoption in practice. An online assessment however, is expected to offer
several advantages for the institution and the learner.
Wesleyan University - Philippines
Page 17
CHAPTER III
CONCEPTUAL AND THEORETICAL FRAMEWORK
Nowadays, people are using technology and continuing to develop more in
order to make things easy to manage and use. Dealing with computers everyday
discovers something or make something such as software like Electronic
Entrance/Classification Examination System that has the capability to organize and
keep the records because of the advantage in using database, giving teachers more
time to do other works at school, to monitor the number of examinees taking
examinations and classified the examinees according to their respective sections
and of checking the exams faster than the manual checking so that the examinees
can know already if he/she is passed or failed.
Electronic Entrance/Classification Examination System for Divina Pastora
College is made to provide in order for the incoming students and transferees to
take and check the entrance examination in an easy way. This has a login phase
were system will get the following data such as examinees name and year level will
act to create a database to store data and for the result of the examinations. The
system automatically provides randomized multiple questions on different year
level. After answering the questions, the result will appear at the end of the
examinations. And it will be recorded in the database of the system.
The proposed system will help the school, students, and teachers. The system
has the capacity and the quality of supporting the needs of the school, students and
Page 18
teachers, in terms of exam evaluation. It proves that the proposed system is much
better than the manual system that has lots of process and time consuming.
3.1 Paradigm of the study
INPUT:
-
Examinees
Name
Year Level
Questions
PROCESS:
OUTPUT:
Login of the
students.
Students logged
in.
Updating of
questions
Questions
Updated
Showing of
results
Results View
Recording the
data of the
students
Data Recorded
Page 19
CHAPTER IV
ELECTRONIC ENTRANCE/CLASSIFICATION EXAMINATION SYSTEM
Page 20
button, it proceeds now to the summary of the examination results were the all the
score in the subjects added to get the total score of the examination and the passing
percentage rate with remarks telling if the examinee is passed or failed. The results
will be recorded in the database.
4.2 System Objectives
The system objectives of Electronic Entrance Exam for Divina Pastora College:
(1) Efficient and organized administering of exam.
(2) Easy and faster to check the exam results.
(3) Examination result is already published.
(4) To provide statics and passing percentage.
4.3 System Functions
4.3.1 System Function for Examinee:
LOG IN the students must be logged in first before proceeding to the
examination. He can access the page for taking the exam.
INSTRUCTION this is the page that gives the student specific instruction
and guidelines on how to use and take the entrance examination.
QUESTION FORM - it consists of twenty questions per subjects. The subjects
are English, Mathematics, Science and Values. Time per exam can be set using a time
setting module in the admin form. It has a next button to proceed to the next
question and end button to see the results of the examination.
Wesleyan University - Philippines
Page 21
RESULTS it shows the score, percentage rate and summary of the answer.
4.3.2 System Function for Admin:
LOG IN the admin must be logged in first before proceeding.
MAIN FORM - Admin accesses all the modules such as account manager, add
questions, view results, view questions, time setting and help but operators are not
allowed to view account manager module.
ACCOUNT MANAGER the admin can add, update and remove another
operator to continue to use and maintain the system.
VIEW QUESTIONS the admin can view the examinations in order to see the
entire exam and to examine if there has a typographical error and changes.
VIEW RESULTS the admin can view the summary of results such as the
name of the examinee, date taken the exam, correct answers and the score with
percentage.
HELP guidelines on how to use the systems.
SETTINGS - the admin can set the time and the total number of questions in each
subject.
Page 22
randomized multiple questions for each subject and there will be a time limit.
Questions have taken automatically computes the correct answer. The scores and
other datas will be recorded in the database. There will be two forms, the examinee
form and the admin form.
The system doesnt cover the records of the examinee that is already paid.
The retaking of exams does not include in the system.
4.5 Physical Environment and Specifications
The created system can be used in the computer laboratory of the school, in
order to implement the system there must be a hardware requirement. The Intel
Core i5-3330 CPU @ 3.00GHz for the processor to have a fast performance, a
4.00GB memory and a 1024 x 720 screen resolution. These hardware requirements
are recommended to let the software or system perform correctly, and faster.
The system has also a software requirements, the system uses the Microsoft
Windows OS (32-bit, x64-based processor), Visual Studio 2013 in the language of
Visual basic to program the system.
4.6 Architectural Design
Examinee
Application Server
Data Storage
Page 23
Page 24
CHAPTER V
DESIGN AND IMPLEMENTATION ISSUES
PROPERTIES
DESCRIPTION
Int(3)
The tables primary key(ID)
Varchar(50)
Surname of the student
Varchar(50)
First name of the student
Varchar(50)
Middle Name of the student
Varchar(50)
Grade level of the student
Table 5.1 Student (tblstudents)
This table of the student will be used in the system login phase. This was
designed for the information of examinees privileges.
FIELD
UserID
UserName
Password
UserType
PROPERTIES
DESCRIPTION
Int(3)
The tables primary key(ID)
Varchar(50)
The users login username
Varchar(50)
The users password
Varchar(50)
User type determines access privilege
Table 5.2 User (tbluser)
Page 25
This table of the user will be used in the system login phase. This was
designed for the information of the admins privileges.
FIELD
QID
Questions
Answer1
Answer2
Answer3
CorrectAnswer
Grade
PROPERTIES
DESCRIPTION
Int(3)
The tables primary key(ID)
Varchar(50)
The questions to be answer
Varchar(50)
Choice number 1.
Varchar(50)
Choice number 2.
Varchar(50)
Choice number 3.
Varchar(50)
The correct answer
Int(3)
Year level of the students
Table 5.3 English Question (tblenglish)
This table contains the question, choices and the correct answer of English
subject. This was design to implement question in the system.
FIELD
QID
Questions
Answer1
Answer2
Answer3
CorrectAnswer
Grade
PROPERTIES
DESCRIPTION
Int(3)
The tables primary key(ID)
Varchar(50)
The questions to be answer
Varchar(50)
Choice number 1.
Varchar(50)
Choice number 2.
Varchar(50)
Choice number 3.
Varchar(50)
The correct answer
Int(3)
Year level of the students
Table 5.4 Science Question (tblscience)
This table contains the question, choices and the correct answer of Science
subject.
FIELD
QID
Questions
Answer1
Answer2
Answer3
CorrectAnswer
Grade
PROPERTIES
DESCRIPTION
Int(3)
The tables primary key(ID)
Varchar(50)
The questions to be answer
Varchar(50)
Choice number 1.
Varchar(50)
Choice number 2.
Varchar(50)
Choice number 3.
Varchar(50)
The correct answer
Int(3)
Year level of the students
Table 5.5 Math Question (tblmath)
Page 26
This table contains the question, choices and the correct answer of Math subject.
FIELD
QID
Questions
Answer1
Answer2
Answer3
CorrectAnswer
Grade
PROPERTIES
DESCRIPTION
Int(3)
The tables primary key(ID)
Varchar(50)
The questions to be answer
Varchar(50)
Choice number 1.
Varchar(50)
Choice number 2.
Varchar(50)
Choice number 3.
Varchar(50)
The correct answer
Int(3)
Year level of the students
Table 5.6 Values Question (tblvalues)
This table contains the question, choices and the correct answer of Values
subject.
FIELD
StudentID
ScoreEnglish
ScoreScience
ScoreMath
ScoreValues
TotalScore
PROPERTIES
DESCRIPTION
Int(3)
The tables foreign key
Int(3)
The score in English subject.
Int(3)
The score in Science subject.
Int(3)
The score in Math subject.
Int(3)
The score in Values subject.
Int(3)
The total score in all subjects.
Table 5.7 Score (tblscore)
This table contains the score in every subject and the average score of the
students. This was design to store the result of the examination.
Page 27
CHAPTER VI
RESULTS AND EVALUATION
WEIGHTED
MEAN
3.67
4.33
4
VERY GOOD
VERY GOOD
VERY GOOD
3.67
4.33
VERY GOOD
VERY GOOD
VERY GOOD
DESCRIPTION
WEIGHTED
MEAN
3.67
DESCRIPTION
Page 28
summary, the reliability of the system got an overall weighted mean of 3.4 which
verbally interpret as Good.
EFFICIENCY EVALUATION CRITERIA
WEIGHTED
MEAN
4.33
3
3.33
3.67
4
DESCRIPTION
WEIGHTED
DESCRIPTION
MEAN
Log-in is required before the user can access the system.
4
VERY GOOD
Users can change or edit their account.
4.33
VERY GOOD
User access level can be defined for each user.
3.67
VERY GOOD
User access level is limited.
4.33
VERY GOOD
User account management is functional.
4
VERY GOOD
OVERALL WEIGHTED MEAN
4.07
VERY GOOD
Table 6.11: Evaluation of IT Personnel in Security of the System
In this table, IT Personnel evaluated the security of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
security of the system got an overall weighted mean of 4.07 which verbally interpret
as Very Good.
Page 29
WEIGHTED
MEAN
3.67
DESCRIPTION
WEIGHTED
DESCRIPTION
MEAN
Users/Admin account can be managed.
3.67
VERY GOOD
The data such as results of the exam can be stored.
3.67
VERY GOOD
The data can be updated.
4
VERY GOOD
The data show the summary of the examination results.
4.33
VERY GOOD
OVERALL WEIGHTED MEAN
3.92
VERY GOOD
Table 6.13: Evaluation of IT Personnel in Maintainability of the System
In this table, IT Personnel evaluated the maintainability of the newly system
entitled Electronic Entrance Examination System for Divina Pastora College. In
summary, the maintainability of the system got an overall weighted mean of 3.92
which verbally interpret as VERY GOOD.
Page 30
WEIGHTED
MEAN
4.67
4
4.67
3.67
DESCRIPTION
WEIGHTED
MEAN
3.67
3.33
3.33
DESCRIPTION
VERY GOOD
GOOD
GOOD
VERY GOOD
VERY GOOD
VERY GOOD
In this table, Teachers evaluated the accuracy of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
accuracy of the system got an overall weighted mean of 3.6 which verbally interpret
as Very Good.
Page 31
WEIGHTED
MEAN
3
DESCRIPTION
VERY GOOD
VERY GOOD
GOOD
VERY GOOD
VERY GOOD
GOOD
In this table, Teachers evaluated the reliability of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
reliability of the system got an overall weighted mean of 3.27 which verbally
interpret as Good.
EFFICIENCY EVALUATION CRITERIA
WEIGHTED
MEAN
3.33
3.67
3.67
4
3
DESCRIPTION
GOOD
VERY GOOD
VERY GOOD
VERY GOOD
GOOD
GOOD
In this table, Teachers evaluated the efficiency of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
efficiency of the system got an overall weighted mean of 3.53 which verbally
interpret as Good.
SECURITY EVALUATION CRITERIA
Log-in is required before the user can access the system.
Users can change or edit their account.
Wesleyan University - Philippines
WEIGHTED
MEAN
4
4
DESCRIPTION
VERY GOOD
VERY GOOD
Page 32
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
In this table, Teachers evaluated the security of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
security of the system got an overall weighted mean of 4which verbally interpret as
Very Good.
USABILITY EVALUATION CRTERIA
WEIGHTED
MEAN
3.33
DESCRIPTION
GOOD
GOOD
VERY GOOD
GOOD
GOOD
GOOD
GOOD
GOOD
In this table, Teachers evaluated the usability of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
usability of the system got an overall weighted mean of 3.4 which verbally interpret
as Good.
MAINTAINABILITY EVALUATION CRITERIA
WEIGHTED
DESCRIPTION
MEAN
Users/Admin account can be managed.
4
VERY GOOD
The data such as results of the exam can be stored.
3.67
VERY GOOD
The data can be updated.
4
VERY GOOD
The data show the summary of the examination results.
3.67
VERY GOOD
OVERALL WEIGHTED MEAN
3.84
GOOD
Table 6.20: Evaluation of Teacher in Maintainability of the System
Wesleyan University - Philippines
Page 33
WEIGHTED
MEAN
3.67
4.67
4
4.67
DESCRIPTION
WEIGHTED
MEAN
4.08
4.25
4.25
DESCRIPTION
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
Page 34
In this table, students evaluated the accuracy of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
accuracy of the system got an overall weighted mean of 4.30 which verbally
interpret as Very Good.
RELIABILITY EVALUATION CRITERIA
WEIGHTED
MEAN
4.42
DESCRIPTION
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
In this table, Students evaluated the reliability of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
reliability of the system got an overall weighted mean of 4.31 which verbally
interpret as Good.
EFFICIENCY EVALUATION CRITERIA
WEIGHTED
MEAN
4.33
3.96
4.33
4.33
4.29
DESCRIPTION
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
GOOD
GOOD
In this table, Students evaluated the efficiency of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
Page 35
efficiency of the system got an overall weighted mean of 3.38 which verbally
interpret as Good.
SECURITY EVALUATION CRITERIA
WEIGHTED
MEAN
Log-in is required before the user can access the system.
4.25
Users can change or edit their account.
4.21
User access level can be defined for each user.
4.29
User access level is limited.
4.29
User account management is functional.
4.33
OVERALL WEIGHTED MEAN
4.27
Table 6.25: Evaluation of Student in Security of the System
DESCRIPTION
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
In this table, Students evaluated the security of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
security of the system got an overall weighted mean of 4.27 which verbally interpret
as Very Good.
USABILITY EVALUATION CRTERIA
WEIGHTED
MEAN
4.33
4.25
4.29
DESCRIPTION
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
In this table, Students evaluated the usability of the newly system entitled
Electronic Entrance Examination System for Divina Pastora College. In summary, the
usability of the system got an overall weighted mean of 3.85 which verbally
interpret as Good.
Wesleyan University - Philippines
Page 36
WEIGHTED
MEAN
Users/Admin account can be managed.
4.46
The data such as results of the exam can be stored.
4.33
The data can be updated.
4.49
The data show the summary of the examination results.
4.38
OVERALL WEIGHTED MEAN
4.42
Table 6.27: Evaluation of Student in Maintainability of the System
DESCRIPTION
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
VERY GOOD
WEIGHTED
MEAN
4.67
4.38
4.5
4.38
DESCRIPTION
Page 37
CHAPTER VII
SUMMARY, CONCLUSION AND RECOMMENDATION
This chapter presents the summary of the study, conclusion and recommendation
based on the data and studies conducted.
Summary
This study is about the electronic entrance/classification examination for the
School of Divina Pastora College. The school is currently using a manual system
which is using pen and paper for the entrance examination in which they are
encountering problems. Because of that the researchers tried to develop a system
that will help the school to solve or to lessen their problems in terms of giving an
entrance examination.
This study used the descriptive method in order to describe the existing
system as well as the newly developed system. The researchers used this method to
analyze and evaluate the system. For data gathering, the researchers conducted an
evaluation in order to identify the quality of the system, observation to understand
more about the study.
The waterfall method was being used for software development model for
this study. Statistical tools were used in this system including the weighted mean
and the evaluation criteria. The researchers also used some analytical tools like DFD
and VTOC that helps the study to explain more about the system flow.
Page 38
Page 39
3. The overall efficiency of system for Teacher is 3.53 which are verbally
interpreted as Good.
4. The overall security of the system receives 4 which are verbally interpreted
as Very Good.
5. For the usability of the system, Teacher has an overall of 3.24 which is
verbally interpreted as Good.
6. The overall maintainability of the system is 3.84 which are verbally
interpreted as Very Good.
7. The overall result of Teacher in the category of responsiveness is 4.10 which
are verbally interpreted as Very Good
IT Personnel:
1. The result of the overall accuracy for IT Personnel is 4 it is also interpreted as
Very Good.
2. IT Personnel is 3.4 in overall of the reliability it is interpreted as Good.
3. The overall of efficiency for IT Personnel is 3.67 it is interpreted as Very
Good.
4. Overall security of IT Personnel is 4.07 it is interpreted as Very Good.
5. The overall of the usability for IT Personnel is 3.76 it is also interpreted as
Very Good.
6. IT Personnel received 3.92 in overall of maintainability which is interpreted
as Very Good.
Page 40
researchers
therefore
conclude
that
the
Electronic
Page 41
WESLEYAN UNIVERSITY-PHILIPPINES
Cabanatuan City
COLLEGE OF COMPUTER STUDIES
October 7 2014
Dear Respondents,
Greetings in the name of the Lord!
The undersigned our Bachelor of Science and Information Technology students of the
College of Computer Students, Wesleyan University-Philippines, Cabanatuan City. They are
currently enrolled in the subject IT 206 B CAPSTONE PROJECT
(TECHNOPRENEURSHIP) 2 this First Semester School Year 2014-2015.
This subject requires them to conduct and complete a capstone project. Their proposal is
entitled ELECTRONIC ENTRANCE/CLASSIFICTION EXAMINATION SYSTEM FOR DIVINA
PASTORA COLLEGE.
In connection to this, they would like to seek permission to allow them to conduct this study
in your prestigious institution. Furthermore, they would like to request that they be allowed
to gather important information which is necessary towards the success of this study. Rest
assured that all information that they will gather will be treated with utmost confidentiality.
Your favourable approval in this regard will be truly appreciated.
Thank you very much and may the Lord bless you more!
Noted by:
PROF. JEREMY JANE A. TEANO
Adviser, College of Computer Studies
Gender:
Student
Grade Level:
Teacher
School:
IT Personel
INSTRUCTION: rate the system entitled Electronic Entrance/Classification Examination for Divina
Pastora College based on the listed criteria below.
Scale
5
4
3
2
1
Verbal Description
Excellent
Very Good
Good
Fair
Poor
2. RELIABILITY refers to the ability of the system to execute its functions and operations
without experiencing errors and failures.
Reliability Evaluation Criteria
The gathered data in every procedure is saved correctly into the
database.
The system does not accept invalid data.
The system run properly and did not experience failure or system
crash.
The system notifies the user if there is an incomplete data entry or
required data.
The system is free from bugs.
3. EFFICIENCY refers to the newly developed system ability to complete the task it needs to
accomplish while minimizing the resources as compared to the old system.
4. SECURITY refers to the ability of the system to secure and protect itself from unauthorized
use.
Security Evaluation Criteria
5
4
3
2
1
Log-in is required before the user can access the system.
Users can change or edit their account.
User access level can be defined for each user.
User access level is limited.
User account management is functional.
5. USABILITY easy to use because of its user friendly theme.
Usability Evaluation Criteria
The user interface is very creative and easy to understand.
The system is easy to navigate within the program.
The icons, buttons and the graphics that are used are very appealing
and usable.
The system clearly show to the user which point he has reached within
the program.
The software is usable without reference manual.
The instructions are clearly discuss.
The language being used in the system is easy to understand.
APPENDIX C: CERTIFICATION
WESLEYAN UNIVERSITY-PHILIPPINES
Cabanatuan City
COLLEGE OF COMPUTER STUDIES
October 2014
CERTIFICATION OF APPROVAL
Noted by:
PROF. JEREMY JANE A. TEANO
Adviser, College of Computer Studies
EXAMINEE
ENTRANCE
EXAMINATION PAYMENT
INFO AND EXAMINEE
INFO
D1 EXAMINEE INFO
INFO
LOGIN
CONFIRMED LOGIN INFO
2
VIEW
INSTRUCTIONS
ENGLISH
QUESTIONS
EXAMINATION QUESTIONS
EXAMINATION ANSWER
D2 ENGLISH
SCIENCE
QUESTIONS
D3 SCIENCE
TAKE
EXAM
VALUES
QUESTIONS
D4 VALUES
D5 MATHEMATICS
MATHEMATICS
QUESTIONS
EXAM RESULTS
END OF
EXAM
D6
SCORES
5
VIEW EXAM
RESULTS
EXAM RESULTS OF
THE EXAMINEE
EXAMINEE
RECORDS AND
EXAM RESULTS
ADMIN
INFO
D1 USER INFO
LOGIN
2
OPERATOR INFO
ADD/REMOVE
OPERATOR
OPERATOR ADDED/REMOVED
INFO
D1 USER INFO
D2
ENGLISH EXAM
D3
SCIENCE EXAM
3
EXAM QUESTIONS AND
ANSWERS
ADD
D4
EXAM
D5
EXAMINATION ADDED
VIEWED
INSTRUCTIONS
MATHEMATICS EXAM
D2 ENGLISH EXAM
D3
SCIENCE EXAM
D4 VALUES EXAM
EXAM
D5
TIME
SETTINGS
MATHEMATICS EXAM
EXAMINATION VIEWED
VIEWED INSTRUCTIONS
VIEW
RESULTS
6
VIEWED RESULTS
HELP
VIEW
VALUES EXAM
D6
SCORES
ll
>l
>l
>l ol
ol
l<
l<
ll
ll
ll
Wesleyan University-Philippines
>l
ll
PROPERTIES
Int(3)
Varchar(50)
Varchar(50)
Varchar(50)
Varchar(50)
DESCRIPTION
The tables primary key(ID)
Surname of the student
First name of the student
Middle Name of the student
Grade level of the student
FIELD
PROPERTIES
UserID
Int(3)
UserName
Varchar(50)
Password
Varchar(50)
UserType
Varchar(50)
Table English Question (tblenglish)
DESCRIPTION
The tables primary key(ID)
The users login username
The users password
User type determines access privilege
FIELD
PROPERTIES
QID
Int(3)
Questions
Varchar(50)
Answer1
Varchar(50)
Answer2
Varchar(50)
Answer3
Varchar(50)
CorrectAnswer
Varchar(50)
Grade
Int(3)
Table Science Question (tblscience)
DESCRIPTION
The tables primary key(ID)
The questions to be answer
Choice number 1.
Choice number 2.
Choice number 3.
The correct answer
Year level of the students
FIELD
QID
Questions
Answer1
Answer2
Answer3
CorrectAnswer
Grade
PROPERTIES
Int(3)
Varchar(50)
Varchar(50)
Varchar(50)
Varchar(50)
Varchar(50)
Int(3)
Wesleyan University-Philippines
DESCRIPTION
The tables primary key(ID)
The questions to be answer
Choice number 1.
Choice number 2.
Choice number 3.
The correct answer
Year level of the students
PROPERTIES
Int(3)
Varchar(50)
Varchar(50)
Varchar(50)
Varchar(50)
Varchar(50)
Int(3)
DESCRIPTION
The tables primary key(ID)
The questions to be answer
Choice number 1.
Choice number 2.
Choice number 3.
The correct answer
Year level of the students
PROPERTIES
Int(3)
Varchar(50)
Varchar(50)
Varchar(50)
Varchar(50)
Varchar(50)
Int(3)
DESCRIPTION
The tables primary key(ID)
The questions to be answer
Choice number 1.
Choice number 2.
Choice number 3.
The correct answer
Year level of the students
PROPERTIES
Int(3)
Int(3)
Int(3)
Int(3)
Int(3)
Int(3)
Int(3)
DESCRIPTION
The tables primary key(ID)
The tables foreign key
The score in English subject.
The score in Science subject.
The score in Math subject.
The score in Values subject.
The total score in all subjects.
Wesleyan University-Philippines
Account Manager
Time Settings
View Results
Help
View Question
Modify Exam
Add, Update,
Delete Operator
Filter by Grade
Add, Update
Exam
End of Exam
Figure 8: VTOC User
Wesleyan University-Philippines
Username
& Password
Is Valid?
No
Invalid Data
Yes
?
Main Menu
Go to
System?
No
Yes
?
No
View
exam?
Yes
?
No
Add/Remove
exam?
Yes
?
Exam View
Add/Remove
User
Add/Remove
Exam
Stop
Wesleyan University-Philippines
Examinee
Registration/
login
Examinee
Login
No
Is
Complete?
Yes
?
Instructions
Start
exam
Yes
?
Answer
Questions
No
Compute Score
No
Add/Remove
Exam
Stop
Wesleyan University-Philippines
End?
Yes
?
Show Score
Login form
Figure 11: Login
The first form that appears when you open the file is the Login Form. It has
username and password for security purposes of the system.
Main form
Figure 12: Main Form
Wesleyan University-Philippines
This is the Main Form, where you can find the buttons which can access different
forms like Add User/Operator and Add exam. It has also a Help button where you can
view some guidelines on how to operate this system.
Operator/User Form
Figure 13: Operator/User Form
Operator/User Form, this form is for admin or operator, even the teachers who will
operate the system.
They need to have their own account to access thesystem.
Add exam
Figure 14: Add Exam
Wesleyan University-Philippines
This is the form called add exam, where an authorized person can input question,
choices, and the correct answer of the exam that the examinee will take.
Registration Form
Figure 15: Registration Form
When the examinee enters the lab, this is the first form he will encounter; this is
called Registration form, where examinee must fill up in able to take the exam. The
data that he input will be recorded and serves as his information.
Instruction
Figure 16: Instruction
This is the instruction form; this serves as a guideline for the examinee on how to
take the exam.
Wesleyan University-Philippines
English Form
Figure 17: English Form
English form, English is the first subject that examinee will take.
Science Form
Figure 18: Science Form
Science form, Science is the second subject that examinee will take.
Wesleyan University-Philippines
Mathematics Form
Figure 19: Mathematics Form
Mathematics form, Mathematics is the third subject that examinee will take.
Values Form
Figure 20: Values Form
Values form, Values is the Last subject that examinee will take.
Wesleyan University-Philippines
5
0
0
End Form
Figure 21: End Form
This is the last form called end form. It contains score in each subject and the
percentage of the total score.
Wesleyan University-Philippines
SOURCE CODE
MsgBox("Saved")
btnAdd.Text = "Add"
Disable()
Clear()
End If
End Sub
Account Manager
Public Class frmAddOperator
Private Sub
TbluserBindingNavigatorSaveItem_Click
(ByVal sender As System.Object, ByVal
e As System.EventArgs)
Me.Validate()
True
Me.TbluserBindingSource.EndEdit()
True
Me.TableAdapterManager.UpdateAll(Me.E
lectronic_entrance_examDataSet)
End Sub
Private Sub
frmAddOperator_Load(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.tblu
ser' table. You can move, or remove
it, as needed.
Me.TbluserTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tbluser)
End Sub
Private Sub btnAdd_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
btnAdd.Click
If btnAdd.Text = "Add" Then
Clear()
Able()
btnAdd.Text = "Save"
ElseIf
PasswordTextBox.Text.Length < 4 Then
MsgBox("Password
Invalid!!", vbInformation + vbOKOnly,
"Error")
ElseIf btnAdd.Text = "Save"
Then
Me.TbluserTableAdapter.InsertQuery(Us
erNameTextBox.Text,
PasswordTextBox.Text,
UserTypeComboBox.Text)
Me.TbluserTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tbluser)
Sub Able()
UserNameTextBox.Enabled =
PasswordTextBox.Enabled =
True
UserTypeComboBox.Enabled =
End Sub
Sub Clear()
UserNameTextBox.Clear()
PasswordTextBox.Clear()
UserTypeComboBox.Text = ""
End Sub
Sub Disable()
UserNameTextBox.Enabled =
False
PasswordTextBox.Enabled =
False
UserTypeComboBox.Enabled =
False
End Sub
Clear()
Disable()
End If
End Sub
Private Sub btnRemove_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
btnRemove.Click
Dim q As String
If UserTypeComboBox.Text =
"Admin" Then
MsgBox("Admin user cannot
be deleted!", vbInformation +
vbOKOnly, "Warning")
ElseIf UserType =
UserNameTextBox.Text Then
MsgBox("Logged user
cannot be deleted!", vbInformation +
vbOKOnly, "Warning")
Else
q = MsgBox("Are you
sure?", vbCritical + vbYesNo,
"Delete")
If q = vbYes Then
Me.TbluserTableAdapter.DeleteQuery(Us
erIDLabel1.Text)
Me.TbluserTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tbluser)
End If
End If
'
If UserType =
UserNameTextBox.Text Then
'
MsgBox("Logged
user cannot be deleted!",
vbInformation + vbOKOnly, "Warning")
'
Else
'
d = MsgBox("Are
you sure?", vbCritical + vbYesNo,
"Delete")
'
If d = vbYes
Then
'
Me.TbluserTableAdapter.DeleteQuery(Us
erIDLabel1.Text)
'
Me.TbluserTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tbluser)
'
End If
'
End If
End Sub
Private Sub
ToolStripTextBox1_Click(ByVal sender
As System.Object, ByVal e As
System.EventArgs)
End Sub
Private Sub
ToolStripTextBox1_TextChanged(ByVal
sender As Object, ByVal e As
System.EventArgs)
'Dim records = From user In
Electronic_entrance_examDataSet.tblus
er
'
Where
user.UserName.ToUpper Like
txtSearch.Text.ToUpper & "*" Or
user.UserType.ToUpper Like
txtSearch.Text.ToUpper & "*"
'
Select user
'Me.TbluserBindingSource.DataSource =
records.AsDataView
End Sub
Private Sub
TextBox1_TextChanged(ByVal sender As
System.Object, ByVal e As
System.EventArgs)
Dim records = From user In
Electronic_entrance_examDataSet.tblus
er
Where
user.UserName.ToUpper Like
txtSearch.Text.ToUpper & "*" Or
user.UserType.ToUpper Like
txtSearch.Text.ToUpper & "*"
Select user
Me.TbluserBindingSource.DataSource =
records.AsDataView
End Sub
Private Sub
TbluserDataGridView_CellContentClick(
ByVal sender As System.Object, ByVal
e As
System.Windows.Forms.DataGridViewCell
EventArgs) Handles
TbluserDataGridView.CellContentClick
End Sub
Login Form
Public Class login
Private Sub
TbluserBindingNavigatorSaveItem_Click
(ByVal sender As System.Object, ByVal
e As System.EventArgs)
Me.Validate()
Me.TbluserBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.E
lectronic_entrance_examDataSet)
End Sub
Private Sub login_Load(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.tblu
ser' table. You can move, or remove
it, as needed.
Me.TbluserTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tbluser)
End Sub
Private Sub btnOk_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles btnOk.Click
Dim login As Boolean =
Me.TbluserTableAdapter.SearchUser(Me.
Electronic_entrance_examDataSet.tblus
er, UserNameTextBox.Text,
PasswordTextBox.Text)
If login = True Then
UserType =
UserNameTextBox.Text
' MsgBox("Access
Granted!!", vbInformation + vbOKOnly,
"Login")
frmMain.Show()
Me.Hide()
Else
MsgBox("Access Denied!!",
vbInformation + vbOKOnly, "Login")
ctr = ctr + 1
End If
If ctr = 3 Then
MsgBox("Unauthorized
person is not allowed.",
vbInformation + vbOKOnly, "Login")
End
End If
End Sub
Private Sub
PasswordTextBox_TextChanged(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
PasswordTextBox.TextChanged
End Sub
Private Sub
UserNameTextBox_TextChanged(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
UserNameTextBox.TextChanged
End Sub
Private Sub
PasswordLabel_Click(ByVal sender As
System.Object, ByVal e As
System.EventArgs)
End Sub
Private Sub
UserNameLabel_Click(ByVal sender As
System.Object, ByVal e As
System.EventArgs)
End Sub
Private Sub btnCancel_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
btnCancel.Click
End Sub
End Class
Main Form
Public Class frmMain
Private Sub frmMain_Load(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If UserType = "Operator" Then
'ModuleToolStripMenuItem.Enabled =
False
End If
End Sub
Private Sub
ExitToolStripMenuItem_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs)
End
End Sub
Private Sub
StartExamToolStripMenuItem_Click(ByVa
l sender As System.Object, ByVal e As
System.EventArgs)
registration.Show()
Me.Hide()
End Sub
End Sub
End Sub
Private Sub
ExitToolStripMenuItem_Click_1(ByVal
sender As System.Object, ByVal e As
System.EventArgs)
End
End Sub
Private Sub
AddToolStripMenuItem_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs)
frmAddOperator.Show()
Me.Hide()
End Sub
Private Sub
Grade2ToolStripMenuItem_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs)
End Sub
Private Sub Button2_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
Button2.Click
AddExam.Show()
End Sub
End Sub
End Class
Modify Exam
Public Class AddExam
Private Sub
TblscienceBindingNavigatorSaveItem_Cl
ick(ByVal sender As System.Object,
ByVal e As System.EventArgs)
Me.Validate()
Me.TblscienceBindingSource.EndEdit()
Me.TblvaluesBindingSource.EndEdit()
Me.TblscienceBindingSource.EndEdit()
Me.TblscienceBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.E
lectronic_entrance_examDataSet)
End Sub
Private Sub AddExam_Load(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.tbls
cience' table. You can move, or
remove it, as needed.
Me.TblscienceTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblscien
ce)
Me.TblvaluesTableAdapter.Fill(Me.Elec
tronic_entrance_examDataSet.tblvalues
)
Me.TblmathTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tblmath)
Me.TblenglishTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblengli
sh)
End Sub
Private Sub
RadioButton1_CheckedChanged(ByVal
sender As System.Object, ByVal e As
System.EventArgs)
End Sub
Private Sub Button2_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
Button2.Click
OpenFileDialog1.ShowDialog()
Question.Text =
OpenFileDialog1.FileName.ToString()
End Sub
'MsgBox("Saved")
'btnAdd.Text = "ADD"
End Sub
Private Sub btnSave_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
btnSave.Click
If Question.Text = "" Or
Answer1.Text = "" Or
Answer2.Text = "" Or
Answer3.Text = "" Or
CorrectAnswer.Text =
"" Then
MsgBox("Data Must Be
Filled", MsgBoxStyle.Information, "EExam")
Else
Select Case
ComboBox1.Text
Case "Science"
Me.TblscienceTableAdapter.InsertQuery
(Question.Text, Answer1.Text,
Answer2.Text, Answer3.Text,
CorrectAnswer.Text, Grade.Text)
Me.TblscienceTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblscien
ce)
Case "Values"
Me.TblvaluesTableAdapter.InsertQuery(
Question.Text, Answer1.Text,
Answer2.Text, Answer3.Text,
CorrectAnswer.Text, Grade.Text)
Me.TblvaluesTableAdapter.Fill(Me.Elec
tronic_entrance_examDataSet.tblvalues
)
Case "Mathematics"
Me.TblmathTableAdapter.InsertQuery(Qu
estion.Text, Answer1.Text,
Answer2.Text, Answer3.Text,
CorrectAnswer.Text, Grade.Text)
Me.TblmathTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tblmath)
Case "English"
Me.TblenglishTableAdapter.InsertQuery
(Question.Text, Answer1.Text,
Answer2.Text, Answer3.Text,
CorrectAnswer.Text, Grade.Text)
Me.TblenglishTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblengli
sh)
End Select
MsgBox("Saved")
Question.Clear()
Answer1.Clear()
Answer2.Clear()
Answer3.Clear()
CorrectAnswer.Clear()
End If
End Sub
Private Sub
Grade_TextChanged(ByVal sender As
Object, ByVal e As System.EventArgs)
Handles Grade.TextChanged
End Sub
Private Sub
ComboBox1_TextChanged(ByVal sender As
Object, ByVal e As System.EventArgs)
Handles ComboBox1.TextChanged
End Sub
Private Sub
ComboBox1_SelectedIndexChanged(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
ComboBox1.SelectedIndexChanged
Select Case ComboBox1.Text
Case "Science"
Select Case
Grade.Text
Case "Grade 1"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "Grade 2"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "Grade 3"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "Grade 4"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "Grade 5"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "Grade 6"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "Grade 8"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "Grade 9"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "Grade 10"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
End Select
Question.DataBindings.Clear()
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "Grade 7"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Answer1.DataBindings.Clear()
Answer2.DataBindings.Clear()
Answer3.DataBindings.Clear()
CorrectAnswer.DataBindings.Clear()
Me.Question.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblscienceBindingSource,
"Questions", True))
Me.Answer1.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblscienceBindingSource,
"Answer1", True))
Me.Answer2.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblscienceBindingSource,
"Answer2", True))
Me.Answer3.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblscienceBindingSource,
"Answer3", True))
Me.CorrectAnswer.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblscienceBindingSource,
"CorrectAnswer", True))
TblscienceDataGridView.Visible = True
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
Case "Grade 3"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
Case "Grade 4"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
TblvaluesDataGridView.Visible = False
TblmathDataGridView.Visible = False
TblenglishDataGridView.Visible =
False
Case "Values"
Select Case
Grade.Text
Case "Grade 1"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
Case "Grade 2"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
Case "Grade 5"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
Case "Grade 6"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
Case "Grade 8"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
Case "Grade 9"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
Case "Grade 10"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
End Select
Question.DataBindings.Clear()
Answer1.DataBindings.Clear()
Answer2.DataBindings.Clear()
Answer3.DataBindings.Clear()
CorrectAnswer.DataBindings.Clear()
Me.Question.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblvaluesBindingSource,
"Questions", True))
Me.Answer1.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblvaluesBindingSource, "Answer1",
True))
Me.Answer2.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblvaluesBindingSource, "Answer2",
True))
Me.Answer3.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblvaluesBindingSource, "Answer3",
True))
Me.CorrectAnswer.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblvaluesBindingSource,
"CorrectAnswer", True))
TblscienceDataGridView.Visible =
False
TblvaluesDataGridView.Visible = True
TblmathDataGridView.Visible = False
TblenglishDataGridView.Visible =
False
Case "Mathematics"
Select Case
Grade.Text
Case "Grade 1"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Grade 2"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Grade 3"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Grade 4"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Grade 5"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Grade 6"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Grade 7"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Grade 8"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Grade 9"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Grade 10"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
End Select
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Question.DataBindings.Clear()
Answer1.DataBindings.Clear()
Answer2.DataBindings.Clear()
Answer3.DataBindings.Clear()
CorrectAnswer.DataBindings.Clear()
Me.Question.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblmathBindingSource, "Questions",
True))
Me.Answer1.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblmathBindingSource, "Answer1",
True))
Me.Answer2.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblmathBindingSource, "Answer2",
True))
Me.Answer3.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblmathBindingSource, "Answer3",
True))
Me.CorrectAnswer.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblmathBindingSource,
"CorrectAnswer", True))
TblscienceDataGridView.Visible =
False
TblvaluesDataGridView.Visible = False
TblmathDataGridView.Visible = True
TblenglishDataGridView.Visible =
False
Case "English"
Select Case
Grade.Text
Case "Grade 1"
Dim rec =
From gr In
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case "Grade 2"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case "Grade 3"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case "Grade 4"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case "Grade 5"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
End Select
Question.DataBindings.Clear()
Answer1.DataBindings.Clear()
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case "Grade 7"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case "Grade 8"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case "Grade 9"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case "Grade 10"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Answer2.DataBindings.Clear()
Answer3.DataBindings.Clear()
CorrectAnswer.DataBindings.Clear()
Me.Question.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblenglishBindingSource,
"Questions", True))
Me.Answer1.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblenglishBindingSource,
"Answer1", True))
Me.Answer2.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblenglishBindingSource,
"Answer2", True))
Me.Answer3.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblenglishBindingSource,
"Answer3", True))
Me.CorrectAnswer.DataBindings.Add(New
System.Windows.Forms.Binding("Text",
Me.TblenglishBindingSource,
"CorrectAnswer", True))
TblscienceDataGridView.Visible =
False
TblvaluesDataGridView.Visible = False
TblmathDataGridView.Visible = False
TblenglishDataGridView.Visible = True
End Select
End Sub
Private Sub
TblvaluesDataGridView_CellContentClic
k(ByVal sender As System.Object,
ByVal e As
System.Windows.Forms.DataGridViewCell
EventArgs) Handles
TblvaluesDataGridView.CellContentClic
k
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
End Sub
Private Sub Label3_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
Label3.Click
End Sub
Private Sub
Grade_SelectedIndex(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles
Grade.SelectedIndexChanged
Select Case Grade.Text
Case "Grade 1"
Select Case
ComboBox1.Text
Case "Science"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
End Select
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, Grade.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
End Select
Case "Grade 3"
Select Case
ComboBox1.Text
Case "Science"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, Grade.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
End Select
Case "Grade 4"
Select Case
ComboBox1.Text
Case "Science"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, Grade.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
End Select
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, Grade.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
End Select
Case "Grade 6"
Select Case
ComboBox1.Text
Case "Science"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, Grade.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
End Select
Case "Grade 7"
Select Case
ComboBox1.Text
Case "Science"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, Grade.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
End Select
Case "Grade 8"
Select Case
ComboBox1.Text
Case "Science"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, Grade.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
End Select
Case "Grade 9"
Select Case
ComboBox1.Text
Case "Science"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, Grade.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
End Select
Case "Grade 10"
Select Case
ComboBox1.Text
Case "Science"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblsc
ience
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblscienceBindingSource.DataSource
= rec.AsDataView
Case "English"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblen
glish
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblenglishBindingSource.DataSource
= rec.AsDataView
Case
"Mathematics"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblma
th
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblmathBindingSource.DataSource =
rec.AsDataView
Case "Values"
Dim rec =
From gr In
Electronic_entrance_examDataSet.tblva
lues
Where
gr.Grade.ToUpper Like
Grade.Text.ToUpper
Select gr
Me.TblvaluesBindingSource.DataSource
= rec.AsDataView
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, Grade.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
End Select
'Me.TblscienceTableAdapter.SearchScie
nce(Me.Electronic_entrance_examDataSe
t.tblscience, ComboBox1.Text)
'Me.TblscienceTableAdapter.Fill(Me.El
ectronic_entrance_examDataSet.tblscie
nce)
'Case "Grade 2"
'
Me.TblvaluesTableAdapter.SearchValues
(Me.Electronic_entrance_examDataSet.t
blvalues, ComboBox1.Text)
'
Me.TblvaluesTableAdapter.Fill(Me.Elec
tronic_entrance_examDataSet.tblvalues
)
'Case "Grade 3"
'
Me.TblmathTableAdapter.SearchMathemat
ics(Me.Electronic_entrance_examDataSe
t.tblmath, ComboBox1.Text)
'
Me.TblmathTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tblmath)
'Case "Grade 4"
'
Me.TblenglishTableAdapter.SearchEngli
sh(Me.Electronic_entrance_examDataSet
.tblenglish, ComboBox1.Text)
'
Me.TblenglishTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblengli
sh)
End Select
End Sub
Private Sub Button3_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs)
'
Me.TblenglishTableAdapter.DeleteQuery
(ques)
End Sub
Private Sub Button1_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
Button1.Click
Select Case ComboBox1.Text
Case "Science"
Me.TblscienceTableAdapter.UpdateQuery
(Question.Text, Answer1.Text,
Answer2.Text, Answer3.Text,
CorrectAnswer.Text, Grade.Text,
CorrectAnswer.Text)
Me.TblscienceTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblscien
ce)
MsgBox("Science
Updated")
Case "Values"
Me.TblvaluesTableAdapter.UpdateQuery(
Question.Text, Answer1.Text,
Answer2.Text, Answer3.Text,
CorrectAnswer.Text, Grade.Text,
CorrectAnswer.Text)
Me.TblvaluesTableAdapter.Fill(Me.Elec
tronic_entrance_examDataSet.tblvalues
)
MsgBox("Values
Updated")
Case "Mathematics"
Me.TblmathTableAdapter.UpdateQuery(Qu
estion.Text, Answer1.Text,
Answer2.Text, Answer3.Text,
CorrectAnswer.Text, Grade.Text,
CorrectAnswer.Text)
Me.TblmathTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tblmath)
Case "English"
Me.TblenglishTableAdapter.UpdateQuery
(Question.Text, Answer1.Text,
Answer2.Text, Answer3.Text,
CorrectAnswer.Text, Grade.Text,
CorrectAnswer.Text)
Me.TblenglishTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblengli
sh)
MsgBox("English
Updated")
End Select
End Sub
Results
Public Class frmreport
Private Sub frmreport_Load(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code
loads data into the
'electronic_entrance_examDataSet.tbls
tudents' table. You can move, or
remove it, as needed.
Me.ReportViewer1.RefreshReport()
End If
End Sub
Private Sub
ComboBox1_Validating(ByVal sender As
Object, ByVal e As
System.ComponentModel.CancelEventArgs
) Handles ComboBox1.Validating
End Sub
Me.TblstudentsTableAdapter.Fill(Me.el
ectronic_entrance_examDataSet.tblstud
ents)
'TODO: This line of code
loads data into the
'electronic_entrance_examDataSet.Join
edScoreStudents' table. You can move,
or remove it, as needed.
On Error Resume Next
Me.JoinedScoreStudentsTableAdapter.Fi
ll(Me.electronic_entrance_examDataSet
.JoinedScoreStudents)
Set Time
Me.ReportViewer1.RefreshReport()
End Sub
Private Sub ComboBox1_Click(ByVal
sender As Object, ByVal e As
System.EventArgs) Handles
ComboBox1.Click
End Sub
Private Sub
ComboBox1_SelectedIndexChanged(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
ComboBox1.SelectedIndexChanged
If ComboBox1.Text = "All"
Then
Me.JoinedScoreStudentsTableAdapter.Fi
ll(Me.electronic_entrance_examDataSet
.JoinedScoreStudents)
Me.ReportViewer1.RefreshReport()
Else
Me.JoinedScoreStudentsTableAdapter.fi
lterByGrade(Me.electronic_entrance_ex
amDataSet.JoinedScoreStudents,
ComboBox1.Text)
Me.TblgenerateqTableAdapter.UpdateQue
ry(QEnglishTextBox.Text,
QMathTextBox.Text,
QValuesTextBox.Text,
QScienceTextBox.Text,
GenerateIDLabel1.Text)
MsgBox("Update Succesfull!")
End Sub
Private Sub
GenerateIDLabel_Click(ByVal sender As
System.Object, ByVal e As
System.EventArgs)
End Sub
End Class
View Question
Public Class frmQuestionReport
Private Sub
frmQuestionReport_Load(ByVal sender
As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code
loads data into the
'electronic_entrance_examDataSet.tble
nglish' table. You can move, or
remove it, as needed.
Me.tblenglishTableAdapter.Fill(Me.ele
ctronic_entrance_examDataSet.tblengli
sh)
Me.ReportViewer1.RefreshReport()
End Sub
Private Sub Button1_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
Button1.Click
frmMain.Show()
Me.Close()
End Sub
Private Sub
ComboBox1_SelectedIndexChanged(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
ComboBox1.SelectedIndexChanged
Me.tblenglishTableAdapter.SearchEngli
sh(Me.electronic_entrance_examDataSet
.tblenglish, ComboBox1.Text)
Me.ReportViewer1.RefreshReport()
End Sub
End Class
English Test
Public Class EnglishForm
Dim RAND As New Random
Dim q As Integer = 1
Dim count As Integer
Dim SetTime As Integer = eTime
Dim array(50) As Integer
Private questionList As New
List(Of TestQuestion)
Private Sub
EnglishForm_Load(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.tbls
core' table. You can move, or remove
it, as needed.
'Me.TblscoreTableAdapter.Fill(Me.Elec
tronic_entrance_examDataSet.tblscore)
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.Join
edScoreStudents' table. You can move,
or remove it, as needed.
'Me.JoinedScoreStudentsTableAdapter.F
ill(Me.Electronic_entrance_examDataSe
t.JoinedScoreStudents)
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.Join
edScoreStudents' table. You can move,
or remove it, as needed.
'Me.JoinedScoreStudentsTableAdapter.F
ill(Me.Electronic_entrance_examDataSe
t.JoinedScoreStudents)
'line of code loads data into
the
'Electronic_entrance_examDataSet.tblr
esults' table. You can move, or
remove it, as needed.
'
Me.TblresultsTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblresul
ts)
If gradeLevel <> "Grade 1"
Then
picQ.Visible = False
End If
LastNameLabel1.Text =
fullname
GradeLevelLabel1.Text =
gradeLevel
StudentIDLabel1.Text =
studentID
Me.TblenglishTableAdapter.ViewRandomQ
(Me.Electronic_entrance_examDataSet.t
blenglish, gradeLevel)
count =
Me.TblenglishBindingSource.Count
On Error Resume Next
Dim path As String
path = QuestionsLabel2.Text
lblcount.Text = "Question # "
& q & "/" & count
lbltimer.Text = "Time Left: "
& FormatTime(SetTime) ' sets the time
picQ.Image =
Image.FromFile(path)
Timer1.Enabled = True
count1 = count
End Sub
Answer2RadioButton.Text =
CorrectAnswerLabel1.Text Then
scoreEnglish =
scoreEnglish + 1
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text,
Answer2RadioButton.Text,
CorrectAnswerLabel1.Text)
ElseIf
Answer3RadioButton.Checked = True And
Answer3RadioButton.Text =
CorrectAnswerLabel1.Text Then
scoreEnglish =
scoreEnglish + 1
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text,
Answer3RadioButton.Text,
CorrectAnswerLabel1.Text)
Else
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text, selectedAnswer,
CorrectAnswerLabel1.Text)
End If
TotalScore = scoreEnglish +
scoreMath + scoreScience +
scoreValues
If q = count Then ' check if
the given question is at the limit
e.g. 10/10
Me.TblscoreTableAdapter.InsertScore(S
tudentIDLabel1.Text, scoreMath,
scoreEnglish, scoreScience,
scoreValues, TotalScore) ' insert
score to DB
frmNextPart.Show()
'ScienceForm.Show()
Me.Close()
'Exit Sub
Else
q = q + 1 'increment.
End If
'End Sub
Me.TblenglishBindingSource.MoveNext()
'move the row to next record
lblcount.Text = "Question # "
& q & "/" & count ' dislay Question
number and number of questions
' MsgBox(score)
'
Me.TblenglishBindingSource.MovePrevio
us()
'
If q > 1 Then
'
q = q - 1
'
End If
'
lblcount.Text = "Question #
" & q & "/" & count
'End Sub
Private Sub Timer1_Tick(ByVal
sender As System.Object, ByVal e As
System.EventArgs)
As System.EventArgs) Handles
Answer3RadioButton.CheckedChanged
selectedAnswer =
Answer3RadioButton.Text
End Sub
End Sub
Public Function FormatTime(ByVal
Time As Integer) As String
Dim Min As Integer
Dim Sec As Integer
'Minutes
Min = ((Time - Sec) / 60) Mod
60
'Seconds
Sec = Time Mod 60
If SetTime = 0 Then
Timer1.Enabled = False
' MsgBox("Testing Lang "
+ score.ToString)
End If
End Sub
Private Sub picQ_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles picQ.Click
End Sub
Private Sub
LastNameLabel1_Click(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles
LastNameLabel1.Click
End Sub
Private Sub
Answer1RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs) Handles
Answer1RadioButton.CheckedChanged
selectedAnswer =
Answer1RadioButton.Text
End Sub
Private Sub
Answer2RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs) Handles
Answer2RadioButton.CheckedChanged
selectedAnswer =
Answer2RadioButton.Text
End Sub
Private Sub
Answer3RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
Math Test
Public Class MathForm
Dim RAND As New Random
Dim q As Integer = 1
Dim count As Integer
Dim SetTime As Integer = mTime
'240 '5 minutes 240
Dim array(50) As Integer
PictureBox1.Visible =
False
End If
LastNameLabel1.Text =
fullname
GradeLevelLabel1.Text =
gradeLevel
StudentIDLabel1.Text =
studentID
Me.TblmathTableAdapter.ViewRandomQ(Me
.Electronic_entrance_examDataSet.tblm
ath, gradeLevel)
count =
Me.TblmathBindingSource.Count
Dim path As String
path = QuestionsLabel2.Text
' picQ.Image =
Image.FromFile(path)
lblcount.Text = "Question # "
& q & "/" & count
lbltimer.Text = "Time Left: "
& FormatTime(SetTime) ' sets the time
On Error Resume Next
PictureBox1.Image =
Image.FromFile(path)
Timer.Enabled = True
count4 = count
End Sub
If Answer1RadioButton.Checked
= True And Answer1RadioButton.Text =
CorrectAnswerLabel1.Text Then
scoreMath = scoreMath + 1
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text,
Answer1RadioButton.Text,
CorrectAnswerLabel1.Text)
ElseIf
Answer2RadioButton.Checked = True And
Answer2RadioButton.Text =
CorrectAnswerLabel1.Text Then
scoreMath = scoreMath + 1
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text,
Answer2RadioButton.Text,
CorrectAnswerLabel1.Text)
ElseIf
Answer3RadioButton.Checked = True And
Answer3RadioButton.Text =
CorrectAnswerLabel1.Text Then
scoreMath = scoreMath + 1
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text,
Answer3RadioButton.Text,
CorrectAnswerLabel1.Text)
Else
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text, selectedAnswer,
CorrectAnswerLabel1.Text)
End If
TotalScore = scoreEnglish +
scoreMath + scoreScience +
scoreValues
If q = count Then ' check if
the given question is at the limit
e.g. 10/10
Me.TblscoreTableAdapter.UpdateScore(s
tudentID, scoreMath, scoreEnglish,
scoreScience, scoreValues,
TotalScore, studentID) 'update score
to DB
nextPart3.Show()
Me.Close()
Exit Sub
Else
q = q + 1 'increment.
End If
Me.TblmathBindingSource.MoveNext()
'move the row to next record
lblcount.Text = "Question # "
& q & "/" & count ' dislay Question
number and number of questions
' MsgBox(score)
On Error Resume Next
Dim path As String
path = QuestionsLabel2.Text
PictureBox1.Image =
Image.FromFile(path)
' lblcount.Text = "Question #
" & q & "/" & count ' dislay Question
number and number of questions.
'Dim userAnswer As String
' If
Answer1RadioButton.Checked Then
'userAnswer =
Answer1RadioButton.Text
' ElseIf
Answer2RadioButton.Checked Then
'userAnswer =
Answer2RadioButton.Text
' ElseIf
Answer3RadioButton.Checked Then
' userAnswer =
Answer3RadioButton.Text
'Else
'userAnswer = String.Empty
' End If
' Dim question As
TestQuestion
' question = New
TestQuestion(q, QuestionsLabel2.Text,
Answer1RadioButton.Text,
Answer2RadioButton.Text,
Answer3RadioButton.Text,
CorrectAnswerLabel1.Text, userAnswer)
' questionList.Add(question)
' checkAnswer(question)
End Sub
Private Sub checkAnswer(ByVal
question As TestQuestion)
End Sub
'Private Sub Button2_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
btnNext.Click
'End Sub
Private Sub
Answer1RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs)
selectedAnswer =
Answer1RadioButton.Text
End Sub
Private Sub
Answer2RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs)
selectedAnswer =
Answer2RadioButton.Text
End Sub
Private Sub
Answer3RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs)
selectedAnswer =
Answer3RadioButton.Text
End Sub
Science Test
Public Class ScienceForm
Dim RAND As New Random
Dim q As Integer = 1
Dim count As Integer
Dim SetTime As Integer = sTime '
240 '5 minutes 240
Dim array(50) As Integer
Private questionList As New
List(Of TestQuestion)
Private Sub
ScienceForm_Load(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'On Error Resume Next
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.tbls
core' table. You can move, or remove
it, as needed.
'Me.TblscoreTableAdapter.Fill(Me.Elec
tronic_entrance_examDataSet.tblscore)
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.Join
edScoreStudents' table. You can move,
or remove it, as needed.
'Me.JoinedScoreStudentsTableAdapter.F
ill(Me.Electronic_entrance_examDataSe
t.JoinedScoreStudents)
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.Join
edScoreStudents' table. You can move,
or remove it, as needed.
'Me.JoinedScoreStudentsTableAdapter.F
ill(Me.Electronic_entrance_examDataSe
t.JoinedScoreStudents)
'line of code loads data into
the
'Electronic_entrance_examDataSet.tblr
esults' table. You can move, or
remove it, as needed.
'
Me.TblresultsTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblresul
ts)
If gradeLevel <> "Grade 1"
Then
picQ.Visible = False
End If
LastNameLabel1.Text =
fullname
GradeLevelLabel1.Text =
gradeLevel
StudentIDLabel1.Text =
studentID
Me.TblscienceTableAdapter.ViewRandomQ
(Me.Electronic_entrance_examDataSet.t
blscience, gradeLevel)
count =
Me.TblscienceBindingSource.Count
On Error Resume Next
Dim path As String
path = QuestionsLabel2.Text
lblcount.Text = "Question # "
& q & "/" & count
lbltimer.Text = "Time Left: "
& FormatTime(SetTime) ' sets the time
picQ.Image =
Image.FromFile(path)
Timer1.Enabled = True
count1 = count
End Sub
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text,
Answer3RadioButton.Text,
CorrectAnswerLabel1.Text)
Else
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text, selectedAnswer,
CorrectAnswerLabel1.Text)
End If
TotalScore = scoreEnglish +
scoreMath + scoreScience +
scoreValues
If q = count Then ' check if
the given question is at the limit
e.g. 10/10
Me.TblscoreTableAdapter.InsertScore(S
tudentIDLabel1.Text, scoreMath,
scoreEnglish, scoreScience,
scoreValues, TotalScore) ' insert
score to DB
nextPart2.Show()
'ScienceForm.Show()
Me.Close()
Exit Sub
Else
q = q + 1 'increment.
End If
Me.TblscienceBindingSource.MoveNext()
'move the row to next record
lblcount.Text = "Question # "
& q & "/" & count ' dislay Question
number and number of questions
' MsgBox(score)
On Error Resume Next
Dim path As String
path = QuestionsLabel2.Text
picQ.Image =
Image.FromFile(path)
' lblcount.Text = "Question #
" & q & "/" & count ' dislay Question
number and number of questions.
'Dim userAnswer As String
' If
Answer1RadioButton.Checked Then
'userAnswer =
Answer1RadioButton.Text
' ElseIf
Answer2RadioButton.Checked Then
'userAnswer =
Answer2RadioButton.Text
' ElseIf
Answer3RadioButton.Checked Then
' userAnswer =
Answer3RadioButton.Text
'Else
'userAnswer = String.Empty
' End If
' Dim question As
TestQuestion
' question = New
TestQuestion(q, QuestionsLabel2.Text,
Answer1RadioButton.Text,
Answer2RadioButton.Text,
Answer3RadioButton.Text,
CorrectAnswerLabel1.Text, userAnswer)
' questionList.Add(question)
' checkAnswer(question)
End Sub
Private Sub checkAnswer(ByVal
question As TestQuestion)
End Sub
'Private Sub Button2_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
btnNext.Click
'End Sub
'Private Sub Button1_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
btnPrev.Click
'
Me.TblenglishBindingSource.MovePrevio
us()
'
If q > 1 Then
'
q = q - 1
'
End If
'
lblcount.Text = "Question #
" & q & "/" & count
'End Sub
Private Sub Timer1_Tick(ByVal
sender As System.Object, ByVal e As
System.EventArgs)
End Sub
Timer1.Enabled = False
' MsgBox("Testing Lang "
+ score.ToString)
End If
End Sub
End Class
'Seconds
Sec = Time Mod 60
Return Format(Min, "00") &
":" & Format(Sec, "00")
End Function
Private Sub
Answer1RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs) Handles
Answer1RadioButton.CheckedChanged
selectedAnswer =
Answer1RadioButton.Text
End Sub
Private Sub
Answer2RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs) Handles
Answer2RadioButton.CheckedChanged
selectedAnswer =
Answer2RadioButton.Text
End Sub
Private Sub
Answer3RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs) Handles
Answer3RadioButton.CheckedChanged
selectedAnswer =
Answer3RadioButton.Text
End Sub
Values Test
Public Class ValuesForm
Dim RAND As New Random
Dim q As Integer = 1
Dim count As Integer
Dim SetTime As Integer = vTime
'240 '5 minutes 240
Dim array(50) As Integer
Private questionList As New
List(Of TestQuestion)
'Electronic_entrance_examDataSet.Join
edScoreStudents' table. You can move,
or remove it, as needed.
'Me.JoinedScoreStudentsTableAdapter.F
ill(Me.Electronic_entrance_examDataSe
t.JoinedScoreStudents)
'line of code loads data into
the
'Electronic_entrance_examDataSet.tblr
esults' table. You can move, or
remove it, as needed.
'
Me.TblresultsTableAdapter.Fill(Me.Ele
ctronic_entrance_examDataSet.tblresul
ts)
On Error Resume Next
If gradeLevel <> "Grade 1"
Then
picQ.Visible = False
End If
LastNameLabel1.Text =
fullname
GradeLevelLabel1.Text =
gradeLevel
StudentIDLabel1.Text =
studentID
Me.TblvaluesTableAdapter.ViewRandomQ(
Me.Electronic_entrance_examDataSet.tb
lvalues, gradeLevel)
count =
Me.TblvaluesBindingSource.Count
On Error Resume Next
Dim path As String
path = QuestionsLabel2.Text
picQ.Image =
Image.FromFile(path)
lblcount.Text = "Question # "
& q & "/" & count
lbltimer.Text = "Time Left: "
& FormatTime(SetTime) ' sets the time
Timer.Enabled = True
count2 = count
End Sub
count =
Me.TblvaluesBindingSource.Count
'count the number of question
If Answer1RadioButton.Checked
= True And Answer1RadioButton.Text =
CorrectAnswerLabel1.Text Then
scoreValues = scoreValues
+ 1
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text,
Answer1RadioButton.Text,
CorrectAnswerLabel1.Text)
ElseIf
Answer2RadioButton.Checked = True And
Answer2RadioButton.Text =
CorrectAnswerLabel1.Text Then
scoreValues = scoreValues
+ 1
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text,
Answer2RadioButton.Text,
CorrectAnswerLabel1.Text)
ElseIf
Answer3RadioButton.Checked = True And
Answer3RadioButton.Text =
CorrectAnswerLabel1.Text Then
scoreValues = scoreValues
+ 1
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text,
Answer3RadioButton.Text,
CorrectAnswerLabel1.Text)
Else
Me.TblresultsTableAdapter.InsertResul
ts(LastNameLabel1.Text,
QuestionsLabel2.Text, selectedAnswer,
CorrectAnswerLabel1.Text)
End If
TotalScore = scoreEnglish +
scoreMath + scoreScience +
scoreValues
If q = count Then ' check if
the given question is at the limit
e.g. 10/10
MsgBox("You have
completed the exam...", vbInformation
+ vbOKOnly, "Exam")
Me.TblscoreTableAdapter.UpdateScore(s
tudentID, scoreMath, scoreEnglish,
scoreScience, scoreValues,
TotalScore, studentID) 'update score
to DB
FrmSummary.Show()
Me.Close()
Exit Sub
Else
q = q + 1 'increment.
End If
End Sub
'Private Sub Button2_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
btnNext.Click
'End Sub
Me.TblvaluesBindingSource.MoveNext()
'move the row to next record
lblcount.Text = "Question # "
& q & "/" & count ' dislay Question
number and number of questions
' MsgBox(score)
On Error Resume Next
Dim path As String
path = QuestionsLabel2.Text
picQ.Image =
Image.FromFile(path)
Private Sub
Answer1RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs) Handles
Answer1RadioButton.CheckedChanged
selectedAnswer =
Answer1RadioButton.Text
End Sub
End Sub
Private Sub checkAnswer(ByVal
question As TestQuestion)
Private Sub
Answer2RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs) Handles
Answer2RadioButton.CheckedChanged
selectedAnswer =
Answer2RadioButton.Text
End Sub
Private Sub
Answer3RadioButton_CheckedChanged(ByV
al sender As System.Object, ByVal e
As System.EventArgs) Handles
Answer3RadioButton.CheckedChanged
selectedAnswer =
Answer3RadioButton.Text
End Sub
End Class
Instruction Form
Public Class instructions
Private Sub Button1_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
Button1.Click
EnglishForm.Show()
'ScienceForm.Show()
Me.Close()
End Sub
Private Sub
instructions_Load(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
End Sub
End Class
Loading Form
Public Class nextPart2
Private Sub Timer1_Tick(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles Timer1.Tick
lbl5.Text = lbl5.Text - 1
If lbl5.Text = -1 Then
MathForm.Show()
Me.Close()
End If
End Sub
Private Sub nextPart2_Load(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
End Sub
End Class
Registration Form
Public Class registration
Private Sub
registration_Activated(ByVal sender
As Object, ByVal e As
System.EventArgs) Handles
Me.Activated
LastNameTextBox.Clear()
FirstNameTextBox.Clear()
MiddleNameTextBox.Clear()
GradeLevelComboBox.Text =
"Select"
End Sub
Private Sub
registration_Load(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.tblt
ime' table. You can move, or remove
it, as needed.
Me.TbltimeTableAdapter.Fill(Me.Electr
onic_entrance_examDataSet.tbltime)
'TODO: This line of code
loads data into the
'Electronic_entrance_examDataSet.tbls
End Sub
Private Sub
GradeLevelComboBox_SelectedIndexChang
ed(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles
GradeLevelComboBox.SelectedIndexChang
ed
gradeLevel =
GradeLevelComboBox.Text
End Sub
eTime =
(TimeEnglishLabel1.Text - 1) * 60
sTime =
(TimeScienceLabel1.Text - 1) * 60
mTime =
(TimeMathLabel1.Text - 1) * 60
vTime =
(TimeValuesLabel1.Text - 1) * 60
instructions.Show()
Me.Hide()
End If
End Sub
Private Sub btnReport_Click(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
btnReport.Click
frmreport.Show()
End Sub
Private Sub
LastNameTextBox_TextChanged(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles
LastNameTextBox.TextChanged
End Sub
End Class
Test Summary
Public Class FrmSummary
Dim percentage As Double
Dim remarks As String
Private Sub
FrmSummary_FormClosed(ByVal sender As
Object, ByVal e As
System.Windows.Forms.FormClosedEventA
rgs) Handles Me.FormClosed
Me.Hide()
registration.Show()
End Sub
Private Sub FrmSummary_Load(ByVal
sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code
loads data into the
'electronic_entrance_examDataSet.tblr
Me.tblresultsTableAdapter.SearchStude
nt(Me.electronic_entrance_examDataSet
.tblresults, fullname)
Dim day, month, year As
String
day = Date.Now.Day
month = Date.Now.Month
year = Date.Now.Year
lblDate.Text = month + " " +
day + " " + year
Me.ReportViewer1.RefreshReport()
End Sub
Private Sub
LastNameLabel1_Click(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles
LastNameLabel1.Click
End Sub
End Class
CURRICULUM VITAE
Name:
Address:
Course:
Birth Date:
January 3, 1995
Contact Number:
0935-156-9422
E-mail Address:
nowellcajucom@yahoo.com
Religion:
Roman Catholic
Mother:
Flordeliza P.Cajucom
Father:
Noel R. Cajucom
Educational Background:
Primary:
Secondary:
Wesleyan University-Philippines
CURRICULUM VITAE
Name:
Address:
Course:
Birth Date:
Contact Number:
0915-816-1546
E-mail Address:
irishmartingarcia@gmail.com
Religion:
Roman Catholic
Mother:
Imelda M. Garcia
Father:
Mamerto F. Garcia
Educational Background:
Primary:
Secondary:
Wesleyan University-Philippines
CURRICULUM VITAE
Name:
Faye D. Ramos
Address:
Course:
Birth Date:
Contact Number:
0927-4880-427
E-mail Address:
ramosfaye20@gmail.com
Religion:
Roman Catholic
Mother:
Felisa D. Ramos
Father:
Felino O. Ramos
Educational Background:
Primary:
Secondary:
Wesleyan University-Philippines
CURRICULUM VITAE
Name:
Address:
331 Del Coro St., San Vicente Gapan City, Nueva Ecija
Course:
Birth Date:
March 5, 1994
Contact Number:
0905-570-0784
E-mail Address:
luissedanerobles@yahoo.com
Religion:
Roman Catholic
Mother:
Father:
Michael G. Robles
Educational Background:
Primary:
Secondary:
Wesleyan University-Philippines
USERS MANUAL
The Electronic Entrance/Classification Examination System will help the
incoming freshmen and transferees to take entrance examination hassle free and
easy. Because it is user friendly, even the lower grade can understand and use it
correctly. Here are the instruction and the system requirement:
System Requirement:
PC Microsoft Windows 7/8
Pentium IV or higher
2 GB Free disk space for installation
2.93HGz, 3.50 GB of RAM
Keyboard and Mouse
Step 1
Examinee:
The Examinee must pay first to be able to take the exam. On the day of the
exam, he/ she must register on the registration form of the exam, where he/ she
must input data that will serves as her personal information.
The correct
information must be typed accurately, this happened when a dialog box appears
saying that the login is successful.
Operator:
Admin must assist the examinee.
Wesleyan University-Philippines
Step 2
Examinee:
Before starting the examination the instructions will appear for him/her to
know the guidelines of taking the exam.
Step 3
Examinee:
The examinee will now proceed with the exam process; he will answer the
following subjects in order (English, Science, Mathematics, and Values). At the end
of the exam his score and percentage will be shown to inform the examinee.
Operator:
The operator can view the examinees records (ex. Name, Grade, and Score).
Step 4
Admin/Operator:
Authorized person can add, update the exam.
Wesleyan University-Philippines