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 co...

Full description

Saved in:
Bibliographic Details
Published in2025 MIPRO 48th ICT and Electronics Convention pp. 473 - 478
Main Authors Bubas, Goran, Konecki, Mario
Format Conference Proceeding
LanguageEnglish
Published IEEE 02.06.2025
Subjects
Online AccessGet full text
DOI10.1109/MIPRO65660.2025.11132057

Cover

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.
AbstractList 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.
Author Konecki, Mario
Bubas, Goran
Author_xml – sequence: 1
  givenname: Goran
  surname: Bubas
  fullname: Bubas, Goran
  email: gbubas@foi.unizg.hr
  organization: University of Zagreb,Faculty of Organization and Informatics,Varaždin,Croatia
– sequence: 2
  givenname: Mario
  surname: Konecki
  fullname: Konecki, Mario
  email: mkonecki@foi.hr
  organization: University of Zagreb,Faculty of Organization and Informatics,Varaždin,Croatia
BookMark eNo1j8tOwzAURI0ECyj9Axb-gRQ7F9vxElU8KiU0qrKvbh07sZTYyAlC_XuCKJs5o7MYae7IdYjBEkI523DO9GO1qw97KaRkm5zlYpEccibUFVlrpQsALkBoxW_J4SOGrEnY-tnHgAOt7NzHdqIuJtpYNL0PHa3Piwy0TrFLOI6_6tvPPS0xdXbJ0H3hUqrY2mG6JzcOh8muL1yR5vWl2b5n5f5tt30uM69hzgCKU-GUUmCFAeOMaAGFdidnrJaYM8Qcc15gWxhw5kkUyiETUjMpoUUNK_LwN-uttcfP5EdM5-P_U_gB2RNPMw
ContentType Conference Proceeding
DBID 6IE
6IL
CBEJK
RIE
RIL
DOI 10.1109/MIPRO65660.2025.11132057
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP All) 1998-Present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Education
EISBN 9798331535971
9798331535964
EndPage 478
ExternalDocumentID 11132057
Genre orig-research
GroupedDBID 6IE
6IL
CBEJK
RIE
RIL
ID FETCH-LOGICAL-i93t-338b8f7773e5c3cfc5d3a59fbfce96a20aa2a218ad8c3fc4587fa05690663da93
IEDL.DBID RIE
IngestDate Wed Sep 10 07:40:47 EDT 2025
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-i93t-338b8f7773e5c3cfc5d3a59fbfce96a20aa2a218ad8c3fc4587fa05690663da93
PageCount 6
ParticipantIDs ieee_primary_11132057
PublicationCentury 2000
PublicationDate 2025-June-2
PublicationDateYYYYMMDD 2025-06-02
PublicationDate_xml – month: 06
  year: 2025
  text: 2025-June-2
  day: 02
PublicationDecade 2020
PublicationTitle 2025 MIPRO 48th ICT and Electronics Convention
PublicationTitleAbbrev MIPRO
PublicationYear 2025
Publisher IEEE
Publisher_xml – name: IEEE
Score 1.9138374
Snippet Large Language Models (LLMs), like those of the ChatGPT, Gemini, and Claude families, are increasingly being researched for their potential utilization in...
SourceID ieee
SourceType Publisher
StartPage 473
SubjectTerms Chatbots
Codes
Education
GPT-4o
instructional design
Large language models
programming education
Programming profession
Python
Software algorithms
Software engineering
Software reusability
teaching methods
Training
Title Non-Traditional Methods for Teaching Python Programming with Large Language Models
URI https://ieeexplore.ieee.org/document/11132057
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3PS8MwFA5uJ0_-mvibHLymi03aJGdxTHFzjAm7jSTNg6F24rqD_vUmaasoCF5KCCEtyeH73uv33ofQJRdAnb3iJM-NJRzAEMOoJp46gABwIFwUyI7z4SO_m2fzplg91sI456L4zCVhGP_lFyu7CamyfrRF9wSjgzpC5nWxVqvOoao_up1MHwI_oT7uS7OkXf7DOCXixmAHjds31nKRp2RTmcR-_GrG-O9P2kW97xI9PPkCnz205cr9YMHcyDUO0HS8KolHomJZZ_vwKHpFr7FnqXjWaCjx5D30Dgg7BZXWS5gKmVl8HwTi_lknM3FwTHte99BscDO7HpLGQIEsFauIjz6NBCEEc5llFmxWMJ0pMGCdynVKtU61h3hdSMvA8kwK0J4QqUBDCq3YIeqWq9IdISzTwvMoH9tRAC6tMpJLqh2XQD26GXaMeuFsFq91i4xFeywnf8yfou1wRVFzlZ6hbvW2cece3StzEW_1E9AUpp0
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3PS8MwFA46D3ry18Tf5uC1XWySNj2LY-pWx6iw20jSPBhqJ6476F9vkraKguClhEDSkhy-771-730IXbIEiNFXLIhjpQMGoAJFiQwsdYAEwEBivEA2iweP7G7Kp02xuq-FMcZ48ZkJ3dD_yy8WeuVSZT1vi24Jxjra4IwxXpdrtfockvZGt-PJg2MoxEZ-EQ_bBT-sUzxy9LdR1r6zFow8hatKhfrjVzvGf3_UDup-F-nh8Rf87KI1U-45E-ZGsLGPJtmiDCwWFfM634dH3i16iS1PxXmjosTjd9c9wO3kdFovbsrlZvHQScTts05nYueZ9rzsorx_k18PgsZCIZintAps_KkEJElCDddUg-YFlTwFBdqksYyIlJG0IC8LoSloxkUC0lKi1BGRQqb0AHXKRWkOERZRYZmUje4IABM6VYIJIg0TQCy-KXqEuu5sZq91k4xZeyzHf8xfoM1BPhrOhrfZ_QnactflFVjRKepUbytzZrG-Uuf-hj8BuSKp6g
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=2025+MIPRO+48th+ICT+and+Electronics+Convention&rft.atitle=Non-Traditional+Methods+for+Teaching+Python+Programming+with+Large+Language+Models&rft.au=Bubas%2C+Goran&rft.au=Konecki%2C+Mario&rft.date=2025-06-02&rft.pub=IEEE&rft.spage=473&rft.epage=478&rft_id=info:doi/10.1109%2FMIPRO65660.2025.11132057&rft.externalDocID=11132057