Non-Traditional Methods for Teaching Python Programming with Large Language Models

Large Language Models (LLMs), like those of the ChatGPT, Gemini, and Claude families, are increasingly being researched for their potential utilization in programming education. Traditional methods for developing programming skills in computer science (CS) and software engineering (SE) university courses may include lectures, exercises in computer laboratory, assignments and/or projects, data structures and algorithms teaching, software reuse, code reviews, and debugging sessions. The interactive use of LLMs to supplement traditional methods for novice learners can employ nontraditional instructional strategies frequently used in social science courses. In this paper, alternative methods for teaching Python programming with LLMs are presented, including positive and negative examples, storytelling, role-playing scenarios, quizzes, LLM mentorship, Socratic dialogue, rolereversal (“teach the LLM”), “write a manual” assignments, etc. Some CS or SE students lack the opportunity to work in pairs or study groups/teams when learning programming and LLMs can compensate for such instances.

Authors

Institutions

Publication Details

Published
2025-06-02
DOI
https://doi.org/10.1109/mipro65660.2025.11132057
Primary Topic
Computational Physics and Python Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Non-Traditional Methods for Teaching Python Programming with Large Language Models

Goran Bubaš, Mario Konecki
Computational Physics and Python Applications
article

Non-Traditional Methods for Teaching Python Programming with Large Language Models

Goran Bubaš, Mario Konecki
article en

Abstract

Large Language Models (LLMs), like those of the ChatGPT, Gemini, and Claude families, are increasingly being researched for their potential utilization in programming education. Traditional methods for developing programming skills in computer science (CS) and software engineering (SE) university courses may include lectures, exercises in computer laboratory, assignments and/or projects, data structures and algorithms teaching, software reuse, code reviews, and debugging sessions. The interactive use of LLMs to supplement traditional methods for novice learners can employ nontraditional instructional strategies frequently used in social science courses. In this paper, alternative methods for teaching Python programming with LLMs are presented, including positive and negative examples, storytelling, role-playing scenarios, quizzes, LLM mentorship, Socratic dialogue, rolereversal (“teach the LLM”), “write a manual” assignments, etc. Some CS or SE students lack the opportunity to work in pairs or study groups/teams when learning programming and LLMs can compensate for such instances.

University of Zagreb (HR)
Openalex Percentile: Top 88%
Computational Physics and Python Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.