✨ Free preview
🔧

Attributes and methods

Trace code that reads and changes an object’s attributes through its methods, and spot the classic mistakes with self.

⏱ 20 min❓ 9 questions

What you'll be able to do

  • ✔I can trace method calls that update an object’s attributes
  • ✔I can tell the difference between a method that returns a value and one that doesn’t
  • ✔I can spot bugs caused by forgetting self

How this works

  1. 1Read the short explanations first — they teach you what you need before each question.
  2. 2Answer each question, then tap Check. A right answer moves you on automatically; if it's wrong, you'll see a friendly explanation of why.
  3. 3Finish all 3 steps to see your score — sign in and subscribe to unlock the full lesson and save it.

What's inside

9 questions and 1 quick teaching card, including:

  • 🔢Number answer — Work out the answer and type the number.
  • 🔘Multiple choice — Tap the answer you think is best, then check it.

👪Grown-up tip: sit alongside younger learners for the first few lessons. Read the questions together and chat about the explanations — that's where the real learning sticks.

Sign in and subscribe to unlock the full lesson and save your progress.

Curriculum: AC9TDI10P07