Objective

Flipped learning means students study new material before class and use class time for practice and discussion. In programming courses this can help, but students may arrive unprepared, wait a long time for feedback, or struggle with errors in their code. AI tools such as chatbots can give quick explanations, but there is a risk that students simply copy answers without understanding them.

The authors wanted to test one way to use AI with care. In their design, several AI tools were used at set points in the flipped cycle, and the lecturer guided every step: before class, during in-class programming practice, and in reflection afterward. Students had to explain, check and justify what AI suggested.

The study asked how this lecturer-guided approach compared with a traditional flipped classroom, which had no planned AI tasks, on four things:

  • programming test performance
  • learning autonomy (how much students feel they direct their own learning)
  • reflective learning (thinking back on what they did and why)
  • digital competence (comfort and skill with digital tools)

The study also asked how students and lecturers experienced the AI-supported activities.

Methods

This was a quasi-experiment, which compares groups without random assignment. It also used interviews to help explain the numbers. This kind of study can show differences between groups, but cannot rule out other explanations as firmly as a randomized trial.

Who took part

The study included 120 third- and fourth-year Information Technology undergraduates at Dong A University in Vietnam, in the first semester of the 2025–2026 academic year. All were in the Programming Techniques course. Two existing classes were used: one with 60 students got the AI-supported flipped design, and the other with 60 got a traditional flipped design. Students were not randomly assigned, because moving them between classes would have disrupted the timetable. Both groups had the same content, learning goals, teaching time, assessments and teaching team.

What the AI group did

Over 15 weeks, the AI group followed the same flipped sequence but with lecturer-designed AI tasks. Before class, ChatGPT and Quizizz AI were used for summaries, concept clarification, review questions and self-checks. In class, students compared their own fixes for code errors with AI debugging suggestions, and GitHub Copilot was limited to lecturer-guided demonstrations. After class, ChatGPT and Gemini supported reflection and comparison of solutions. Lecturers graded students on how well they justified decisions, not on whether they used AI.

How outcomes were measured

A pretest and posttest were scored from 0 to 10 with a shared rubric, with no AI allowed during the tests. After the course, students filled out a questionnaire on autonomy, reflection, digital competence and satisfaction. The team also interviewed 15 students and 6 lecturers from the AI class. Data were analyzed with t-tests, effect sizes and thematic analysis. Participation was voluntary, and the university's Science and Training Council gave permission. No separate ethics protocol code was assigned.

Key Findings

Overall, the AI-supported class scored higher on the programming test and rated itself higher on three self-reported measures than the traditional flipped class. These are differences between two groups, not proof of cause and effect.

Programming test scores

  • Before the course, the groups were similar: 5.48 for the AI group and 6.03 for the traditional group, a difference that was not statistically significant.
  • After 15 weeks, the AI group averaged 7.68 and the traditional group averaged 5.98, a gap of 1.70 points. The authors call this a large effect (d = 0.93).
  • Within the AI group, scores rose from 5.48 to 7.68, an average gain of 2.20 points. In the traditional group, scores went from 6.03 to 5.98, which was not a meaningful change (an average of -0.05).
  • The authors note the posttest gap was reported with a 95% confidence interval of 0.55 to 1.31 for the effect size, so the true size of the difference is uncertain.
  • The two groups did not differ in how spread out their scores were, which let the authors use standard comparisons for the test scores.

Self-reported measures (five-point scale)

  • Learning autonomy: 3.97 for the AI group and 3.15 for the traditional group (a large effect, d = 0.97).
  • Reflective learning: 3.90 and 3.28 (a moderate to large effect, d = 0.75).
  • Digital competence: 3.82 and 3.27 (a moderate effect, d = 0.56).
  • Many questionnaire items named AI tools directly, so the authors treat these results as perceptions tied to each condition, not as a fair comparison of general ability.
  • Satisfaction was asked only about the AI-supported experience, so no comparison was made. The AI group averaged 3.99.

What students and lecturers said

These comments come from interview notes and summaries, so they show recurring views, not how common each view was.

  • Students said AI helped them summarize materials, clarify concepts and prepare questions before class, and helped them understand errors faster during practice.
  • Some students compared AI suggestions with their own code to decide what to revise, instead of copying.
  • Lecturers said AI reduced routine syntax questions, leaving more time to check student reasoning.
  • Both groups raised concerns. AI answers were not always reliable, and some interview responses suggested a small number of students leaned too heavily on AI output.

Implications

The authors present these results as classroom evidence, not as final proof, and offer the following advice.

Programming lecturers

  • The authors say AI tools should not be used as unrestricted answer machines. They should sit inside tasks where students prepare, question, compare, verify and explain.
  • They say lecturers stay central. The role shifts toward designing AI tasks, checking students' reasoning, guiding verification and reinforcing academic integrity.
  • Asking students to explain why a piece of code works, and to say which AI suggestions they accepted or rejected, was part of the design and helped limit copying.

Universities

  • The authors say the lecturer's role does not shrink with AI. Time moves from answering routine questions toward guiding reasoning, which may affect how courses are staffed and planned.
  • The authors suggest clear guidance on responsible AI use and assessments that reward explaining and justifying one's own work.

Researchers

  • The authors ask future questionnaires to use wording that does not name AI, so groups can be compared fairly.

Our reading (not the authors' recommendation):

  • An instructor curious about this approach could pilot it in one section, record test scores before and after, and keep a note of which AI tools are allowed at each step.
  • Because the gain came from a bundle of tools and tasks, it is hard to say which piece mattered, so copying only part of the design may not give the same result.

Limitations

The authors are open about several limits that affect how far these results can be trusted.

  • Each condition was one intact class at one university in one course. Class membership and teaching condition cannot be separated, so any difference could partly reflect class traits such as group makeup or timetable. The authors say results are best seen as a comparison of these two classes.
  • Students were not randomly assigned, and the pretest cannot prove the groups started equal. Prior AI experience, motivation and informal AI use outside class were not measured. Students in the traditional class could also have used AI tools on their own.
  • A planned statistical adjustment (ANCOVA) could not be used because a key assumption was not met, so the main results rest on simpler group comparisons.
  • Autonomy, reflection and digital competence were self-reported after the course only, and 13 of 16 questionnaire items mentioned AI. Answers may reflect wording and a wish to please.
  • The test rubric lacked detailed score descriptions, and scoring was not blinded or double-checked.
  • Interviews were kept as notes and summaries, not full transcripts, with no formal coder agreement statistic.
  • The study could not separate the effect of ChatGPT, Quizizz AI, GitHub Copilot and Gemini, and had no planned power analysis.

The paper does not mention, but a single 15-week course cannot show whether the test gains last or carry over to later courses.

Future Directions

The authors suggest several next steps for research:

  • Repeat the design across several universities, other computing courses such as data structures or databases, and more varied student groups.
  • Use randomized or block-randomized designs, for example grouped by starting programming level, to see whether results differ for weaker and stronger students.
  • Measure students' independent AI use through logs, surveys or learning analytics.
  • Compare different AI tool setups, or ask which tool functions link most to performance, reflection and digital competence.
  • Use questionnaire items worded without reference to AI, and test the questionnaire's structure with larger samples.
  • Add blinded, double-scored assessments and report how closely scorers agree.

A question the study leaves open is how long the benefits last once the guided course ends.

The bottom line: In this study of 120 Vietnamese programming students, the class that used AI tools through lecturer-designed tasks scored higher on a programming test than a class without planned AI use, and also rated itself higher on autonomy, reflection and digital competence. The evidence is limited, because each group was one existing class at one university and the self-ratings named AI directly. It is a promising example of guided AI use, not proof. If you try it, keep the instructor in charge and make students explain their code.