André Rocha, Lino Sousa, Mário Alves, Armando Sousa
{"title":"The underlying potential of NLP for microcontroller programming education","authors":"André Rocha, Lino Sousa, Mário Alves, Armando Sousa","doi":"10.1002/cae.22778","DOIUrl":null,"url":null,"abstract":"<p>The trend for an increasingly ubiquitous and cyber-physical world has been leveraging the use and importance of microcontrollers (<span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>C) to unprecedented levels. Therefore, microcontroller programming (<span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>CP) becomes a paramount skill for electrical and computer engineering students. However, <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>CP poses significant challenges for undergraduate students, given the need to master low-level programming languages and several algorithmic strategies that are not usual in “generic” programming. Moreover, <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>CP can be time-consuming and complex even when using high-level languages. This article samples the current state of <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>CP education in Portugal and unveils the potential support of natural language processing (NLP) tools (such as chatGPT). Our analysis of <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>CP curricular units from seven representative Portuguese engineering schools highlights a predominant use of AVR 8-bit <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>C and project-based learning. While NLP tools emerge as strong candidates as students' <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>C companion, their application and impact on the learning process and outcomes deserve to be understood. This study compares the most prominent NLP tools, analyzing their benefits and drawbacks for <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>CP education, building on both hands-on tests and literature reviews. By providing automatic code generation and explanation of concepts, NLP tools can assist students in their learning process, allowing them to focus on software design and real-world tasks that the <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>C is designed to handle, rather than on low-level coding. We also analyzed the specific impact of chatGTP in the context of a <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>CP course at ISEP, confirming most of our expectations, but with a few curiosities. Overall, this work establishes the foundations for future research on the effective integration of NLP tools in <span></span><math>\n <semantics>\n <mrow>\n \n <mrow>\n <mi>μ</mi>\n </mrow>\n </mrow>\n </semantics></math>CP courses.</p>","PeriodicalId":50643,"journal":{"name":"Computer Applications in Engineering Education","volume":"32 6","pages":""},"PeriodicalIF":2.0000,"publicationDate":"2024-08-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Applications in Engineering Education","FirstCategoryId":"5","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cae.22778","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
The trend for an increasingly ubiquitous and cyber-physical world has been leveraging the use and importance of microcontrollers (C) to unprecedented levels. Therefore, microcontroller programming (CP) becomes a paramount skill for electrical and computer engineering students. However, CP poses significant challenges for undergraduate students, given the need to master low-level programming languages and several algorithmic strategies that are not usual in “generic” programming. Moreover, CP can be time-consuming and complex even when using high-level languages. This article samples the current state of CP education in Portugal and unveils the potential support of natural language processing (NLP) tools (such as chatGPT). Our analysis of CP curricular units from seven representative Portuguese engineering schools highlights a predominant use of AVR 8-bit C and project-based learning. While NLP tools emerge as strong candidates as students' C companion, their application and impact on the learning process and outcomes deserve to be understood. This study compares the most prominent NLP tools, analyzing their benefits and drawbacks for CP education, building on both hands-on tests and literature reviews. By providing automatic code generation and explanation of concepts, NLP tools can assist students in their learning process, allowing them to focus on software design and real-world tasks that the C is designed to handle, rather than on low-level coding. We also analyzed the specific impact of chatGTP in the context of a CP course at ISEP, confirming most of our expectations, but with a few curiosities. Overall, this work establishes the foundations for future research on the effective integration of NLP tools in CP courses.
期刊介绍:
Computer Applications in Engineering Education provides a forum for publishing peer-reviewed timely information on the innovative uses of computers, Internet, and software tools in engineering education. Besides new courses and software tools, the CAE journal covers areas that support the integration of technology-based modules in the engineering curriculum and promotes discussion of the assessment and dissemination issues associated with these new implementation methods.