Exploring trust in artificial intelligence in a problem-based computer programming course
Generative artificial intelligence is increasingly used in programming education, but evidence concerning its relationship with achievement and learner trust remains limited in Nigerian higher education. This mixed-methods, quasi-experimental study examined whether integrating Google Gemini into problem-based learning (PBL) was associated with undergraduate students’ programming achievement and trust in AI. Sixty-two students from intact classes participated in a pre-test–post-test design: 29 received Gemini-enhanced PBL, and 33 received PBL without AI. Programming achievement and multidimensional trust were assessed before and after the intervention, while eight experimental-group students provided explanatory interview accounts. Quantitative data were analysed using ANOVA and ANCOVA, supplemented by HC3 robust estimation and bias-corrected bootstrapping; interview responses were coded thematically. The experimental group recorded higher post-test achievement than the control group. The robust adjusted mean difference was 16.42 points, 95% CI [14.16, 18.67]. Post-test trust scores were also higher in the Gemini-enhanced condition, while gender and the instructional condition × gender interaction were not statistically significant. Participants described Gemini as useful for problem clarification, algorithm development, debugging, collaboration, self-directed learning and immediate feedback; trust was associated with transparent prompts, responsible data use and human accountability. The findings suggest that structured Gemini support may complement PBL.
Authors
- Chijioke Jonathan Olelewe (ORCID: https://orcid.org/0000-0002-1104-053X)
- Ndudi O. Ezeamuzie (ORCID: https://orcid.org/0000-0001-8946-5709)
- Christian Basil Omeh (ORCID: https://orcid.org/0000-0002-1673-2578)
Institutions
- University of Nigeria (NG)
- University of South Africa (ZA)
- Metropolitan University (BD)
Publication Details
- Journal
- Discover Education
- Published
- 2026-10-14
- DOI
- https://doi.org/10.1007/s44217-026-02200-7
- Primary Topic
- Teaching and Learning Programming
- Type
- article
- Field-Weighted Citation Impact
- 0.00