
tational Thinking is one of the fundamental skill
of 21st century. Despite the abundance of avail-
able apps, researchers have identified a critical
need for developmentally appropriate applications
specifically designed to promote CT concepts and
coding skills in young learners.
2. The literature (Lye and Koh, 2014) emphasizes
three key dimensions of CT: computational con-
cepts, practices, and perspectives. This review
underscores the need for more targeted research
in K-12 settings and highlights the importance of
developing comprehensive instructional strategies
to effectively integrate CT across various educa-
tional contexts.
3. The literature (Fagerlund et al., 2021) reveals a
significant challenge in defining clear educational
objectives for CT at the primary level, with cur-
ricula across various countries focusing on related
but distinct areas such as computer science, com-
puting, programming, or digital literacy. This lack
of specificity extends to the concrete operational-
ization of CT teaching, learning, and assessment
methods, even when using popular programming
environments like Scratch.
2.5 Pedagogical Approaches: Chatbot
Case Study
1. A comprehensive study (Kim and Ko, 2017) an-
alyzing 30 diverse and widely-used online cod-
ing tutorials against dimensions derived from
learning sciences and education literature reveals
both strengths and weaknesses in their approach.
The research indicates that most tutorials share
commonalities in content coverage and employ
a bottom-up organizational structure, providing
goal-directed practice opportunities with immedi-
ate feedback. (Labadze et al., 2023) However, the
study highlights critical shortcomings, notably the
lack of personalization to learners’ prior coding
knowledge and insufficient guidance on knowl-
edge transfer and application.
2. The literature (Bers, 2019) highlights a signifi-
cant gap in pedagogical approaches specifically
tailored for teaching computer science to young
children. Traditional STEM-based instructional
methods, originally designed for older students,
are often inadequate for early childhood educa-
tion. (Peteranetz et al., 2018) Researchers have
come up with creative solutions to this prob-
lem, like ”Coding as Another Language” (CAL),
which views coding as a new symbolic repre-
sentation system for expressive and communica-
tive purposes. This method, which is based
on principles of language and literacy education,
stresses play, exploration, socialization, and cre-
ativity while acknowledging the distinct devel-
opmental phases of young children. The lit-
erature also introduces the concept of six cod-
ing stages or learning trajectories that children
progress through when exposed to CAL curricu-
lum. Case studies utilizing tools like the KIBO
robot and ScratchJr app have been conducted
to characterize these stages and demonstrate the
practical application of CAL instructional prac-
tices.
3. Study in (Scott et al., 2007) have identified several
key issues that contribute to student demotivation,
including difficulties with programming language
syntax and semantics, underdeveloped problem-
solving and program design skills, and the com-
plexity of development environments. (Popat and
Starkey, 2019) In response to these challenges,
researchers have explored various approaches to
support novice programmers. One such inno-
vative approach involves the use of interactive,
visual problem-solving tools. This paper con-
tributes to this body of research by proposing an
interactive flowchart-based tool that not only aids
in visual problem-solving but also generates syn-
tactically correct program code. The literature
emphasizes the importance of visual representa-
tions in enhancing student understanding, and this
tool builds on that principle by providing ani-
mation features and establishing a clear connec-
tion between visual solutions and code represen-
tations.
3 PROPOSED METHODOLOGY
To address the challenges of teaching programming
through chatbots, we propose SCRIPT-SAGE, an AI-
driven chatbot designed to facilitate coding education.
SCRIPT-SAGE offers an integrated platform where
students can engage in interactive coding lessons, re-
ceive real-time feedback, and improve their coding
skills in a supportive environment. By leveraging AI,
SCRIPT-SAGE aims to enhance the learning experi-
ence by providing personalized assistance, answering
questions, and guiding learners through programming
concepts and practical exercises.
3.1 System Architecture
SCRIPT-SAGE is structured to provide comprehen-
sive experience to the users. Layered architecture in
SCRIPT-SAGE: An AI Chatbot That Helps You Learn Programming
303