SEE
THINK
EXPLORE
MARVEL
🔒

Facilitator Notes

This page contains exercise answers and teaching guidance for
Step 6 — Functions.
Not linked from the student pages.

Students: please go back and try the activities first.

← Back to student page

🧠 Concept Check — Answer Key (Step 6)

These 5 questions appear in the activity page after Tier 4 (post-calibration gate). Pass mark is 4 of 5 (80%). Students who fail may retry; the system records attempts and final score in Google Sheets.

Question (displayed to student)Correct Answer
Q1: def draw_snake(body): — what is body in this line? ✓ A parameter — a value passed in when the function is called
Q2: What does a function return when it has no return statement? ✓ None
Q3: Why call draw_snake(body) instead of pasting drawing code everywhere? ✓ To keep the code DRY — reuse logic without repeating it
Q4: What is variable scope? ✓ The region of code where a variable can be read or written
Q5: def is_collision(head, body): return head in body — return type? ✓ True or False (bool)
📊

Recorded in Google Sheet (Act_6 tab): concept_q1–concept_q5 (student’s 0-based answer index), concept_score_pct, concept_passed (1 = pass, 0 = fail), concept_attempts (retry count).

📊 Google Sheets — Data Collected (Act_6)

Every submission to this step writes one row to the Act_6 tab in the research spreadsheet. All 13 tabs (Student_Reg, Pre_Test, Post_Test, Act_1–Act_10) share the same student identity columns.

ColumnDescription
STUDENT IDENTITY (10 fields)
matricMatric / student ID
nameFull name
genderGender (Female / Male / Other)
ageAge in years
mykidMyKid / IC number
home_stateHome state in Malaysia
classClass or cohort code
school_codeSchool or programme code
phonePhone number
emailEmail address
SUBMISSION
stepStep number (6)
submitted_isoKL timestamp (UTC+8, ISO 8601)
PRE-CALIBRATION
cal_confidenceSelf-confidence before activity (1–5 scale)
cal_predictedPredicted score before activity (%)
cal_reflectionFree-text: what will be hard?
ACTIVITY TIERS
t1_score_pctTier 1 Fill-in-Blanks score (%)
t2_attemptsTier 2 Debug — number of attempts
refl2_textTier 2 reflection free text
t3_attemptsTier 3 Complete-Code attempts
t4_attemptsTier 4 New Task attempts
CONCEPT CHECK
concept_q1–concept_q5Student answer index (0-based) per question
concept_score_pctPercentage correct (0–100)
concept_passed1 = passed (≥80%), 0 = failed
concept_attemptsTotal retries
REFLECTIVE JOURNAL
jr1–jr5Journal prompts 1–5 free-text responses
POST-CALIBRATION
post_confidenceConfidence rating after activity (1–5)
post_actualSelf-reported actual score (%)
post_r1Reflection: how accurate was the prediction?
post_r2Reflection: what would you do differently?
calibration_indexpost_actual − cal_predicted (negative = overconfident)