Skip to content

Add Micro:Bit answer key (teacher reference guide)#653

Open
beagandica wants to merge 1 commit into
NuevoFoundation:masterfrom
beagandica:content/answer-key-microbit
Open

Add Micro:Bit answer key (teacher reference guide)#653
beagandica wants to merge 1 commit into
NuevoFoundation:masterfrom
beagandica:content/answer-key-microbit

Conversation

@beagandica
Copy link
Copy Markdown
Member

Summary

Add a teacher reference answer key for the Micro:Bit JavaScript and hardware workshop.

Changes

  • content/english/microbit/answer-key.md (new, 238 lines)
    • JavaScript basics reference (variables, data types, math operations, print statements, conditionals, loops)
    • MakeCode tutorial expected outcomes (Flashing Heart, Micro Chat)
    • Micro:bit JavaScript cheat sheet (consolidated from workshop)
    • Asteroids game demo reference (hex file location + MakeCode link)
    • Three sample 'Your Turn' projects (digital die, step counter, rock-paper-scissors)
    • Teacher notes flagging 5 workshop source issues (math typos, legacy API, unit errors)

Workshop source issues flagged for teachers

Issue Location Error
Addition result Math operations Comment says c=25, actual is 23 (13+10)
Division shorthand Math operations Comment says c=5, actual is 0.5 (10/20)
Conditionals comment Conditionals Says 'less than 10', code checks age<18
Math.random() Cheat sheet Legacy API; modern is Math.randomRange()
basic.pause() units Cheat sheet Source says microseconds, actually milliseconds

Design note

The workshop is currently \draft: true, hidden: true. The answer key uses \draft: false, hidden: true\ per our answer key convention — it will be pre-staged and accessible only by direct URL, not in site navigation.

Languages affected

  • English only. Spanish translation exists but does not have a separate answer key (tracked in backlog).

Testing

  • Hugo build passes
  • No images referenced (text-only answer key)
  • All code examples verified against MakeCode API
  • 10-model QA passed (3 clean convergence passes)

Teacher reference for the Micro:Bit JavaScript and hardware workshop.
Consolidates all key concepts, code samples, MakeCode tutorial outcomes
(Flashing Heart, Micro Chat), cheat sheet, Asteroids game reference,
and three sample projects for the open-ended 'Your Turn' section.

Flags 5 workshop source issues for teacher awareness:
- Addition comment typo (c=25 should be c=23)
- Division shorthand result (c=5 should be c=0.5)
- Conditionals comment (says 'less than 10', code checks age<18)
- Legacy Math.random() vs modern Math.randomRange()
- basic.pause() units (microseconds in source, actually milliseconds)

10-model QA passed (3 clean convergence passes).
Hugo build verified.

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant