Solving the “Databases” SQL Assignments with Language Models in Comparison with Students’ Results

dc.contributor.advisorLuik, Piret, juhendaja
dc.contributor.authorLember, Joosep
dc.contributor.otherTartu Ülikool. Loodus- ja täppisteaduste valdkondet
dc.contributor.otherTartu Ülikool. Arvutiteaduse instituutet
dc.date.accessioned2025-10-23T06:36:16Z
dc.date.available2025-10-23T06:36:16Z
dc.date.issued2025
dc.description.abstractIn recent years, the use of AI-based language models such as ChatGPT and Microsoft Copilot has become common in education. However, it remains unclear how well these tools can independently solve more complex tasks. The aim of this bachelor’s thesis was to evaluate the ability of these language models to solve homework assignments from the University of Tartu’s “Databases” course and compare the results with those of students from the 2025 spring semester. The assignments were completed using the language models in two ways: first without any prior information about the database structure, and then with the relevant structural information provided. The results were evaluated using automatic grading, and the types and accuracy of errors were analyzed. The models performed better when they had access to the database structure, but overall still fell short of student performance, especially in complex and ambiguous tasks.
dc.description.abstract Viimastel aastatel on tehisintellektil põhinevate keelemudelite, nagu ChatGPT ja Microsoft Copilot, kasutamine hariduses muutunud tavapäraseks. Samas pole selge, kui hästi suudavad need tööriistad keerukamaid ülesandeid iseseisvalt lahendada. Bakalaureusetöö eesmärk oli hinnata keelemudelite võimekust lahendada Tartu Ülikooli kursuse „Andmebaasid“ kodutöid ning võrrelda tulemusi 2025. aasta kevadsemestri üliõpilaste omadega. Kodutööd lahendati keelemudelitega kahel viisil: esmalt andmebaasi struktuuri eelinfota ja seejärel koos vastava teabega. Tulemusi hinnati automaatkontrolliga ning analüüsiti veatüüpe ja täpsust. Mudelid saavutasid paremaid tulemusi, kui neil oli juurdepääs andmebaasi struktuurile, kuid jäid üldiselt üliõpilastele alla, eriti keerukate ja mitmeti mõistetavate ülesannete puhul.
dc.identifier.urihttps://hdl.handle.net/10062/117003
dc.language.isoet
dc.publisherTartu Ülikoolet
dc.rights.urihttps://creativecommons.org/licenses/by-nc-nd/4.0/
dc.subjectartificial intelligence (AI)
dc.subjectSQL language
dc.subjectChatGPT
dc.subjectCopilot
dc.subject.otherbakalaureusetöödet
dc.subject.otherinformaatikaet
dc.subject.otherinfotehnoloogiaet
dc.subject.otherinformaticsen
dc.subject.otherinfotechnologyen
dc.titleSolving the “Databases” SQL Assignments with Language Models in Comparison with Students’ Results
dc.title.alternativeKursuse “Andmebaasid” kodutööde lahendamine keelemudelitega võrdluses üliõpilaste tulemustega
dc.typeThesis

Failid

Originaal pakett

Nüüd näidatakse 1 - 1 1
Laen...
Pisipilt
Nimi:
Lember_Informaatika_2025.pdf
Suurus:
752.53 KB
Formaat:
Adobe Portable Document Format