We present a possible applications of generative AI to support a Computational Thinking approach to learn programming principles with a particular focus on problem decomposition. Our approach is based on a visual tool that guides students in decomposing a problem in smaller task, prompting ChatGPT on demand via predefined queries designed via a preliminary prompt engineering experimental phase. The tool also provides the possibility of prompting ChatGPT to generate code in a bottom-up manner, reusing functions generated in previous steps. We illustrate here the main ideas with the help of a case-study.
Toward the use of Generative AI to develop Computational Thinking by supporting Problem Decomposition
Ponzini, Davide;Adorni, Giovanni;Delzanno, Giorgio;Guerrini, Giovanna
2024-01-01
Abstract
We present a possible applications of generative AI to support a Computational Thinking approach to learn programming principles with a particular focus on problem decomposition. Our approach is based on a visual tool that guides students in decomposing a problem in smaller task, prompting ChatGPT on demand via predefined queries designed via a preliminary prompt engineering experimental phase. The tool also provides the possibility of prompting ChatGPT to generate code in a bottom-up manner, reusing functions generated in previous steps. We illustrate here the main ideas with the help of a case-study.File in questo prodotto:
File | Dimensione | Formato | |
---|---|---|---|
583.pdf
accesso aperto
Tipologia:
Documento in versione editoriale
Dimensione
1.18 MB
Formato
Adobe PDF
|
1.18 MB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.