SmartStart_Curriculum_3.1_en

Smart Start Curriculum. Area 3: Algorithmic thinking 74 / 76 Exercise 6: AI Coding Assistant: Accept, Reject, or Improve? Topic: Critical use of generative AI for coding Objective: To practice critically evaluating AI-generated coding suggestions rather than accepting them automatically. Format: Individual or small-group AI-assisted activity. Instructions: Consider the following task: Create a program that tells a student whether a score from 0 to 100 represents “Excellent” (80–100), “Passed” (50–79), or “Try again” (below 50). First, design the logic yourself using ordinary language or pseudocode. Then ask a generative AI system to propose a solution. Do not assume that the AI-generated code is correct. Analyze it using the following questions: • Does the code solve the original problem? • Are all three categories represented correctly? • What happens at the boundary values: 49, 50, 79, 80, and 100 ? • What happens if the user enters an unexpected value, such as 110 or −5? • Can you explain every part of the generated solution? • Is any part unnecessarily complicated? • Would you accept, reject, or modify the AI-generated solution? Why? If the solution contains a problem, ask AI to explain the problem without immediately providing a complete replacement . Correct and retest the program yourself. Conclude by comparing your initial algorithm with the AI-generated solution. Deliverable: A short AI Coding Evaluation containing: • the learner’s original algorithm; • the AI-generated solution; • results from testing at least five inputs; • identified strengths or problems; • any modifications made; • a final decision: Accept / Modify / Reject ; • a short justification explaining what the learner – not the AI – contributed to the final solution.

RkJQdWJsaXNoZXIy MjQzMTQ4