🗒 Cheat Sheet← Lesson
BitWithBite
Python Worksheet

🐍 Classes & Objects

Chapter: Python · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Define a classUse __init__ and selfCreate objectsCall methods

🧠 Section A · Concept Check ● BEGINNER 4 × 1 = 4

1The constructor method is:
2self refers to:
3Create an object of Dog with:
4Methods are:

🧮 Section B · Problem Solving ● INTERMEDIATE 2 + 3×3 = 11

5Classes are defined with the keyword .
6The first parameter of a method is .
7Define class Dog with an __init__ storing name.
8Create a Dog named 'Rex'.
9Access the dog's name.

🚀 Section C · Challenge ● CHALLENGE 5

10Add a bark() method printing 'Woof'.
💭 Reflection — the most useful thing I learned:
A ___/4   B ___/11   C ___/5   Total ___/20 Teacher's Signature Parent's Signature
✂ answer key — fold or cut before handing out

1-A   2-B   3-B   4-A  |  5 class   6 self   7 = class Dog: def __init__(self, name): self.name = name   8 = d = Dog('Rex')   9 = d.name  |  10 = def bark(self): print('Woof')

📄 Need offline practice?Download the print-ready PDF or open the one-page cheat sheet.
⬇ Worksheet PDF 🗒 Cheat Sheet