<!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>B2A, A Straight-Through Approach from Basics to Advanced Level: Case Study for Python Course⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Abbasi Shazmeen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pavle Dakić</string-name>
          <email>pavle.dakic@stuba.sk</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alwahab Dhulfiqar Zoltan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Programming Languages and Compilers, Faculty of Informatics, Eötvös Loránd University</institution>
          ,
          <addr-line>1/C Pázmány Péter st., Budapest, H-1117</addr-line>
          ,
          <country country="HU">Hungary</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Faculty of Informatics and Computing, Singidunum University</institution>
          ,
          <addr-line>Danijelova 32, Belgrade</addr-line>
          ,
          <country country="RS">Serbia</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Institute of Informatics, Information Systems and Software Engineering, Faculty of Informatics and Information Technologies, Slovak University of Technology in Bratislava</institution>
          ,
          <addr-line>Ilkovičova 2, 842 16 Bratislava</addr-line>
          ,
          <country country="SK">Slovakia</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>SQAMIA 2024: Workshop on Software Quality</institution>
          ,
          <addr-line>Analysis, Monitoring, Improvement, and Applications</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this study, we present a straightforward teaching strategy for teaching the Python programming language. Our method emphasizes a clear progression from fundamental to sophisticated concepts. Beginning with a thorough explanation of core Python ideas, we show a beginner-level script that dissects each line of code and displays the results. One distinguishing feature of our system is that students use ChatGPT to optimize code, which encourages them to improve the core program with fewer lines. After getting the updated solutions, students carefully compare the original and optimized programs to discover improvements and potential flaws. This study underlines the efectiveness of the Straight-Through Approach, which focuses on improving Python understanding while also developing critical thinking and code optimization skills. Our findings show that this strategy is a simple and efective way for teachers to assist students in growing from basic to advanced Python abilities, resulting in a dynamic and successful learning environment. The proposed technique will teach students how to use AI-driven modules correctly, such as ChatGPT.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Python Programming Language</kwd>
        <kwd>Teaching Method</kwd>
        <kwd>Knowledge management</kwd>
        <kwd>Code Optimization</kwd>
        <kwd>ChatGPT Integration</kwd>
        <kwd>LLMs Testing System</kwd>
        <kwd>Critical Thinking Skills</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In the ever-changing landscape of education, technology is crucial in transforming traditional methods
and uncovering new opportunities for improving learning [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. Recent studies emphasize the
transformative potential found within the intricate balance between teaching methods and tech advances.
      </p>
      <p>
        During this transformative journey, the field of education faces a powerful force called artificial
intelligence (AI). AI quietly infiltrates educational strategies beyond its traditional ties to complex
algorithms and machine learning. Integrating it holds potential for customized learning, smart
tutoring programs, and flexible evaluations [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ]. This article explores the diverse functions of artificial
intelligence without explicitly mentioning it, seeking to uncover its hidden benefits in educational
innovation. Furthermore, the intersection of teaching programming and AI creates a field ready for
further investigation. One of the most significant parts is the knowledge management and processes,
which requires an applied software approach based on real-world examples from practice [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        Incorporating AI into coding practices ofers educators a dynamic learning experience as they navigate
evolving pedagogical demands. This method helps develop programming skills and promotes critical
thinking and problem-solving. Recent research demonstrates how efective AI-driven methods are in
helping with code optimization, debugging, and providing personalized feedback [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ].
      </p>
      <p>The main challenge with this style of learning is that students must have a certain level of knowledge
and experience with any programming language in order to ask specific questions to ChatGPT. Students
had great experiences as a result of structured lessons, and they recognized the need of asking explicit
questions that might potentially lead to improved results and code that answers the required problem.
During our research, we used the Straight-Through Approach from Basics to Advanced (B2A) technique
to assess students’ knowledge and logical thinking.</p>
      <p>This paper explores the intricate links between instructional methods, technological progress, and the
various uses of AI in programming education, going beyond direct AI discussions. Our goal is to enhance
the conversation on creative teaching methods by combining ideas from diferent academic sources,
highlighting the importance of understanding the hidden benefits of AI in education and its impact
on writing programs. Through this examination, we aim to ofer a thorough grasp of the changing
environment where education, programming, and technology come together. From another perspective,
this technique will demonstrate to students the correct use of AI-driven modules. Consequently, students
will also be able to independently learn other programming languages such as Java, C++, and more.</p>
      <p>The work is organized as follows: material and methods, literature review, instructor-led teaching,
results, discussion and conclusions.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Material and methods</title>
      <p>We defined our investigation with a questionnaire that contained ten questions. The students responded,
and we collected the results before analyzing the dataset using statistical methods, which led to the
B2A method’s conclusions. The dataset was developed based on the answers provided by the students,
allowing us to better define the dificulty of the tasks that should be completed inside our research
and classroom. We used a systematic technique approach dubbed A Straight-Through Approach from
Basics to Advanced Level - B2A to maximize the educational benefits of ChatGPT for teaching Python
programming. The method has five critical points:
1. Instructor-Led Teaching
2. Task to Code Optimization
3. Creating Student Reports
4. Examination of Diferences
5. Sending and Assessment</p>
    </sec>
    <sec id="sec-3">
      <title>3. Literature Review</title>
      <p>All of the above key points are explained in more detail in the sections that follow.
To gain a better understanding of the process of designing tools for learning Python with ChatGPT
alongside related technologies, relevant works dealing with the challenges of learning and transferring
knowledge to users were reviewed. By merging these authoritative sources, our study adds to the current
body of knowledge in the field, ofering a solid foundation and adding to the academic conversation on
teaching programming languages.</p>
      <p>
        The application of ChatGPT in various fields has garnered significant interest in recent years. Authors
Zhang et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] conducted a study to investigate the efectiveness of applying ChatGPT in dialogic
teaching using electroencephalography. The study included undergraduate students who were placed
into two groups: one interacting with ChatGPT and one that dealt with human teachers. While
both groups performed similarly on retention tests, the group that engaged with ChatGPT performed
worse on transfer tests. The study concluded that ChatGPT could assist students build a knowledge
foundation and boost cognitive activity, but its ability to promote knowledge application and creativity
was restricted. The findings show that combining ChatGPT along with conventional human teachers
may be a more efective way to improve teaching quality.
      </p>
      <p>
        This needs data integration across industries using CI/CD, dynamic microservices, and containers
to facilitate knowledge transfer across a wide range of instruments. This includes data collection
for kinetics experiments, parameter fitting and estimate, model construction, evaluation, and cluster
validation [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Authors Badenhorst et. al. [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] present a workflow for completing this assignment that
makes use of the Python computer language, notably the SciPy stack modules.
      </p>
      <p>
        In contrast to other emerging studies that assess the accuracy of LLMs like ChatGPT on tasks from a
selected area Górecki [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] investigate ways how to achieve a successful solution of a standard statistical
task in a collaboration of a human-expert and artificial intelligence (AI). Through careful prompt
engineering, Also, Górecki [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] covered how to separate successful solutions generated by ChatGPT
from unsuccessful ones, resulting in a comprehensive list of related pros and cons.
      </p>
      <p>Interest in natural language processing, specifically large language models, for clinical applications
has exploded in a matter of several months since the introduction of ChatGPT. From the study of authors
Gabriel et. al. [12] we can see that is important that understand the strengths and limitations of the
rapidly evolving technology.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Instructor-Led Teaching</title>
      <p>In circumstances where Instructor-Led Teaching is used, the Python programming language is taught
using a basic teaching technique. As a result, the professor is able to establish and initiate communication
with students. The teacher initiates the lesson by explaining a particular Python subject (like, list , tuple,
set. class variable, instance variable, etc), clarifying ideas, and enhancing understanding of the core
elements of the language.</p>
      <p>After discussing, the teacher displays a Python program written in a typical, straightforward format,
frequently split across multiple lines. This method indicates that a significant contribution to software
engineering has been achieved by inventing a novel learning approach that uses previously unknown
software capabilities. Specifically, by asking questions to the trained model contained in the current
version of ChatGPT, the student can receive precise advice as well as the option to partially or completely
complete the prescribed tasks. Through the aforementioned, everyone participates together in the
creation and improvement of the teaching process.</p>
      <p>The method consists of following key points:
1. Task to Code Optimization: students are assigned the job of utilizing ChatGPT to restructure the
code that was initially shown. Their goal is to refine the code, making it more professional and
concise by harnessing ChatGPT’s features to improve the structure and decrease the line count.
2. Creating Student Reports: after finishing the re-factoring (optimization) job, students focus on
understanding the optimized code version. Students must then create a comprehensive report
explaining their comprehension of the optimized code. This report provides information on the
modifications, the reasons for them, and the dificulties faced while restructuring.
3. Examination of Diferences: students enhance their understanding by comparing the original code
with the re-factored version using ChatGPT. This evaluation includes recognizing enhancements,
streamlining, and possible compromises brought by ChatGPT, promoting a detailed
comprehension of the optimization procedure.
4. Sending and Assessment: the last stage is when students hand in their reports, which represent
their understanding of the optimized code, to the instructor for assessment. The teacher evaluates
both the technical accuracy of the revised code and the level of comprehension shown in the
student reports, ofering helpful feedback to improve learning.
4.1. Teachers Can Discuss Student Submissions Aloud
The teacher evaluates both the technical accuracy of the optimized code and the level of comprehension
shown in the student reports, giving helpful feedback to improve the learning experience. With this
practical approach, our goal is to demonstrate the eficiency of the Straight-Through method, in which
ChatGPT acts as a useful instrument in fast-tracking students’ advancement from beginner to expert
stages in Python coding. Figure 1, displays the 6 steps that were mentioned.</p>
      <p>A Straight-Through Approach from Basics to Advanced Level - B2A
1</p>
      <p>Instructor
which teaches
the Python
programming
language
5
Students present
their findings to
the instructor</p>
      <p>explains a
Python program
in a basic level
6
Instructor may</p>
      <p>request
explanations
from the students</p>
      <p>regarding the
submitted report</p>
      <p>4
Students are tasked with
creating a technical report
comparing the original and</p>
      <p>the ChatGPT-optimized
Python scripts, analyzing how
ChatGPT achieved a reduction</p>
      <p>in code length while
maintaining identical output.</p>
      <p>2</p>
      <p>Students are
instructed to
copy the code
3</p>
      <p>Students are instructed to
paste the code into ChatGPT
and solicit a
professional</p>
      <p>level rephrasing that
minimizes the code length.</p>
      <p>They must verify that the
output remains unchanged.</p>
      <p>The entire process can be explained in more detail in the following 6 steps:
1. The instructor explains a Python program written in a basic level, and shows the output to them
2. Students are instructed to paste the code into ChatGPT and solicit a professional-level rephrasing
that minimizes the code length. They must verify that the output remains unchanged.
3. Using Python script which is on advanced level.
4. Students are tasked with creating a technical report comparing the original and the
ChatGPToptimized Python scripts, analyzing how ChatGPT achieved a reduction in code length while
maintaining identical output.
5. Students present their findings to the instructor, elucidating the conclusions drawn from their
analysis of the Python scripts before and after ChatGPT’s optimization.
6. Instructor may request explanations from the students regarding the submitted report.</p>
      <p>All these steps are linked together, demonstrating the progression from educational material in its
original form to finalized multiple-choice questions, with the utilization of sophisticated NLP methods
and tools in a Python programming environment.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Results</title>
      <p>Based on the previously reviewed literature review and starting points, within this section we present
the achieved results. Using a case study, we attempt to highlight the potential of direct AI application
for the learning needs of Python programming language.
5.1. Case Study: Improving Code Optimization in Python Instruction with the Help
of ChatGPT
In this part, we ofer a detailed case study demonstrating the use of our teaching method, B2A
emphasizing the integration of ChatGPT for enhancing (optimizing) Python code in teaching. The case study
progresses using a methodical approach, showing how it improves the student learning experience.
This case study done on diferent groups with diferent languages (English, Hungarian, Slovenian, and
Slovakian)</p>
      <p>For applied Methodology we have used the six steps of the B2A method were applied to students in
the Python course1, using the course as a pilot for the method. The method was delivered according to
the following six steps.</p>
      <sec id="sec-5-1">
        <title>5.1.1. Instructor-Led Teaching</title>
        <p>The instructor starts by teaching certain Python subjects (In this context we use the List subject),
ofering clear explanations of basic principles. Students are introduced to a standard Python program,
which serves as a fundamental code for optimization. Students are taught a fundamental List program
to identify the biggest number out of three inputs. The code provided in figure Listing 1 acts as the
initial step for future optimization projects.</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.1.2. ChatGPT Optimizing Task</title>
        <p>Students utilize ChatGPT to restructure the given code, striving for a more polished and optimized
version. The updated code, produced by ChatGPT. Code listing 2 shows the optimized version of the
list code showed in code listing 1.</p>
        <p>Listing 1: Python program shows the basic use of list. Source: author’s contribution.
⊵
# Assume the first number is the largest initially
largest_number = number1
1 "" # Input three numbers from the user
2 number1 = int(input("Enter the first number: "))
3 number2 = int(input("Enter the second number: "))
4 number3 = int(input("Enter the third number: "))
5
6
7
8
9 # Compare with the second number
10 if number2 &gt; largest_number:
11 largest_number = number2
12
13 # Compare with the third number
14 if number3 &gt; largest_number:
15 largest_number = number3
16
17 # Print the largest number
18 print("The largest number is:", largest_number)</p>
        <p>Within the displayed code in listing 1, students can try to use the if function through a short example.
The given code example analyzes the entered values and shows which is the largest number.</p>
        <p>Listing 2: Optimized code for the program shown in the Listing 1. Source: author’s contribution.
⊵
# Print the largest number from the list using the max() function
print("The largest number is:", max(numbers))</p>
      </sec>
      <sec id="sec-5-3">
        <title>5.1.3. Creating student reports</title>
        <p>Students are tasked with exploring optimized code and producing a comprehensive report. This report
should detail the modifications made, the rationale behind them, and the challenges encountered during
refactoring. In this exercise, students will observe that ChatGPT employs list comprehension—an
advanced Python technique—to optimize the code. Consequently, students should learn about list
comprehension, gather examples, and prepare questions for the next class. This preparation will enable
the instructor to address their questions and discuss list comprehension more efectively during the
lessons.</p>
      </sec>
      <sec id="sec-5-4">
        <title>5.1.4. Comparison Analysis</title>
        <p>Students compare the original code with the ChatGPT-optimized code, identifying enhancements,
optimizations, and potential trade-ofs. This exercise fosters a deeper understanding of the optimization
process. Students should consolidate their findings, ideas, and questions into a report for evaluation by
their teachers.</p>
      </sec>
      <sec id="sec-5-5">
        <title>5.1.5. Sending and Assessing</title>
        <p>Students submit their reports to the teacher for assessment. The evaluation includes checking the
accuracy of the revised code and the depth of understanding demonstrated in the students’ evaluations.
Constructive feedback is provided to enhance the learning experience. Additionally, teachers can orally
question students about list comprehension to gauge their understanding of the topic.
5.1.6. Assisting in providing verbal feedback on student submissions
In this case, the teacher can assess the report that was turned in and interact with the students. ChatGPT
used list comprehension to shorten the list. Students have not previously been taught the advanced
Python technique of list comprehension in basic code. Through this method, positive students’ and
teacher experiences in the learning process are obtained with the possibility of continuous improvement
of the learning process. In this situation, ChatGPT used list comprehension to make the management
of lists more eficient. List comprehension is a sophisticated functionality in Python that enables the
succinct and efective generation, modification, and traversal of lists. ChatGPT eficiently decreased the
complexity of list operations by utilizing list comprehension, showcasing advanced skills in Python
programming. At this level, teachers can say during the lesson: “Let’s explore further the idea of list
comprehension and how it can be used in Python programming”.</p>
        <p>The results of the case study show that the B2A approach is efective in using ChatGPT to accelerate
students’ transition from basic to advanced Python programming. By continuously improving code,
students develop coding skills and understand the importance of eficiency and professionalism. Using
ChatGPT in programming education greatly supports the course’s pedagogical objectives. In this
case study, we highlight the educational advantages of incorporating ChatGPT into Python teaching,
especially when focusing on improving code eficiency. The method enables students to smoothly
transition and achieve a comprehensive and enduring level of expertise in Python programming. The
research adds to the discussion on creative teaching methods, highlighting the hidden benefits of
AI-powered tools in the realm of programming learning.
5.2. Planning and Design of Slides for Python Course
When developing the Python course content, we focused on designing instructional slides to enhance
student learning and engagement. Figure 2 provides an example of this design approach. Each slide in
the course is systematically structured to improve comprehension and practical application of Python
programming concepts. As illustrated in Figure 2, a sample slide is divided into four clear sections.</p>
        <p>Python lab</p>
        <p>Example Monday 2024-03-11</p>
        <sec id="sec-5-5-1">
          <title>Program</title>
        </sec>
        <sec id="sec-5-5-2">
          <title>Objectives:</title>
        </sec>
        <sec id="sec-5-5-3">
          <title>Scenario :</title>
          <p>What to do:
1
2
3
.
.
n
#Python code
Import math
.
.
.
.
..
.
‘’’</p>
        </sec>
        <sec id="sec-5-5-4">
          <title>Output of the code ‘’’ 100.000004</title>
        </sec>
      </sec>
      <sec id="sec-5-6">
        <title>5.2.1. Goals and Scenarios</title>
        <p>The initial section, placed in the far left block, describes the goals for the Python task to be completed.
Underneath the goals, a scenario gives context to the programming assignment, giving students a
practical way to grasp its relevance in the real world. Right below the given scenario, the task that needs
to be completed is clearly outlined. This brief explanation of the assignment helps students understand
the main goal and get ready for the coding task.
5.3. Coding Implementation
The main focus of the slide is showcasing the code related to the assignment. The code is deliberately
written in a simple layout to make it easier for instructors to provide detailed explanations during the
course. This method promotes engagement and understanding among students by paying attention to
the instructor’s explanation of the code logic.
5.4. Output of the simple code
The third section of the slide is dedicated to displaying the output of simple code. This allows students
to compare this output with that of the optimized code, ensuring both outputs are precisely the same.
This comparison is crucial for students to understand the efectiveness of the optimizations made.
5.5. Enhanced Code and Student Feedback
Found in the top right and bottom right sections, these parts ofer chances for students to get involved
and think critically. Students have been assigned the responsibility of enhancing the given code by
using the features of ChatGPT, a cutting-edge language model. The enhanced code is then positioned
in the top right section, enabling students to analyse their answers against the original implementation.
Afterwards, students are encouraged to share their thoughts and insights on the improved code in the
bottom right section, promoting a greater grasp of coding standards and algorithmic efectiveness.</p>
        <p>We hope that organizing our slides in this way will help students fully understand Python
programming concepts and improve their ability to write eficient and elegant code in an engaging and
interactive learning environment. Additionally, this approach encourages interactivity by allowing
students to write on their slides and add notes, which can aid in retention when they prepare for exams.
5.6. Application of Methodology on Hungarian, Slovakian, Slovenian and English</p>
        <p>Groups
We applied the approach to four diferent separate groups: The groups were asked the same questions
in a survey conducted via Google Sheets. Table 1 summarizes the objective of each question. The survey
questions aimed to assess the students’ reactions to this teaching style. The overall results indicate that
the B2A approach is well-received by the students and can be efectively applied across all groups as a
ChatGPT-based teaching style for Python language and other programming languages.
5.7. Including Examining system based on LLM
Large Language Models (LLMs) [13] are planned to be utilized to generate random questions from
provided PDF lectures. This approach aims to automate the examination system, eliminating the need for
teachers to handle question generation and corrections. LLMs will randomly assign diferent
multiplechoice questions (MCQs) to students. The testing system is based on the virtualization methods [14].</p>
        <p>The implementation of this system is currently underway. Figure 3 illustrates the architecture of
the system. Starting process is with creating multiple-choice questions through the implementation
of text embeddings and tokens in Python environments is made possible with OpenAI technology.
Important resources include Jupyter notebooks, Hugging Face libraries, and OpenAI’s API. Typically,
the procedure involves examining text data (like Python lectures or PDFs), creating embeddings to
grasp the context, and creating questions from that understanding. To reduce the delay and enhance
security, we plan to host the testing system using the concept of edge computing [15] [16]</p>
        <p>As with any new technology there are certain upsides or risks to the validity and accuracy of the
results obtained by ChatGPT. Which therefore requires a manual check by an expert in the field that
one is trying to learn or apply in a practical sense. Because of this, the model within ChatGPT requires
manual learning or supervised learning, which in a later connection can produce results with a higher
percentage of accuracy.</p>
        <p>1
3
7</p>
        <p>Python
lectures
Instructor
which teaches
the Python
programming
language
Student
that wants to
learn the Python
programming
language</p>
        <p>Send data</p>
        <p>Write
Send &amp;
Receive
2
4
6</p>
        <p>MCQ Creator using OpenAI</p>
        <p>Read and process the pdf files
+
+
Generate MCQ questions</p>
        <p>+
Receive MCQ questions</p>
        <p>Hugging Face
4.1</p>
        <p>Text
Embeddings
(Tokens)</p>
        <p>Shown and suggested use on Figure 3 can be explained in more detail with the following steps:
1. Input (PDF/Python Lectures):
2. Displaying the source materials being inputted into the system.
3. Processing (Text Extraction, Pre-processing):
4. The stages in which text is extracted and primed for analysis.
5. Embedding Generation (Open AI, Hugging Face):
6. Illustrating the conversion of text into embeddings.
7. Question Generation:
8. Focusing on creating multiple-choice questions using embeddings.</p>
        <p>9. Output (Questions for Python Students):
10. Finalizing the set of questions for Python students.</p>
        <p>All these steps are linked together, demonstrating the progression from educational material in its
original form to finalized multiple-choice questions, with the utilization of sophisticated NLP methods
and tools in a Python programming environment. Where students beginners can refine their search
queries and become more adept at formulating the questions they ask ChatGPT with more trial and
error.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Discussion</title>
      <p>Engaging students more actively in the educational process is critical to improving their learning
experience and academic success with programming languages. Incorporating interactive and dynamic
teaching approaches can help create a more stimulating and participatory environment. One useful
method is to prepare small activities and demonstrations of up to 30 minutes. This strategy has multiple
benefits and can be used in various ways to increase student involvement. To expand on the early success
of these tactics with discussion, it would be useful to investigate how peer teaching and collaborative
projects may be scaled in bigger classroom settings. The dynamics of student interaction with the
discussion aspect can considerably boost the final results in the development of soft skills in such
situations, providing vital insights into learners’ overall growth.</p>
      <p>Shorter assignments assist students to keep their attention and avoid cognitive overload, resulting in
improved focus and recall of material from videos or in class. Interactive demos inspire students to
participate actively, which enhances their learning and fosters critical thinking skills. Short assignments
also allow them to receive fast feedback from teachers, which helps students correct mistakes and
reinforces learning in real time. The variety of these exercises accommodates diferent learning types,
keeping the classroom lively and reducing boredom or lack of enthusiasm. We believe that shorter
activities and interactive demonstrations of up to 30 minutes can help students engage in the educational
process substantially more efectively.</p>
      <p>Students can also explore optimized code and produce a comprehensive report detailing modifications,
rationales, and challenges encountered. This task helps them observe advanced techniques like list
comprehension in Python, enhancing their coding skills and analytical thinking. These approaches
cater to various learning styles, making education more dynamic. Continuous assessment and feedback
ensure these methods meet students’ evolving needs, creating a more engaging and efective educational
environment.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Conclusions</title>
      <p>In conclusion, integrating ChatGPT into teaching via the B2A method simplifies the learning trajectory,
eliminating the need for distinct basic, intermediate, and advanced levels. B2A encourages student
engagement and self-learning while ensuring safe use of ChatGPT. Teachers find instruction more
accessible with B2A, and can interact with students easily. LLMs facilitate testing by generating
randomized questions.</p>
      <p>B2A has garnered positive feedback from students across various international groups, as indicated
by survey results. This approach, initially applied to a Python course, has broader applicability and can
be extended to other programming languages such as Java, C++, etc., if lectures and labs are designed
to suit the B2A approach.</p>
      <p>To enhance the learning experience, students can be tasked with investigating optimized code and
writing a full report outlining improvements, rationales, and issues encountered. This work allows
pupils to observe sophisticated techniques such as list comprehension in Python, which improves their
coding skills and analytical thinking. These approaches make learning more dynamic and accommodate
a variety of learning styles. Continuous assessment and feedback guarantee that these strategies suit
students’ changing requirements, resulting in a more interesting and efective learning environment.
The incorporation of shorter activities and interactive demonstrations into the educational process
opens up various intriguing options for further investigation. Future research could look into the
long-term efects of these approaches on the retention of students and comprehension. Furthermore,
studies might look into how diferent topics or fields benefit diferently from these approaches.</p>
      <p>Another area of concern is how technology might facilitate these interactive ways. Research could look
into the usefulness of diferent educational apps and simulations in improving student engagement and
learning results. Furthermore, the efect of immediate feedback on student performance and motivation
needs further examination. Future work will involve enhancing the testing system, integrating it with
Canvas, refining LLMs for reliability, and comparing multiple LLM modules to optimize the testing
process.</p>
    </sec>
    <sec id="sec-8">
      <title>Acknowledgments</title>
      <p>The work of Pavle Dakić was supported with access to Erasmus+ ICM 2023 No.
2023-1-SK01-KA171HED-000148295, the Cultural and Educational Grant Agency of Slovak Republic (KEGA) Model-based
explication support for personalized education (Podpora personalizovaného vzdelávania explikovaná
modelom) - KEGA (014STU-4/2024), Scientific Grant Agency of Slovak Republic (VEGA) under grant
No. VG 1/0675/24, National project “Increasing Slovakia’s resilience to hybrid threats by strengthening
public administration capacities”, project code ITMS2014+:314011CDW7 and supported by the European
Social Fund, finally co-funded by the European Regional Development Fund (ERDF) and the Operational
Program Integrated Infrastructure for the project: National infrastructure for supporting technology
transfer in Slovakia II – NITT SK II, co-financed by the European Regional Development Fund.
[12] R. A. Gabriel, E. R. Mariano, J. McAuley, C. L. Wu, How large language models can augment
perioperative medicine: a daring discourse, Regional Anesthesia &amp; Pain Medicine 48 (2023)
575–577. doi:10.1136/rapm-2023-104637.
[13] S. Fakhoury, A. Naik, G. Sakkas, S. Chakraborty, S. K. Lahiri, Llm-based test-driven interactive
code generation: User study and empirical evaluation, arXiv preprint arXiv:2404.10100 (2024).
[14] F. Eyvazov, T. E. Ali, F. I. Ali, A. D. Zoltan, Beyond containers: Orchestrating microservices with
minikube, kubernetes, docker, and compose for seamless deployment and scalability, in: 2024
11th International Conference on Reliability, Infocom Technologies and Optimization (Trends and
Future Directions)(ICRITO), IEEE, 2024, pp. 1–6.
[15] A. Dhulfiqar, M. A. Abdala, N. Pataki, M. Tejfel, Deploying a web service application on the edgex
open edge server: An evaluation of its viability for iot services, Procedia Computer Science 235
(2024) 852–862.
[16] A. Dhulfiqar, N. Pataki, M. Tejfel, Chatbot-based querying of iot devices in edgex, Proceedings
http://ceur-ws. org ISSN 1613 (2023) 0073.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P.</given-names>
            <surname>Dakić</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Lojaničić</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Issa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bogavac</surname>
          </string-name>
          , Choosing, creating and developing managers,
          <source>Oditor</source>
          <volume>7</volume>
          (
          <year>2021</year>
          )
          <fpage>105</fpage>
          -
          <lpage>134</lpage>
          . doi:
          <volume>10</volume>
          .5937/oditor2103105d.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H.</given-names>
            <surname>Pallathadka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. K.</given-names>
            <surname>Pallathadka</surname>
          </string-name>
          , T. B.
          <string-name>
            <surname>Devi</surname>
            ,
            <given-names>T. K.</given-names>
          </string-name>
          <string-name>
            <surname>Devi</surname>
            ,
            <given-names>S. K.</given-names>
          </string-name>
          <string-name>
            <surname>Singh</surname>
          </string-name>
          ,
          <article-title>21st century approach to technology driven education-an empirical study</article-title>
          ,
          <source>Int. J. of Aquatic Science</source>
          <volume>12</volume>
          (
          <year>2021</year>
          )
          <fpage>5471</fpage>
          -
          <lpage>5477</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lu</surname>
          </string-name>
          ,
          <article-title>An introduction to artificial intelligence in education</article-title>
          , Springer,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>N.</given-names>
            <surname>Hroncova</surname>
          </string-name>
          , P. Dakić,
          <article-title>Research study on the use of CI/CD among slovak students</article-title>
          ,
          <source>in: 2022 12th International Conference on Advanced Computer Information Technologies (ACIT)</source>
          , IEEE,
          <year>2022</year>
          . doi:
          <volume>10</volume>
          .1109/acit54803.
          <year>2022</year>
          .
          <volume>9913113</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P.</given-names>
            <surname>Dakić</surname>
          </string-name>
          ,
          <article-title>Importance of knowledge management for CI/CD and</article-title>
          Security in Autonomous Vehicles Systems,
          <year>2024</year>
          . URL: https://jita-au.com/index.php/
          <year>2024</year>
          /06/13/ importance-of
          <article-title>-knowledge-management-for-ci-cd-and-security-in-autonomous-vehicles-systems/.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>T.</given-names>
            <surname>Golis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Dakić</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Vranić</surname>
          </string-name>
          ,
          <article-title>Automatic deployment to kubernetes cluster by applying a new learning tool and learning processes</article-title>
          ,
          <source>in: SQAMIA 2023 Software Quality Analysis, Monitoring, Improvement, and Applications</source>
          ,
          <year>2023</year>
          . URL: https://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>3588</volume>
          /p16.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>D.</given-names>
            <surname>Cambaz</surname>
          </string-name>
          ,
          <string-name>
            <surname>X. Zhang,</surname>
          </string-name>
          <article-title>Use of ai-driven code generation models in teaching and learning programming: a systematic literature review</article-title>
          ,
          <source>in: Proceedings of the 55th ACM Technical Symposium on Computer Science Education V. 1</source>
          ,
          <issue>2024</issue>
          , pp.
          <fpage>172</fpage>
          -
          <lpage>178</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , Y. Liu,
          <string-name>
            <given-names>W.</given-names>
            <surname>Cai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Peng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Qi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Long</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Ge</surname>
          </string-name>
          ,
          <article-title>Investigation of the efectiveness of applying chatgpt in dialogic teaching using electroencephalography</article-title>
          ,
          <year>2024</year>
          . doi:
          <volume>10</volume>
          .48550/ ARXIV.2403.16687.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>P.</given-names>
            <surname>Dakić</surname>
          </string-name>
          ,
          <article-title>Software compliance in various industries using ci/cd, dynamic microservices, and containers</article-title>
          ,
          <source>Open Computer Science</source>
          <volume>14</volume>
          (
          <year>2024</year>
          ). doi:
          <volume>10</volume>
          .1515/comp-2024-0013.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M.</given-names>
            <surname>Badenhorst</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. J.</given-names>
            <surname>Barry</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. J.</given-names>
            <surname>Swanepoel</surname>
          </string-name>
          , C. T. van Staden,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wissing</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Rohwer</surname>
          </string-name>
          ,
          <article-title>Workflow for data analysis in experimental and computational systems biology: Using python as 'glue'</article-title>
          ,
          <source>Processes</source>
          <volume>7</volume>
          (
          <year>2019</year>
          )
          <article-title>460</article-title>
          . doi:
          <volume>10</volume>
          .3390/pr7070460.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>J.</given-names>
            <surname>Górecki</surname>
          </string-name>
          ,
          <article-title>Pair programming with large language models for sampling and</article-title>
          estimation of copulas,
          <year>2023</year>
          . doi:
          <volume>10</volume>
          .48550/ARXIV.2303.18116.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>