La Trobe

File(s) not publicly available

Teaching High School Students Artificial Intelligence by Programming Chatbots

posted on 2023-07-21, 06:43 authored by Jayanti Sharad NayakJayanti Sharad Nayak, Therese KeaneTherese Keane, Tanya Linden, Andreea Molnar
Conversational agents, commonly defined as chatbots, can be found in many places including live customer service chats, where customers communicate with a chatbot to resolve routine service issues. Children are also increasingly interacting with artificial intelligence (AI)-powered conversational devices such as Alexa and Siri. There has been phenomenal growth of chatbots in day-to-day activities. To prepare children for future careers, there have been calls to enhance the K-12 curriculum by teaching children how to program in the context of AI. The biggest advantage of bringing chatbot application development to the classroom is that it provides an authentic, real-world context and allows students to experiment with instructions as if they were talking to their friends. Artificial intelligence and chatbots are not new concepts; however, their popularity has gained traction in recent years. Using Python code snippets, this chapter looks at how chatbots can be used to teach students the foundations of programming concepts as mandated in the high school curriculum.


Publication Date


Book Title

Teaching Coding in K-12 Schools: Research and Application


Keane T Fluck AE



Place of publication

Cham, Switzerland




14p. (p. 263-276)



Rights Statement

© The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG 2023. This work is subject to copyright. All rights are solely and exclusively licensed by the Publisher.