{"id":{"repo_id":"wvu","oai_identifier":"oai:researchrepository.wvu.edu:etd-14061"},"canonical_url":"https://search.ndltd.org/etd/wvu/oai:researchrepository.wvu.edu:etd-14061","repository":{"repo_id":"wvu","name":"West Virginia University","base_url":"https://researchrepository.wvu.edu/do/oai/"},"display":{"title":"GENERATIVE AI: IMPACTS ON LEARNING PROGRAMMING AND ON THE QUALITY OF GENERATED CODE","abstract":"Generative AI is rapidly transforming programming both as a tool for learning and as a system capable of producing code. This thesis examines that transformation from two complementary perspectives. First, it investigates how generative AI influences introductory programming education through a survey of 139 students across two semesters, analyzing patterns of use, perceived bene f its, motivation, self-efficacy, academic performance, and pedagogical implications using descriptive statistics, Mann Whitney tests, Spearman correlation, and logistic regression. Second, it evaluates the quality of Python and Java code generated by modern large language models on 1,651 programming tasks by analyzing the lines of code, cyclomatic complexity, code smells, failure proneness and vulnerability presence through descriptive analysis and inferential statistics. Across both studies, the findings show that generative AI cannot be adequately understood through surface-level outcomes alone. In education, it offers fast, accessible assistance but may reduce engagement and self-confidence under some conditions. In code generation, benchmark success does not fully capture software quality or security, and structural characteristics such as code smells, code length, and task difficulty help explain failure proneness and vulnerability presence.","abstract_html":"Generative AI is rapidly transforming programming both as a tool for learning and as a system capable of producing code. This thesis examines that transformation from two complementary perspectives. First, it investigates how generative AI influences introductory programming education through a survey of 139 students across two semesters, analyzing patterns of use, perceived bene f its, motivation, self-efficacy, academic performance, and pedagogical implications using descriptive statistics, Mann Whitney tests, Spearman correlation, and logistic regression. Second, it evaluates the quality of Python and Java code generated by modern large language models on 1,651 programming tasks by analyzing the lines of code, cyclomatic complexity, code smells, failure proneness and vulnerability presence through descriptive analysis and inferential statistics. Across both studies, the findings show that generative AI cannot be adequately understood through surface-level outcomes alone. In education, it offers fast, accessible assistance but may reduce engagement and self-confidence under some conditions. In code generation, benchmark success does not fully capture software quality or security, and structural characteristics such as code smells, code length, and task difficulty help explain failure proneness and vulnerability presence.","abstract_has_math":false,"creators":["Harris, Dylan James"],"institution":null,"degree_name":"MS","degree_level":"Thesis (Campus Access)","degree_discipline":"Lane Department of Computer Science and Electrical Engineering","degree_department":null,"school":null,"contributors":["Katerina Goseva-Popstojanova","Thomas Devine","Matthew Valenti"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-19T09:22:04Z","subjects":["AI","Large Language Model","Programming Education","security","CWE","logistic regression","motivation"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["https://researchrepository.wvu.edu/etd/13342"],"render_values":[{"text":"https://researchrepository.wvu.edu/etd/13342","href":"https://researchrepository.wvu.edu/etd/13342","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.33915/etd.13342","outbound_label":"DOI","outbound_source":"dc:identifier","record_url":"https://doi.org/10.33915/etd.13342","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://researchrepository.wvu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aresearchrepository.wvu.edu%3Aetd-14061","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Katerina Goseva-Popstojanova","Thomas Devine","Matthew Valenti"]},{"key":"dc:creator","label":"Author","values":["Harris, Dylan James"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.created","label":"Dc Date Created","values":["2026-01-01T08:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Lane Department of Computer Science and Electrical Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Thesis (Campus Access)"]},{"key":"thesis:degree_name","label":"Degree Name","values":["MS"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["AI","Large Language Model","Programming Education","security","CWE","logistic regression","motivation"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://doi.org/10.33915/etd.13342","https://researchrepository.wvu.edu/etd/13342"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Generative AI is rapidly transforming programming both as a tool for learning and as a system capable of producing code. This thesis examines that transformation from two complementary perspectives. First, it investigates how generative AI influences introductory programming education through a survey of 139 students across two semesters, analyzing patterns of use, perceived bene f its, motivation, self-efficacy, academic performance, and pedagogical implications using descriptive statistics, Mann Whitney tests, Spearman correlation, and logistic regression. Second, it evaluates the quality of Python and Java code generated by modern large language models on 1,651 programming tasks by analyzing the lines of code, cyclomatic complexity, code smells, failure proneness and vulnerability presence through descriptive analysis and inferential statistics. Across both studies, the findings show that generative AI cannot be adequately understood through surface-level outcomes alone. In education, it offers fast, accessible assistance but may reduce engagement and self-confidence under some conditions. In code generation, benchmark success does not fully capture software quality or security, and structural characteristics such as code smells, code length, and task difficulty help explain failure proneness and vulnerability presence."]},{"key":"dc:title","label":"Title","values":["GENERATIVE AI: IMPACTS ON LEARNING PROGRAMMING AND ON THE QUALITY OF GENERATED CODE"]}]}],"canonical_facts":{"dc:contributor":["Katerina Goseva-Popstojanova","Thomas Devine","Matthew Valenti"],"dc:creator":["Harris, Dylan James"],"dc:date.created":["2026-01-01T08:00:00Z"],"dc:description.abstract":["Generative AI is rapidly transforming programming both as a tool for learning and as a system capable of producing code. This thesis examines that transformation from two complementary perspectives. First, it investigates how generative AI influences introductory programming education through a survey of 139 students across two semesters, analyzing patterns of use, perceived bene f its, motivation, self-efficacy, academic performance, and pedagogical implications using descriptive statistics, Mann Whitney tests, Spearman correlation, and logistic regression. Second, it evaluates the quality of Python and Java code generated by modern large language models on 1,651 programming tasks by analyzing the lines of code, cyclomatic complexity, code smells, failure proneness and vulnerability presence through descriptive analysis and inferential statistics. Across both studies, the findings show that generative AI cannot be adequately understood through surface-level outcomes alone. In education, it offers fast, accessible assistance but may reduce engagement and self-confidence under some conditions. In code generation, benchmark success does not fully capture software quality or security, and structural characteristics such as code smells, code length, and task difficulty help explain failure proneness and vulnerability presence."],"dc:identifier":["https://doi.org/10.33915/etd.13342","https://researchrepository.wvu.edu/etd/13342"],"dc:subject":["AI","Large Language Model","Programming Education","security","CWE","logistic regression","motivation"],"dc:title":["GENERATIVE AI: IMPACTS ON LEARNING PROGRAMMING AND ON THE QUALITY OF GENERATED CODE"],"thesis:degree_discipline":["Lane Department of Computer Science and Electrical Engineering"],"thesis:degree_level":["Thesis (Campus Access)"],"thesis:degree_name":["MS"]},"updated_at":"2026-11-19T09:22:04Z"}