CN102184345A - Test-paper generation method based on genetic algorithm - Google Patents

Test-paper generation method based on genetic algorithm Download PDF

Info

Publication number
CN102184345A
CN102184345A CN2011101740175A CN201110174017A CN102184345A CN 102184345 A CN102184345 A CN 102184345A CN 2011101740175 A CN2011101740175 A CN 2011101740175A CN 201110174017 A CN201110174017 A CN 201110174017A CN 102184345 A CN102184345 A CN 102184345A
Authority
CN
China
Prior art keywords
paper
examination question
function
difficulty
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011101740175A
Other languages
Chinese (zh)
Inventor
郑永清
肖宗水
任国珍
何伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANDONG DAREWAY COMPUTER SOFTWARE CO Ltd
Original Assignee
SHANDONG DAREWAY COMPUTER SOFTWARE CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANDONG DAREWAY COMPUTER SOFTWARE CO Ltd filed Critical SHANDONG DAREWAY COMPUTER SOFTWARE CO Ltd
Priority to CN2011101740175A priority Critical patent/CN102184345A/en
Publication of CN102184345A publication Critical patent/CN102184345A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a test-paper generation method based on a genetic algorithm. The method has functions of automatically extracting test questions and generating test paper. By using the test-paper generation method based on the genetic algorithm, the test paper is generated, so the electronization and automation of test-paper generating operation can be realized, burdens on a teacher are reduced, the teaching efficiency of the teacher is improved, and teaching quality is evaluated truly and objectively; and by the test-paper generation method based on the genetic algorithm, indexes such as test type, difficulty, discrimination and knowledge point distribution can be balanced relatively, user requirements can be met to the largest extent, and teaching management is more scientized and standardized.

Description

Group volume method based on genetic algorithm
Technical field
The present invention relates to paper and generate method automatically, in particular, the present invention relates to group volume method based on genetic algorithm.
Background technology
In education sector, examination is the important step in the whole teaching process, and it is that the student is gained knowledge and a kind of evaluation of ability, also is a kind of educational measurement book section of weighing teachers ' teaching effect quality.In examination in the past, there are many problems in group volume mode.Traditional group volume mode mainly relies on the teacher that the direction that stresses of knowledge point is collected and chosen examination question finishing the establishment of paper, required content, standards of grading etc. since etc. the interference of various human factors, lacks general comparability, the reliability of taking an examination and validity are lower.Utilize the computer set volume, can not only save the quality time in classroom, increase work efficiency, and can eliminate the influence of the people's subjective will that makes the test, make the standardization more of taking an examination, the actual effect of more objective, true, comprehensive reflection teaching helps promoting the raising of quality of instruction.
Along with deepening constantly of the content of courses and improving constantly to the teaching requirement, and the enhancing of student knowledge being grasped the examination needs of global level, this just improves gradually to the requirement of paper quality, and everybody can not satisfy the needs of multi-angle high-quality papers such as knowledge point broad covered area, item difficulty is moderate, examination question topic type is evenly distributed for the group volume by making the test in the past.Therefore, need a kind of science, effective, correct algorithm to assist the work of making the test of finishing.
Summary of the invention
Purpose of the present invention based on genetic algorithm, satisfies the constraint condition that the people proposed that makes the test exactly for addressing the above problem as much as possible, and optimum paper is provided.Genetic algorithm is relevant with the standard that the people carries that makes the test, and at this this paper four standards will be set: topic type-examination question number distributes, difficulty-examination question number distributes, on average difficulty, knowledge point-examination question number distribute.
For achieving the above object, the present invention adopts following technical scheme:
The invention has the beneficial effects as follows:
1, have the function of taking out topic group volume automatically, utilize the group volume method based on genetic algorithm to generate paper automatically, electronization and robotization that can the work of realization group volume alleviate teacher's burden, improve teachers ' teaching efficient, truly the objective evaluation quality of instruction;
2, the group volume method based on genetic algorithm can reach relative equilibrium between every indexs such as topic type, difficulty, discrimination and knowledge point distribution, can at utmost satisfy customer requirements, promotes the scientific of teaching management and standardization.
Description of drawings
Fig. 1 is the group volume method flow diagram based on genetic algorithm;
Fig. 2 is fitness value calculation method step figure;
Fig. 3 selects block diagram for paper;
Fig. 4 is paper intersection block diagram;
Fig. 5 is paper variation block diagram.
Embodiment
Below in conjunction with drawings and Examples the present invention is further specified:
The group volume will be picked out satisfactory exercise question exactly and form paper from thousands of roads examination question.Because each examination question all can have a plurality of attributes, finding the solution of Here it is so-called multi-objective problem, because multi-objective problem might not be separated, therefore even traveled through examination questions all in the test item bank, attempted all possible array mode, also also one find a cover to satisfy the paper that user's soft quota requires surely, therefore we should be not stuck with condition in the process of group volume, but should carry out the iteration of limited number of times in line with the principle of optimization aim as far as possible, the paper that obtains is got final product near user's demand as far as possible.
Whether force to meet the demands when strategy index and group volume as shown in table 1
Table 1
Sequence number Index name Whether force to satisfy during the group volume
1 The topic type Be
2 Outline Not
3 Average difficulty Not
4 The difficulty interval Not
5 The examination time Not
6 The anchor topic Not
Group volume method based on genetic algorithm may further comprise the steps:
A. generate initial paper set, from test item bank, select the examination question that meets the knowledge point requirement, press chapters and sections, the new table of topic type classification composition;
B. calculate the fitness value of every paper in the paper set;
C. check that whether the paper that is generated satisfies the various constraint conditions that group volume algorithm requires, and then is provided with successfully sign if exist, and turns to step H;
D. select paper to duplicate according to the fitness value of each paper;
E. select two papers at random, carry out interlace operation, examination question corresponding in two papers is exchanged at the per pass examination question in the paper;
F. select a paper at random, carry out the generation that mutation operation (new individual the every of gene strand is made a variation by probability P m, is negate) is finished paper set of new generation concerning the two-value gene strand at per pass examination question in the paper;
G. turn to step B;
H. check successfully sign, if the success of then expression group of success volume, otherwise, the failure of group volume.
The generation of initial paper set comprises following steps in the described steps A:
A1. the policy information that distributes of the topic type that is provided with according to the people that makes the test-examination question number selected topic group volume at random, the examination question of paper was organized and was satisfied topic type distribution requirement fully this moment;
A2. organize the paper set of some.
The fitness value calculation method comprises following steps among the described step B:
Select follow-on individuality according to survival of the fittest principle.When selecting, be selection principle with the fitness, the fitness criterion has embodied the survival of the fittest, the natural law that uncomfortable person eliminates.Choosing of fitness value comprises:
B1. the function distribution value of difficulty in computation-examination question number:
D * Q ( x ) = | | Q ( x ) ‾ - Q ‾ | | M 0 = | | ( q 1 - q 1 , q 2 - q 2 , . . . , q n Q - q n Q ) | | M 0
= Σ i = 1 n Q ( q 1 - q 1 ) 2 M 0
Formula is explained:
The difficulty interval 0.1-0.2 0.2-0.5 0.5 more than The vector title
The user sets 2 5 3 Q
Exercise question quantity in the paper 1 6 4 Q’
Each quantitative value in " exercise question quantity in the paper " is that the property calculation according to each examination question is come out in current paper.So the function distribution function of difficulty-examination question number gets final product for the distance of relatively vectorial (Q, Q '), M0 is total number of examination question in the formula.
The function distribution value of B2. average difficulty
D * T ( x ) = | | T 0 - T 0 ( X ) | | T 0 = | 1 - ( Σ i = 1 d i * f i Σ i = 1 n f i ) T 0 |
Formula is explained: the average difficulty that T0 sets for the user, the average difficulty of T0 ' for coming out according to the difficulty and the fractional computation of paper in the present paper is so the function of average difficulty is distributed as the comparison between T0 and the T0 '.
B3. the function distribution value of calculation knowledge point-examination question number
D * K ( x ) = | | K ( X ) ‾ - K ‾ | | M 0 = | | ( k 1 - k 1 , k 2 - k 2 , . . . , k n k - k n k ) | | M 0 = Σ i = 1 n k ( k 1 - k 1 ) 2 M 0
Formula is explained: the knowledge point distribute with the interval distributional class of difficulty seemingly, finally for the user sets vectorial K, with present each knowledge of paper the distance value of vectorial K ' of distributed quantity composition.
B4. calculating target function
f(X)=w 0D*Q(X)+w 1D*K(X)+w dD*T(X)
Objective function is made up of 3 parts, and the function that this 3 part is respectively difficulty-examination question number distributes, average difficulty function distributes, the function of knowledge point-examination question number distributes, and each part all has weights Wi separately, W1+W2+W3=1.
B5. calculate fitness function
Fitness function transforms by objective function and comes, and uses fitness function to judge that high more this paper of proof of the fitness of paper is more near target in genetic algorithm.
Figure BDA0000071287210000053
Paper is selected may further comprise the steps among the described step D:
D1. calculate the fitness value sum sum of all papers;
D2. calculate the selection probability of each paper, P=Fi/sum (Fi is an i paper fitness value);
D3. find out paper and concentrate the selection probability max of all paper maximums;
D4. select the random number A of a 0-max at random;
D5. as if A<P, this paper is selected
Intersect in the described step e and may further comprise the steps:
E1. set intersection constant Pc (generally more suitable in 0.4-0.6);
E2. produce the random number R 1 of 0-1;
E3. if R1<=Pc rolls up the examination questions exchange for two.
Variation may further comprise the steps among the described F:
F1. set variation constant Pm (more suitable in the general 0.001-0.01 scope);
F2. between 0-1, produce random number R 2;
F3. as if R2<=Pm, from the examination question set, get the examination question of identical topic type at random, replace this examination question in this paper.

Claims (6)

1. based on the group volume method of genetic algorithm, it is characterized in that the performing step of this group volume method is as follows:
A. from test item bank, select the examination question that meets the knowledge point requirement, form by chapters and sections, the classification of topic type and newly show and generate initial paper set;
B. calculate the fitness value of every paper in the paper set;
C. check whether the paper that is generated satisfies the various constraint conditions that group volume algorithm requires, if exist successfully sign is set then, if the success of then expression group of success volume, otherwise the failure of group volume turns to step D to carry out;
D. select paper to duplicate according to the fitness value of each paper;
E. select two papers at random, carry out interlace operation, examination question corresponding in two papers is exchanged at the per pass examination question in the paper;
F. select a paper at random, carry out the generation that mutation operation is finished paper set of new generation at per pass examination question in the paper;
G. turn to step B.
2. the group volume method based on genetic algorithm as claimed in claim 1 is characterized in that, the generation of initial paper set comprises following steps in the described steps A:
A1. the policy information that distributes of the topic type that is provided with according to the people that makes the test-examination question number selected topic group volume at random, the examination question of paper was organized and was satisfied topic type distribution requirement fully this moment;
A2. organize the paper set of some.
3. the group volume method based on genetic algorithm as claimed in claim 1 is characterized in that choosing of fitness value comprises among the described step B:
B1. the function distribution value of difficulty in computation-examination question number:
D * Q ( x ) = | | Q ( x ) ‾ - Q ‾ | | M 0 = | | ( q 1 - q 1 , q 2 - q 2 , . . . , q n Q - q n Q ) | | M 0
= Σ i = 1 n Q ( q 1 - q 1 ) 2 M 0
Each quantitative value in " exercise question quantity in the paper " is that the property calculation according to each examination question is come out in current paper, gets final product so the function of difficulty-examination question number is distributed as the distance of comparison vector (Q, Q '), and M0 is total number of examination question in the formula;
The function distribution value of B2. average difficulty
D * T ( x ) = | | T 0 - T 0 ( X ) | | T 0 = | 1 - ( Σ i = 1 d i * f i Σ i = 1 n f i ) T 0 |
Wherein, n is a paper exercise question sum, f iBe the score value of i problem, d iIt is the difficulty value of i problem.The average difficulty that T0 sets for the user, the average difficulty of T0 ' for coming out according to the difficulty and the fractional computation of paper in the present paper, the function of average difficulty is distributed as the comparison between T0 and the T0 ';
B3. the function distribution value of calculation knowledge point-examination question number
D * K ( x ) = | | K ( X ) ‾ - K ‾ | | M 0 = | | ( k 1 - k 1 , k 2 - k 2 , . . . , k n k - k n k ) | | M 0
= Σ i = 1 n k ( k 1 - k 1 ) 2 M 0
The knowledge point distribute with the interval distributional class of difficulty seemingly, finally for the user sets vectorial K, with present each knowledge of paper the distance value of vectorial K ' of distributed quantity composition;
B4. calculating target function
Objective function f (X)=w 0D*Q (X)+w 1D*K (X)+w dD*T (X)
Wherein, w 1, w 2..., w gBe the weight of each index, and Σ i = 1 g w i = 1
Objective function is made up of 3 parts, and the function that this 3 part is respectively difficulty-examination question number distributes, average difficulty function distributes, the function of knowledge point-examination question number distributes, and each part all has weights Wi separately, W1+W2+W3=1;
B5. calculate fitness function
Fitness function transforms by objective function and comes, and uses fitness function to judge that high more this paper of proof of the fitness of paper is more near target in genetic algorithm;
Fitness function:
Figure FDA0000071287200000032
Obviously exist multiple mode to select C Mn, C MnBe an input value, or the maximal value of g (x) in the evolutionary process, or the maximal value of g (x).
4. the group volume method based on genetic algorithm as claimed in claim 1 is characterized in that, paper is selected may further comprise the steps among the described step D:
D1. calculate the fitness value sum sum of all papers;
D2. calculate the selection probability P of each paper, P=Fi/sum, wherein Fi is an i paper fitness value;
D3. find out paper and concentrate the selection probability max of all paper maximums;
D4. select the random number A of a 0-max at random;
D5. as if A<P, then this paper is selected.
5. the group volume method based on genetic algorithm as claimed in claim 1 is characterized in that cross-over principle is as follows in the described step e:
E1. set intersection constant Pc;
E2. produce the random number R 1 of 0-1;
E3. if R1<=Pc rolls up the examination questions exchange for two.
6. the group volume method based on genetic algorithm as claimed in claim 1 is characterized in that, the variation principle is as follows in the described step F:
F1. set variation constant Pm;
F2. between 0-1, produce random number R 2;
F3. as if R2<=Pm, from the examination question set, get the examination question of identical topic type at random, replace this examination question in this paper.
CN2011101740175A 2011-06-27 2011-06-27 Test-paper generation method based on genetic algorithm Pending CN102184345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101740175A CN102184345A (en) 2011-06-27 2011-06-27 Test-paper generation method based on genetic algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101740175A CN102184345A (en) 2011-06-27 2011-06-27 Test-paper generation method based on genetic algorithm

Publications (1)

Publication Number Publication Date
CN102184345A true CN102184345A (en) 2011-09-14

Family

ID=44570520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101740175A Pending CN102184345A (en) 2011-06-27 2011-06-27 Test-paper generation method based on genetic algorithm

Country Status (1)

Country Link
CN (1) CN102184345A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504627A (en) * 2014-12-03 2015-04-08 中建材国际贸易有限公司 Test paper automatic composing method utilizing genetic algorithm
CN104820707A (en) * 2015-05-14 2015-08-05 西安交通大学 Automatic test paper composition method in B/S (Brower/Server) mode based on knowledge hierarchy in field of computers
CN106447041A (en) * 2016-10-13 2017-02-22 北京减脂时代科技有限公司 Group intelligent matching method based on self-adaptive genetic algorithm
CN106710344A (en) * 2017-02-13 2017-05-24 盐城工学院 Computer application examination system
CN106781865A (en) * 2016-12-27 2017-05-31 华南师范大学 A kind of intelligent Auto-generating Test Paper method and system based on two-way detail table pattern-recognition
CN107918655A (en) * 2017-11-16 2018-04-17 重庆三峡学院 A kind of test paper generation management control system and control method
CN109544414A (en) * 2018-10-23 2019-03-29 平安医疗健康管理股份有限公司 Data processing method, device, server and computer readable storage medium
CN114629707A (en) * 2022-03-16 2022-06-14 深信服科技股份有限公司 Method and device for detecting messy codes, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588308A (en) * 2004-07-02 2005-03-02 北京邮电大学 Method for realizing automatically compiling test paper from item pool using improved genetic calculation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588308A (en) * 2004-07-02 2005-03-02 北京邮电大学 Method for realizing automatically compiling test paper from item pool using improved genetic calculation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈蕾: "基于遗传算法的自动组卷系统研究与应用", 《四川大学工程硕士专业学位论文》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504627A (en) * 2014-12-03 2015-04-08 中建材国际贸易有限公司 Test paper automatic composing method utilizing genetic algorithm
CN104820707A (en) * 2015-05-14 2015-08-05 西安交通大学 Automatic test paper composition method in B/S (Brower/Server) mode based on knowledge hierarchy in field of computers
CN104820707B (en) * 2015-05-14 2018-07-20 西安交通大学 One kind being based on the architectonic B/S patterns automatic volume group method of computer realm
CN106447041A (en) * 2016-10-13 2017-02-22 北京减脂时代科技有限公司 Group intelligent matching method based on self-adaptive genetic algorithm
CN106781865A (en) * 2016-12-27 2017-05-31 华南师范大学 A kind of intelligent Auto-generating Test Paper method and system based on two-way detail table pattern-recognition
CN106710344A (en) * 2017-02-13 2017-05-24 盐城工学院 Computer application examination system
CN107918655A (en) * 2017-11-16 2018-04-17 重庆三峡学院 A kind of test paper generation management control system and control method
CN109544414A (en) * 2018-10-23 2019-03-29 平安医疗健康管理股份有限公司 Data processing method, device, server and computer readable storage medium
CN114629707A (en) * 2022-03-16 2022-06-14 深信服科技股份有限公司 Method and device for detecting messy codes, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102184345A (en) Test-paper generation method based on genetic algorithm
Peng et al. Urban economic structure, technological externalities, and intensive land use in China
Reschovsky et al. The development of school finance formulas to guarantee the provision of adequate education to low-income students
Coryn et al. Models and mechanisms for evaluating government-funded research: An international comparison
Cheslock et al. Differences across states in higher education finance policy
CN107564391A (en) Public administration method and training platform based on simulation sand table
Supriadi et al. Expectations and standards for accounting professions and implications in the learning pattern in Industrial 4.0
Byamugisha Examining the effects of school environmental factors on pupil’s learning achievement in Ugandan primary schools
Akyeampong et al. Access to Basic Education in Ghana: The Evidence and the Issues. Country Analytic Report.
CN107832453A (en) Virtual test paper recommendation method oriented to personalized learning scheme
Kang et al. The feasibility of practical vocational education in higher education institutions
Liu et al. Discussion on the rise of healthy Chinese sports industry and the training mode of compound sports talents
Abdul-Hamid et al. Assessment testing can be used to inform policy decisions: the case of Jordan
Wang et al. The Role of the Composition of the Human Capital on the Economic Growth: With the Spatial Effect among Provinces in China
Zuo et al. Higher Education Curriculum Evaluation Method Based on Deep Learning Model
Bran et al. The dynamics of innovation in the ex-communist countries in Europe in the context of globalization
Hanzl-Weiss et al. BRATISLAVA and VIENNA: twin cities with big development potentials
CN108335051A (en) A kind of lecturer's evaluation management method based on foreign trade training industry
Ugwuanyi A review of the problems and challenges in the study of microbiology in Nigeria’s tertiary institutions
Woldegiyorgis Higher education in early-stage developmental states: lessons for beginners
Jamalinejad et al. Strategic planning for national knowledge-based development using the SWOT strategic model
Aroosa et al. Evaluation of Efficiencies of Public Sector Universities of Quetta: An Empirical Application of Data Envelopment Analysis
Qian et al. The Construction of the Measurement Model of Balanced Development of Compulsory Education Resources based on the Hierarchical Analysis Method
Mo et al. Training Effectiveness Evaluation System of Migrant Workers along Yangtze River Valley
James Understanding College Choice for Black Students: An Exploratory Study of Academic Achievement, Socioeconomic Differences, and Acquired Cultural Capital

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110914