Vous êtes sur la page 1sur 4

Proceedings of 2009 4th International Conference on Computer Science & Education

Design of Personalized Test Paper Generating System


of Educational Telenet Based on Genetic Algorithm

Yong Ou-Yang Hong-Fang Luo


School of Computer Science School of Computer Science
Hubei University of Technology Hubei University of Technology
Wuhan, China Wuhan, China
oyywuhan@l63.com hmily1946@163.com

Abstract—When generating test paper, traditional distant II. MATHEMATICAL MODEL FOR PAPER GENERATING
education online examination system either merely extracts the PROBLEM
same test questions from item bank or extracts test questions at
random, or select test questions according to some classifications Composition of one set of test paper involves many factors,
of student. It can not individually varies and give custom made and each test question includes many attributes. Attributes
scheme according to student’s learning situation. This paper associated with paper generating includes time, question type,
improved the traditional genetic algorithm and proposed a new chapter, knowledge point, difficulty coefficient, level and score
method of test paper generating based on student’s learning these seven items. Time is what students needed to finish test
situation. It can generate personalized test paper dynamically question in normal. Question type is divided into multiple
that satisfying every student according to student’s online self- choice, judgment question and essay question. Chapter and
condition in distance education network and factors reflected knowledge point identify concrete content that examined by
during learning such as psychological status, comprehension and test question. Whether test question is easy or difficulty is
application level. decided by difficulty coefficient. Level is defined according to
requirements such as concept, theoretical analysis and
Index Terms—Distance education, test paper generating,
application. Score value of test question is marked by score.
genetic algorithm
The seven attributes above can be got when one test
I. INTRODUCTION question is extracted from item bank. A piece of test paper is
Educational telenet has developed greatly and prevailed in composed of n test questions which extracted from item bank,
recent years. But it lacks of personalization and differentiation, and an attributive matrix(as in (1)) of n*7 test questions can be
therefore, putting up personalized and intelligent educational got, of which each column represents one attribute, and each
environment scientifically according to different users has row one test question.
became a hot issue of research [1][2][3]. A lot of research in
this field has been done and favourable results has been
⎡ a11 a12 a13 a14 a15 a16 a17 ⎤
achieved, such as conceptual model[4] providing guiding ⎢a
opinions to students and group decision evaluating education ⎢ 21 a22 a23 a24 a25 a26 a27 ⎥⎥
website by Hwang[5], and a personalized online learning k = ⎢a31 a32 a33 a34 a35 a36 a37 ⎥ . (1)
system based on fuzzy item response theory[6] by Chih-Min in ⎢ ⎥
2008. ⎢ ... ... ... ... ... ... ... ⎥
⎢⎣an1 an2 an3 an4 an5 an6 an7 ⎥⎦
As one of the most important parts in intelligent distance
education, online examination system is a key point to
Obviously, this is the target state matrix in solving paper
research. Its function mainly includes online examination
generating problem, which should meet some constraints as in
management, intelligent test paper composition and
(2),(3),and (4).
achievement evaluation, of which intelligent test paper
composition is the main embodiment of personalized service. n
Now most existing online examination systems, which merely total _ time = ∑ a i1 . (2)
extract test papers from item bank according to requirements i =1
input by teachers in advance and certain strategies of
generating paper, can not extract paper suiting each student n
according to students’ specific learning situation. This paper total _ score = ∑ a i7 . (3)
proposed an intelligent test paper composition method based on i =1

genetic algorithm, which extracts suitable test questions


dynamically from item bank according to students’ online a i3 ∈ [chapter _ range] . (4)
learning situation and meet students’ personalized test
requirements well.

170 978-1-4244-3521-0/09/$25.00 ©2009 IEEE


Proceedings of 2009 4th International Conference on Computer Science & Education

The test content and difficulty should be different according individuals totally, so early maturity may come out and result
to different student, constraints that the attributes from the 4th into local optimum. In addition, requirements for the 7
column to the 6th column should meet, are established attributes are different, error is not expected for test score,
dynamically according to student knowledge learning model certain requirements are desired as for other attributes.
before running the algorithm of test paper generating . Improvements of the traditional genetic algorithm are made as
following:
Modeling learning situation of each student, student
knowledge learning model reflects students’ performance in 1) Coding scheme: Extraction for each test question is
intelligent educational environment during learning. regarded as gene, “1”represents some test question is selected
It regards 6 evaluation values and 15 quantities as reference while “0” not. Different combination of gene is considered as
factors to evaluate student’s learning situation, the former chromosome which supports blocking according to function.
includes memorization, comprehension, application, analysis, For example, the chromosome 1000010101-101010-101101-
integration and assessment; the latter contains performance of 11011 shows that test questions of the 1st, 6th, 8th and 10th are
the test, age, educational background, physiological conditions, extracted 10 item banks to compose the test paper. In this way,
learning environment, mood, learning efficiency, etc. It the whole binary string is divided into different function
receives estimation of degree that student masters in terms of blocks. Each function block, which adopts independent binary
concept, theory and application. Detailed content can be code, responds to one kind of question type, in which
referenced in [7]. We can refer from the above that test paper
“1”represents the test question is selected while “0” not and the
generating problem is an optimal solving problem of multi-
target, and the optimal solving is not unique. t number of “1” is the number of this kind of question type.
Obviously, the initial population generated by the rule above
III. DESIGN OF GENETIC ALGORITHM FOR TEST PAPER has already satisfied requirements for test question type, score
GENERATING PROBLEM and time to complete test paper.
A. Traditional test paper genetic algorithm 2) Fitness function: Fitness function is used to judge
virtues or defect degree of individuals in the population.
Traditional test paper generating such as random extraction
Genetic algorithm takes advantage of fitness value to guide
and backtracking, with low success rate of test paper
generating, high space cost and time consumption, is suitable search, rather than continuity and differentiability of fitness
for item bank system with small scale. Genetic algorithm was function and other auxiliary information. The definition of
proposed by J.H.Holland, an American scholar. Simulating fitness function is as in (5).
biological evolution process in nature, genetic algorithm is a
computing model with simple practice, strong robustness, m

global optimization and fast convergence. It is also suitable for F = 1/ (1 + ∑ k i ei ),i ∈ [1, n] . (5)
i =1
parallel processing, and all these features are suitable for
solving test paper generating problem.The concrete process that
adopts genetic algorithm is as following: in which ei responds to error that the ith test paper generating
factor corresponding to test paper constraint, generating ki is
1) To choose certain quantity of chromosome to compose weight coefficient and ki>0. The fitness function with weighted
an initial population. error reflects characteristics solving for test paper generating.
2) To adopt some kind of fitness function to compute The smaller the error that test paper individuals responds to
inferiors and superiors of individuals in the population. The each constraint of test paper generating , the bigger the fitness
higher fitness is, the better variety is. value is, and the closer the individuals close to test paper
3) To choose chromosome to do genetic operation such as generating.
replication, crossover and mutation according to fitness value. 3) Crossover operation: Crossover is the most important
4) To modify illegal solution, compute fitness for new operation of genetic algorithm. There are many crossover
individuals, and check the new population whether satisfies operators, single-point crossover operator which is the most
test paper generating constrains or not, if it is so, then output commonly used is adopted in this paper. And internal crossover
the solution, or else replace parent individuals by new operator also adopted to make sure that number of question
individuals to compose population of the next generation, then choosing is not changed. In other words, to do crossover
go to step 2). operation in a single chromosome rather than two
chromosomes, as fig.1 shows.
B. Improvement of Genetic Algorithm
In traditional genetic algorithm, the total number of “1”in
each string of initial population equals n the total number of cross-point
test questions. But it may change after genetic operation such 1 0111 0 1 0 0 0 1 11 0 1 1
as crossover and mutation and become an illegal solution. At
this time, it is needed to correct the solution, that is, doing Figure 1. crossover operation
computation and making the number of “1” in the string into
“n”. Generally speaking, this process is complex and of an 4) Mutation operation: Intra-group mutation of two bit is
great increase in computation. New individuals replace old adopted for mutation operator, namely to mutate two bits in a

978-1-4244-3521-0/09/$25.00 ©2009 IEEE 171


Proceedings of 2009 4th International Conference on Computer Science & Education

group of question type at one time, change one bit from “1” to efficiency, which is used to compose test paper that is more
“0” and other from “0” to “1”, and coding block of each suitable for testing students’ knowledge level in test paper
chromosome mutate independently. Execution of mutation generating system, so as to achieve the goal to assistant
operator depends on mutation probability which is very small teaching with intelligence and personality.
in general. Execution process of mutation operator is as below:
a) To choose some bit randomly in chromosome and to Algorithm:Improved Genetic Algorithm
reverse it. Begin:
Step 1: Initial parameters of genetic algorithm, let t=0, M is
b) To reverse in the coding block where the bit is
scale of population, K is the number of chromosome in
included in, search for a bit with opposite value and whose recent generation which will be replicated to the next
place is closest to the bit, and reverse the value of the bit generation;
found, as fig.2 shows. Step 2: To generate initial population (t=1);
Step 3: To compute fitness function value P(gi) for each
chromosome;
Step 4: To sort chromosomes in descending order according to
001 1 1 0 11 001 0 1 0 11 P(gi);
Step 5: To check whether satisfying the condition to finish
iterative process or not, if it so end execution and exit
the algorithm;
001 0 1 1 11 Step 6: To replicate the preceding K chromosomes in
Figure 2. Mutation operation population (t) to temporary storage area;
Step 7: Do partheno-genetic operation on each chromosome gi
In this way, requirements of constraints, question type and in population (t);
Step 8: To compute fitness of each daughter chromosome,
question number are ensured.
and to replicate it to temporary storage area;
5) Elimination operation: In easy genetic algorithm, Step 9: To sort K parent chromosomes and M child
individuals of child generation after crossover take place of chromosomes generated in descending order according
individuals of parent generation that take part in crossover, to fitness, the former is memorized in step 6 and the
abandoning information of parent generation fast. But the new latter is generated in step 7;
individuals generated by crossover are not always better than Step 10: To choose the preceding M chromosomes from
parent generation, which is not good for fast convergence of temporary storage area and regards them as group(t ← t
+ 1) of the next generation.
algorithm. For the sake of efficient crossover and make sure of
Step 11: Go back to step 5;
both the new individuals and parent individuals participate in End;
evaluation and selection, N individuals, which are selected
from 2N individuals with roulette selection method, compose Figure 3. Improved genetic algorithm
new population. N represents scale of population.
6) Terminal conditions: Basis for finishing iterative ACKNOWLEDGMENT
process: The authors want to thank Zhong-bao Ma for discussions,
a) The population meets constraints of test paper valuable suggestions and revisions that contributed to the
generating; development of this work. We are also grateful to Professor
b) The fitness values of two successive are less than the Chun-zhi Wang,and to the anonymous referees for their useful
specified value; comments.
c) The iterative value is maximum value. REFERENCES
It can be seen that the number of “1”in each chromosome
won’t be changed after improved genetic operation on [1] G. Eason, B. Noble, and I. N. Sneddon, “On certain integrals of
chromosome in population of each generation, avoiding Lipschitz-Hankel type involving products of Bessel functions,” Phil.
modifying illegal solution and reducing operations greatly. At Trans. Roy. Soc. London, vol. A247, pp. 529–551, April 1955.
the same time the parent generation and the child generation (references)
participate in struggle for existence, giving more chance to [2] J. Clerk Maxwell, A Treatise on Electricity and Magnetism, 3rd ed., vol.
2. Oxford: Clarendon, 1892, pp.68–73.
better individuals that reproduce to the next generation and
higher probability to get a global optimal solution. Details of [3] I. S. Jacobs and C. P. Bean, “Fine particles, thin films and exchange
anisotropy,” in Magnetism, vol. III, G. T. Rado and H. Suhl, Eds. New
the algorithm can be seen in fig.3. York: Academic, 1963, pp. 271–350.
[4] K. Elissa, “Title of paper if known,” unpublished.
IV. CONCLUSIONS
[5] R. Nicole, “Title of paper with only first word capitalized,” J. Name
This paper takes advantage of genetic algorithm to design a Stand. Abbrev., in press.
personalized online examination and test paper generating [6] Y. Yorozu, M. Hirano, K. Oka, and Y. Tagawa, “Electron spectroscopy
system, which evaluates students’ mastery degree of studies on magneto-optical media and plastic substrate interface,” IEEE
knowledge comprehensively and accurately. At the same time, Transl. J. Magn. Japan, vol. 2, pp. 740–741, August 1987 [Digests 9th
Annual Conf. Magnetics Japan, p. 301, 1982].
the improved genetic algorithm with high executive speed and

172 978-1-4244-3521-0/09/$25.00 ©2009 IEEE


Proceedings of 2009 4th International Conference on Computer Science & Education

[7] M. Young, The Technical Writer's Handbook. Mill Valley, CA: University Science, 1989.

978-1-4244-3521-0/09/$25.00 ©2009 IEEE 173

Vous aimerez peut-être aussi