🗒 Cheat Sheet← Lesson
BitWithBite
JavaScript Worksheet

⚡ Objects

Chapter: JavaScript · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Create objects with key:valueDot vs bracket accessAdd/update propertiesLoop with Object.keys

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

1const u={name:'Ali'}; u.name is:
2Bracket access looks like:
3Add age with:
4Object.keys(u) returns:

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

5Objects store :value pairs.
6u. = 'Lahore' adds a city.
7Create an object for a book (title, pages).
8Read pages with brackets.
9Loop and log every key of book.

🚀 Section C · Challenge ● CHALLENGE 5

10Dot vs bracket - when must you use brackets?
💭 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-B   2-B   3-A   4-B  |  5 key   6 city   7 = const book={title:'JS', pages:120};   8 = book['pages']   9 = for(const k of Object.keys(book)) console.log(k)  |  10 = Dynamic keys or keys with spaces/dashes

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