<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>The development of a web application for assessment by tests generated using genetic-based algorithms</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Doru Anastasiu Popescu</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Victor Tița</string-name>
          <email>victortita@yahoo.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nicolae Bold</string-name>
          <email>bold_nicolae@yahoo.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Agronomic Sciences and Veterinary Medicine Bucharest, Faculty of Management, Economic Engineering in Agriculture and Rural Development</institution>
          ,
          <addr-line>Slatina Branch</addr-line>
          ,
          <country country="RO">Romania</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Pitesti, Department of Mathematics and Computer Science</institution>
          ,
          <country country="RO">Romania</country>
        </aff>
      </contrib-group>
      <fpage>37</fpage>
      <lpage>46</lpage>
      <abstract>
        <p>The multitude of the technology-based tools used for educational purposes is now a common thing to be seen. These tools can help within the educational process either for the organizational purposes or these are included in the materials used in education. This paper presents Kromatine, a generator of assessment tests which are obtained using a genetic algorithm, which includes it in the first category, organizational purposes. The genetic algorithm uses basic genetic operations and structures and it is presented in a form of a web application. It eases the organizational tasks of the teacher by giving him the opportunity to generate tests that will be used further in assessment. The questions are stored in a database and the user has the possibility to add questions to database and to generate tests that can be used later. The questions are characterized by a degree of difficulty and are multiple-choice type. The choice of the genetic algorithm is due to the fact that the problem can be summarized in generating an arrangement of question summing a given total degree of difficulty (comparable to the subset sum problem), which includes the issue in the category of NP-complete problems. Also, the problem structure can be easily modeled based on a general genetic algorithm structure.</p>
      </abstract>
      <kwd-group>
        <kwd>genetic</kwd>
        <kwd>tool</kwd>
        <kwd>web application</kwd>
        <kwd>education</kwd>
        <kwd>assessment</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        As technology advances more and more and the modalities of easing organizational
tasks are more numerous and following several recent breakthrough researches. All
these research is based on nature functionalities and structures. Also, education is an
extremely important field within the domains of the people, from the primary school to
adult training [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. This importance is obvious, because education is a basis for every
human activity.
      </p>
      <p>We will present in this paper a primary version of a tool that generates tests used for
assessment based on a genetic algorithm. As we will see, the questions are
multiplechoice type and are selected from a database which is built overtime. Section 2
introduces a theoretical base formed from notions and operations used to build the tool. In
section 3 we will present the actual implementation of the tool, in the form of a web
application, and section 4 contains an example of obtaining assessment tests using this
tool.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Research and related work</title>
      <p>Genetic algorithm theory is rapidly developing due to advances in technology and
research. Known for their large applicability, their approximate nature is a both a feature
and a drawback that is currently studied in order to increase the accuracy of the
solutions obtained. Thus, state of the art research on genetic algorithm is aiming to solving
both classical theory problems and unusual particular issues.</p>
      <p>
        Given the first direction, the applicability of the genetic algorithms to fuzzy
problems is a candidate for solving matrix problems (implying chessboard-like structures
such as the queen problem [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]), which refer to the larger component of combinatorics.
Also, the genetic algorithms are widely used as a second solution for NP-complete
problems and one of the closest to education area is the generation of a timetable or a
schedule [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], given certain constraints. Besides that, the genetic algorithm may be
combined with neural network notions in order to help in pattern and classification problem
[
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
      </p>
      <p>
        The problem studied in this paper is part of the second set of problems. Given the
fact that the problem of generating tests formed of question with a given requirement
is not a common issue found in the literature, the existing papers which deal with the
problem deal with the problem of efficiency of genetic-based generation [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Other
types of generators use random-based generators [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] or ant-colony algorithms (ACA),
where is shown that effectiveness is slightly greater in terms of generating time.
However, time generation is not necessarily a key-parameter within the problem of tests
generation, but the precision of results. The precision is close either an ACA or genetic
algorithms are used [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        Another issue regarding the studied problem is that this can be classified as
NPcomplete, due to its reduction to the subset sum problem, of generating subsets of finite
cardinal whose sum of difficulty degree is close to a given parameter, which is known
for being NP-complete [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. This is why an evolutionary approach is preferred.
      </p>
      <p>
        Issues regarding the generation of tests which are secondary in this paper are also
consisting in the type of the question that is generated, whose number can be extended
using existing methods based on word analyze and NLP algorithms [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and the
automatic determination of the degree of difficulty of a given question [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. These issues are
forming new fields of research and integration in future research. Furthermore, the
questions that form tests can be seen as nodes in a complex network, which would
consist in the possibility of using graph-based structures [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and introduce the concept
of linked questions within the implementation of the algorithm.
      </p>
      <p>
        Finally, the problem described in the paper is a new integration of technology tools
within the vast domain of education. We should not exclude the social part of the
education [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and the implications of the usage of the technology [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], which are
immensely influencing the educational development of the students. Thus, a future
development would be the inclusion of a social aspect within the tool, either in selection of
the test or regarding the interaction between users.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Theoretical notions and application structure</title>
      <p>Before the actual presentation of the tool to be made, we will present the notions that
led to its creation. The tool has been developed based on a genetic algorithm, meaning
that the structures used are the gene and the chromosome. Also, the questions and the
generated tests are stored in a database. The definitions that follow present the
particular notions and clarify the terminology used in this paper. The database has four
tables which are basic for the needs of the generator:
─ table Questions, which contains fields storing the identification number of the
question, the statement, the number of choices, the degree of difficulty of the question,
the correct choice(s) and the user who proposed it;
─ table Choices, which contains the question identification number, the choice letter
from „a‟ to „z‟ and the choice text;
─ table Tests, containing fields storing the identification number of the test, the
questions, the total degree of difficulty of the test, the user who generated it, the
generation timestamp and the generation time. The latter field is used entirely for
monitoring and research purposes;
─ table Users, containing fields related to the user who uses the generator, such as user
identification number or alias. The table is designed to store user data and has an
organizational purpose.</p>
      <p>A detailed perspective on the database tables is presented in Table 1.</p>
      <p>The structure of the database DBQ containing the tables and the connections
between them is presented in figure 1.</p>
      <p>Specification 1. A question q (id; st; dd; V) is an object formed of the next
components:
─ the identification number of the question id;
─ the statement st;
─ the degree of difficulty dd, dd ϵ {1, 2, 3, 4, 5};
─ choices set V.</p>
      <p>Observations:</p>
      <p>The degree of difficulty dd is subjective for each question and it is considered to
be input data given by a human operator. This degree is considered to situate on a
scale from 1 to 5, where 1 is the least difficult and 5 means the most difficult. In order
to normalize the difficulty and cancel to a certain extent the subjectiveness of the
appreciation of the difficulty, a short explanation is given to the users.</p>
      <p>The set V contains objects structuralizing a choice vi (id; l; cst), i = 1, |V| of the
question, as follows:
• question identification number id;
• choice identification particle l. We choose as choice identification letters from
the English alphabet, thus l ϵ {„a‟, „b‟, …, „z‟}. The number of choices is thus
limited to 27;
• choice statement cst.</p>
      <p>Observation:
a) A test T (S, GD) is a set of questions qi, i= 1, |S|, where S is the set of questions
that form the test and GD is the degree of difficulty of the test:</p>
      <p>Specification 2. Given the database question set Q and the selected test question set
S for a given set of input data, a gene gi is an integer particle and a member of the set
{1, …, |Q|}, i ϵ {1, …, |S|}.</p>
      <p>Observations:
a) Basically, a gene stores the order number for a question (g is equivalent to qid).
b) |S| is an input data and used in the algorithm.
c) The elements of set S are unknown before the generation, being an output data.</p>
      <p>Specification 3. Given the database question set Q, the selected test question set S
at a given state, the population set NC and the desired total degree of difficulty MGD,
a chromosome C is an object formed of:
- order number id, id ϵ {0, …, |NC|};
- the gene set Gj = {gi | i ϵ {1, …, |S|} }, where G = S; j = 1, |NC|;
- the fitness function f defined as follows
(1)
Observations:
a) Gj is equivalent to qid.
b) We can easily observe thatMGD= [|S|,5×|S|].
c) The fitness function checks if the sum of the difficulty degrees of each
question within a chromosome are lower and as close as the value MGD.
d) The chromosome contains the order numbers of questions that form a test. If
we denote the test questions set by T, then T = S = {Gi| i = 1, |S|}.</p>
      <p>Proposition 4. Given a chromosome Ci (i = 1, |NC|) and random positions a and b
(a, b = 1, |S|), the mutation operation is defined as the shift of the genes found on the
positions a and b.</p>
      <p>Observation. The mutation has as result the generation of a new chromosome.</p>
      <p>Proposition 5. Given two chromosomes Ci and Cj and a random position p, the
crossover operation is defined as a succession of steps as follows:</p>
      <p>─ The two chromosomes are split at the position p.
─ The first part of the chromosome Ci is combined with the second part of the
chromosome Cj and the first part of the chromosome Cj is combined with the second
part of the chromosome Ci.
─ Two new chromosomes Ci’ and Cj’ are obtained, as follows:
  ′ = (  1,   2, … ,    −1,    , … ,    )</p>
      <p>(3)
 ′ = (  1,   2, … ,    −1,    , … ,    ) (4) Within
the algorithm, the order of the operations is:</p>
      <p>Generation of the initial population
Sort of chromosomes based on fitness
Mutation of chromosomes</p>
      <p>Crossover of chromosomes</p>
      <p>Operations b), c) and d) are repeated for a previously-set number of generations.
The final result is a list of tests from which we store a finite number of tests which
have the highest value of the fitness.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Implementation</title>
      <p>The implementation was made in the form of a web application. The implementation
was based on Bootstrap framework, used for display and structural components. The
back-end component is based on PHP combined with MySQL used for database
storage. The customizable parameters, i.e. the ones which influence the performance of the
final output (the size of the initial population, the mutation rate, the crossover rate) can
be modified, but they have default values that guarantee a close-to-optimum solution.
Thus, if the user in unaware of the definition of these parameters, he can as well ignore
giving them values. Regardless the situation, the technical details are presented in a
help section.</p>
      <p>The main page of the application is shown in Figure 2 (a-d).</p>
      <p>The application was built of the following components:
─ the dashboard, which shows a summary of the user activity;
─ the script for proposing questions, consisting in an extended form;
─ the page for generating questions, which is the core of the entire application and
where the input data is set;
─ the page used for showing the generated tests for a given user, where he can choose
some of the tests generated before.</p>
      <p>
        The visual representation of the application scheme is presented in figure 3.
The presented application is basically a core for a future development of an assessment
aid tool for a teacher. The implemented tool can be in this matter included in a long list
of technology-based tool that are used in education, widely developed [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] on different
supports, even mobile [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Given the fact that the foundation theory of the problem
relates to NP-completeness, the chosen genetic approach is legitimate due to user
requirements. Future work would obviously consist in the development of the existing
tool in directions of functionalities for the user, such as the automatic output of the test
in a desired form (document), and theoretical basic structure, such as adding
requirements to the fitness function.
      </p>
      <p>The educational process depends on mathematical parameters that technology can
use in order to ease the organisational tasks for the person who is in charge with the
educational process (e.g., the teacher). Also, the technology has implications on the
actual educational process by providing materials that create an interactive learning
environment.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Alharbi</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Venkat</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>A Genetic Algorithm Based Approach for Solving the Minimum Dominating Set of Queens Problem</article-title>
          .
          <source>Journal of Optimization</source>
          , Volume
          <volume>2017</volume>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Colorni</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dorigo</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maniezzo</surname>
            , V.:
            <given-names>A Genetic</given-names>
          </string-name>
          <string-name>
            <surname>Algorithm To Solve The Timetable Problem</surname>
          </string-name>
          (
          <year>1994</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Moon</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>The Subset Sum Problem: Reducing Time Complexity of NP-Completeness with Quantum Search</article-title>
          ,
          <source>Undergraduate Journal of Mathematical Modeling: One + Two: Vol. 4: Iss. 2, Article</source>
          <volume>2</volume>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Li</surname>
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            <given-names>X.</given-names>
          </string-name>
          :
          <source>Test Paper Generating Method Based on Genetic Algorithm, AASRI Procedia</source>
          , Volume
          <volume>1</volume>
          ,
          <string-name>
            <surname>Pages</surname>
          </string-name>
          549-
          <fpage>553</fpage>
          , ISSN 2212-
          <fpage>6716</fpage>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Guang</surname>
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yuxiao</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wanlin</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lina</surname>
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simon</surname>
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Qing</surname>
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ying</surname>
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hongbiao</surname>
            <given-names>J.:</given-names>
          </string-name>
          <article-title>A implementation of an automatic examination paper generation system</article-title>
          ,
          <source>Mathematical and Computer Modelling</source>
          , Volume
          <volume>51</volume>
          ,
          <string-name>
            <surname>Issues</surname>
          </string-name>
          11-12, Pages
          <fpage>1339</fpage>
          -
          <lpage>1342</lpage>
          , ISSN 0895-
          <fpage>7177</fpage>
          (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>D. W.</given-names>
          </string-name>
          , Jianmin
          <string-name>
            <surname>Z.</surname>
          </string-name>
          ,
          <source>Lijuan.: Automatic Test Paper Generation Based on Ant Colony Algorithm. Journal of Software. 8. . 10.4304/jsw.8.10</source>
          .
          <fpage>2600</fpage>
          -
          <lpage>2606</lpage>
          (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Thessen</surname>
            <given-names>A. E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cui</surname>
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mozzherin</surname>
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Applications of Natural Language Processing in Biodiversity Science</article-title>
          .
          <source>Advances in Bioinformatics</source>
          ,
          <year>2012</year>
          :
          <volume>391574</volume>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Boopathiraj</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Chellamani</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Analysis of Test Items on Difficulty Level and Discrimination Index in the Test for Research in Education</article-title>
          .
          <source>International Journal Of Social Sciences &amp; Interdisciplinary Research</source>
          , [S.l.], p.
          <fpage>189</fpage>
          -
          <lpage>193</lpage>
          ,ISSN 2277-
          <fpage>3630</fpage>
          (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Elvira</given-names>
            <surname>Popescu</surname>
          </string-name>
          , Constantin Stefan, Sorin Ilie, Mirjana Ivanovic, EduNotes - A
          <source>Mobile Learning Application for Collaborative Note-Taking in Lecture Settings, Proceedings ICWL 2016, Lecture Notes in Computer Science</source>
          , Vol.
          <volume>10013</volume>
          , Springer, ISBN:
          <fpage>978</fpage>
          -3-31947439-
          <issue>7</issue>
          , pp.
          <fpage>131</fpage>
          -
          <lpage>140</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Alex</surname>
            <given-names>Becheru</given-names>
          </string-name>
          , Elvira Popescu,
          <article-title>Design of a conceptual knowledge extraction framework for a social learning environment based on social network analysis methods</article-title>
          ,
          <source>Proceedings ICCC</source>
          <year>2017</year>
          , ISBN:
          <fpage>978</fpage>
          -1-
          <fpage>5090</fpage>
          -4862-
          <issue>5</issue>
          , pp.
          <fpage>177</fpage>
          -
          <lpage>182</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Doru</surname>
            <given-names>Constantin</given-names>
          </string-name>
          , Emilia Clipici, “
          <article-title>A new model for estimating the risk of bankruptcy of the insurance companies based on the artificial neural networks”</article-title>
          ,
          <source>Proceedings of the 16th edition of the SGEM International GeoConferences (International Multidisciplinary Scientific GeoConferences)</source>
          ,
          <volume>28</volume>
          June-7
          <string-name>
            <surname>July</surname>
          </string-name>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>C. Baron</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Şerb</surname>
            ,
            <given-names>N.M.</given-names>
          </string-name>
          <string-name>
            <surname>Iacob</surname>
            ,
            <given-names>C.L.</given-names>
          </string-name>
          <string-name>
            <surname>Defta</surname>
          </string-name>
          ,
          <article-title>IT Infrastructure Model Used for Implementing an E-learning Platform Based on Distributed Databases, Quality-Access to Success Journal</article-title>
          , Vol.
          <volume>15</volume>
          , Issue 140, pp.
          <fpage>195</fpage>
          -
          <lpage>201</lpage>
          ,
          <year>2014</year>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>C.L Defta</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Şerb</surname>
            ,
            <given-names>N.M.</given-names>
          </string-name>
          <string-name>
            <surname>Iacob</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Baron</surname>
          </string-name>
          ,
          <article-title>Threats analysis for E-learning platforms</article-title>
          , Vol.
          <volume>6</volume>
          / Nr. 1, pp.
          <fpage>132</fpage>
          -
          <lpage>135</lpage>
          ,
          <year>2014</year>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Domşa</surname>
            <given-names>Ovidiu</given-names>
          </string-name>
          , Emilian Ceuca, Mircea Râşteiu,
          <article-title>Algorithm to find a tree with Maximal Terminal Nodes</article-title>
          , 1st Balkan Conference in Informatics,
          <volume>21</volume>
          -
          <fpage>23</fpage>
          November 2003, Thessaloniki, Greece,
          <fpage>ISSN960</fpage>
          -287-045-1, pag.
          <fpage>113</fpage>
          -
          <lpage>122</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Victor</surname>
            <given-names>Tiţa</given-names>
          </string-name>
          , Raluca Necula:
          <article-title>Trends In Educational Training For Agriculture In Olt County</article-title>
          , Scientific Papers Series Management, Economic Engineering in Agriculture and
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Rural</surname>
            <given-names>Development</given-names>
          </string-name>
          , Vol.
          <volume>15</volume>
          ,
          <string-name>
            <surname>Issue</surname>
            <given-names>4</given-names>
          </string-name>
          ,
          <year>2015</year>
          ,
          <string-name>
            <given-names>PRINT</given-names>
            <surname>ISSN</surname>
          </string-name>
          2284-7995, E-ISSN 2285
          <article-title>-3952</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>