A Novel Approach to Source Code Assembling in the Field of Algorithmic Complexity
Computer Science and Information Systems, Tome 21 (2024) no. 3.

Voir la notice de l'article provenant de la source Computer Science and Information Systems website

Computational complexity analysis plays an essential part in the education of computer and software engineers. For that reason, it is carefully studied in programming courses, as well as in the algorithms and data structures courses. The number of students who learn programming is rapidly growing, but the number of teachers cannot keep up with that trend. Therefore, it is necessary to develop tools that can ease and accelerate the daily tasks of teachers, especially for learning purposes and in the context of automating the processes of exam preparation. We propose a novel template- and rule-based approach and a corresponding software system for assembling synthetic source code segments of defined time complexity. Based on the developed grammar, the system can produce source code segments with a broad scope of different time complexities while guaranteeing the complexity of the generated segment. The system can be used for generating questions for exams as it can assemble a large number of different code segments that can be given as questions that have similar difficulty levels. The system was evaluated both by human experts and ChatGPT tool.
Keywords: automated source code assembling, computational complexity, time complexity, rule-based assembling
@article{CSIS_2024_21_3_a6,
     author = {{\DH}or{\dj}e Pe\v{s}i\'c and Milena Vujo\v{s}evi\'c Jani\v{c}i\'c and Marko Mi\v{s}i\'c and Jelica Proti\'c},
     title = {A {Novel} {Approach} to {Source} {Code} {Assembling} in the {Field} of {Algorithmic} {Complexity}},
     journal = {Computer Science and Information Systems},
     publisher = {mathdoc},
     volume = {21},
     number = {3},
     year = {2024},
     url = {http://geodesic.mathdoc.fr/item/CSIS_2024_21_3_a6/}
}
TY  - JOUR
AU  - Ðorđe Pešić
AU  - Milena Vujošević Janičić
AU  - Marko Mišić
AU  - Jelica Protić
TI  - A Novel Approach to Source Code Assembling in the Field of Algorithmic Complexity
JO  - Computer Science and Information Systems
PY  - 2024
VL  - 21
IS  - 3
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/CSIS_2024_21_3_a6/
ID  - CSIS_2024_21_3_a6
ER  - 
%0 Journal Article
%A Ðorđe Pešić
%A Milena Vujošević Janičić
%A Marko Mišić
%A Jelica Protić
%T A Novel Approach to Source Code Assembling in the Field of Algorithmic Complexity
%J Computer Science and Information Systems
%D 2024
%V 21
%N 3
%I mathdoc
%U http://geodesic.mathdoc.fr/item/CSIS_2024_21_3_a6/
%F CSIS_2024_21_3_a6
Ðorđe Pešić; Milena Vujošević Janičić; Marko Mišić; Jelica Protić. A Novel Approach to Source Code Assembling in the Field of Algorithmic Complexity. Computer Science and Information Systems, Tome 21 (2024) no. 3. http://geodesic.mathdoc.fr/item/CSIS_2024_21_3_a6/