Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
ChatGPT:s påverkan på effektivitet inom programmering
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2024 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
ChatGPT:s effect on efficiency in programming (English)
Abstract [en]

Due to the increase in use and development of AI in recent times, institutions and companies around the world are becoming increasingly wary of the effects the use of AI will have on programming. Does the use of AI lead to increased efficiency and if so, how does it speed up the programming process and what effects can AI have on programming education? In this study, we examined how the assistance of ChatGPT affects time efficiency in programming. To investigate this an experimental study, in which 17 participants were asked to solve selected programming tasks of two varying difficulty levels, with and without the assistance of ChatGPT has been performed. Time efficiency was measured by comparing the time it took for participants to solve the task with and without ChatGPT, then calculating the average time it took to solve both tasks with and without the assistance of ChatGPT. The results showed that solving a programming task with the support of ChatGPT was more time-efficient, as participants on average solved both programming tasks faster with ChatGPT. The results further show that ChatGPT was more beneficial for advanced programming tasks where the time savings were more significant compared to simpler tasks where the time difference was not as noticeable.

Abstract [sv]

På grund av den ökande användningen och utvecklingen av AI på senare tid blir institutioner och företag runt om i världen alltmer oroade över vilka effekter användningen av AI kommer att ha på programmering. Leder användningen av AI till ökad effektivitet och i så fall, hur påskyndar den programmeringsprocessen och vilka effekter AI kan ha på programmeringsutbildning? I denna studie undersöks hur assistans av ChatGPT påverkar tids effektiviteten vid programmering. För att undersöka problemet har 17 deltagare utfört programmeringsuppgifter på olika svårighetsgrader, med och utan assistans av ChatGPT för att avgöra ChatGPT:s påverkan på tidseffektiviteten. Tidseffektiviteten mättes genom att jämföra tiden det tog för deltagarna att lösa uppgiften med och utan ChatGPT för att därefter få ut ett medelvärde på tiden det tog att lösa båda uppgifterna med och utan assistans av ChatGPT. Resultatet visade att programmering med ChatGPT som stöd var mer tidseffektivt då deltagarna i genomsnitt löste båda programmering uppgifterna snabbare med ChatGPT. Resultatet visade även att ChatGPT var till större nytta för avancerade programmeringsuppgifter där tidsbesparingarna var mer betydelsefull jämfört med enklare uppgifter där tidsskillnaden inte visade sig vara lika signifikant.

Place, publisher, year, edition, pages
2024. , p. 11
Series
TRITA-EECS-EX ; 2024:234
Keywords [en]
ChatGPT, OpenAI, Människa-Data interaktion, Programmering
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-349954OAI: oai:DiVA.org:kth-349954DiVA, id: diva2:1881810
Supervisors
Examiners
Available from: 2024-08-08 Created: 2024-07-03 Last updated: 2024-08-08Bibliographically approved

Open Access in DiVA

fulltext(834 kB)246 downloads
File information
File name FULLTEXT01.pdfFile size 834 kBChecksum SHA-512
d74d6f7ff6b132fc47a62b75563ffab1bccaa72fb3b748ee7523fac33ded9cd06c8d91c6911d8d40b197b1b2bbf705056b9eae7094a6055fff7a1fa5e1f73c27
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 251 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 334 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf