KELI
Home › Archive › Case studies › C Programming
Archive · Case studies

C Programming

School of Software, Hallym University · Jinhwan Kim · 2026.06.16

Summary
  • 40 second-year School of Software students, fall 2025 — RAG-based generative AI, an AI tutor and a course chatbot integrated into a blended class of online theory + in-person practice
  • In step-by-step problem-solving practice progressing from independent → guided → reference, AI analyzes code writing, error analysis and debugging logs to provide customized hints
  • Algorithmic thinking, debugging routines and AI literacy were strengthened; building an integrated IDE–LMS–AI environment and criteria for incorporating AI feedback remain to be done
Course
C Programming (theory/practice · major elective, 3 credits, 2nd year)
Professor
Prof. Jinhwan Kim (School of Software)
University
Hallym University
Semester
Fall semester 2025 · 40 students
AI tools used
RAG-based generative AI, LMS-linked AI features, in-house courseware

This is a practice-centered course using AI courseware based on C programming, run in a blended learning format that combines online theory study with in-person practice.
Learners acquire basic concepts through online pre-learning and carry out practice based on step-by-step problem solving (independent → guided → reference) in in-person classes.
In this process, students repeatedly write code, analyze errors and debug using generative AI and the AI tutor, deepening their learning based on personalized feedback.

Course goals

  • Understand the basic concepts of C programming (data types, control statements, functions, arrays, pointers, etc.).
  • Students can use AI tools to improve code, fix errors and set learning strategies.
  • Students can solve complex problems systematically by applying step-by-step problem-solving strategies.

How to apply

  1. Learner pre-assessment — Diagnosing C basic syntax and logical thinking (online quiz), surveying AI and digital tool experience and self-directed learning competency, and analyzing the learning environment (development tools, LMS skills) and prior knowledge (AI use: AI for step-by-step problem solving and personalized information (search).
    Outputs: analysis of pre-learning results, individual learning patterns (paths))
  2. How AI is used — Pre-learning based on online theory study (lecture notes, video content), repeated practice writing, fixing and debugging code with the AI tutor, and hands-on work based on step-by-step problem solving (independent → guided → reference) (AI use: real-time Q&A and concept explanations via the course chatbot, and customized hints after analyzing learning logs (code attempts, errors, debugging process).
    Outputs: step-by-step problem-solving code and run results, before/after comparison of code reflecting AI feedback)
  3. Learning support & feedback — Monitoring weekly learning progress and managing participation, giving immediate feedback on errors and conceptual problems during practice, and providing supplementary materials and extra problems for struggling learners (AI use: visualizing each learner's achievement and error frequency, and recommending customized learning content through analysis of individual learning patterns.
    Outputs: weekly participation and achievement data, records of code error types and debugging improvements, individual feedback history)
  4. Post-assessment & reflection — Post-competency assessment (programming problem-solving and AI skills), achievement analysis through before/after comparison, and a self-reflection report (learning strategies, improvements) (AI use: deriving learning effects through pre/post data comparison, achievement reports based on learning-process data, and analysis of individual growth trends and learning patterns.
    Outputs: pre/post comparison report, individual learning outcome and growth reports, self-reflection report and portfolio (including code history))

Key weeks

  • Week 1 — Course introduction, overview and basic structure of C (in person): setting up learners' AI practice environment
  • Week 2 — Variables and operators (blended): RAG-based problem solving + step-by-step problem-solving learning; submitting practice results
  • Week 10 — Pointer overview and use (blended): RAG-based problem solving + step-by-step problem-solving learning; practice declaring pointer variables and indirection
  • Week 12 — Structs, unions and enums (blended): RAG-based problem solving + step-by-step problem-solving learning; struct pointer practice

Result

ItemDescription
Class operationSmartLEAD (online theory classes) + Cosmos LMS (in-person practice and AI courseware)
AI tool setupAI tutor (learning support) · Classroom chatbot (course AI chatbot) · AI quiz (pre-learning)
Pre-diagnosisAll had experience with LMS-based classes; none had taken an AI-integrated class
  • Outputs by stage — Stage 1: initial and error code with attempt records → Stage 2: code reflecting AI and instructor hints with before/after comparison → Stage 3: final code, optimization comparison and process report

Educational effects

  • Moving from traditional, static LMS-centered practice classes to a dynamic, adaptive practice structure based on AI analysis.
    AI analyzes logs of the whole process—writing, compiling, fixing errors, debugging and verifying code—to provide real-time feedback
  • Analyzing each learner's code patterns—variable declaration errors, pointer mistakes, array out-of-bounds, memory errors and more—and providing customized problems and hints by difficulty level (basic syntax → pointers → dynamic memory → structs → file handling)
  • Code-based indicators such as compile success rate, debugging speed and frequency of repeated errors are visualized in real time to immediately identify areas falling short of weekly learning goals.
    The approach to each problem, number of attempts, debugging patterns and code improvement history are recorded automatically as a learning portfolio
  • With AI handling repeated code feedback, the instructor can focus on strategy design, quality control and individual consultations.
    More equitable and consistent feedback

Difficulties

  • Because of the characteristics of C (memory and pointer handling, compilation), AI feedback sometimes could not be applied immediately and accurately.
    Inconsistent answers to the same problem
  • Insufficient integration among IDEs (Visual Studio Code, Replit, etc.), the LMS, AI real-time assessment modules and code verification tools.
    Separate environments when moving from one activity to another reduce learning efficiency
  • Because criteria for incorporating AI feedback were unclear, the rate of application varied among students.
    A clear standard is needed for how much AI help is acceptable

Improvements

  • Providing pre-tutorials (AI tool guides) on interpreting AI feedback, writing prompts and the C debugging flow
  • Building an integrated learning environment where the IDE, LMS, LLM and code assessment tools work together on one platform.
    Demand for a learning ecosystem in which practice, assignments, feedback and assessment are handled in a single workflow
  • Establishing assessment criteria that include the rate of AI feedback incorporation, evaluation of the code implementation process and analysis of the debugging process.
    Strengthening "process-centered assessment" over results and designing a rubric-based assessment system (understanding, process, results, AI use)
"The AI-courseware-based C programming class showed clear educational results in realizing hyper-personalized learning, strengthening practice-centered self-directed learning, refining data-based teaching strategies and innovating the institutional education system."— Prof. Jinhwan Kim

Keywords

C ProgrammingStep-by-step problem solving (independent → guided → reference)RAG-based generative AIAI tutor · Course chatbotBlended classLearning log analysis

Contents

  1. AI-integrated course plan
  2. AI-integrated course weekly plan
  3. AI-integrated course report
※ The full casebook (PDF) is available via "View PDF" above or "Files" below.
· Citation: Jinhwan Kim (2026), AI class case — C Programming, Hallym University · KELI Secretariat
· Contact: KELI Secretariat +82 033-248-3246, 3242, 3044 / contact@keliedu.org

On a phone, only the first page may show.
If so, please use Download.