TalentJR apps
A bug is a mistake that makes an app do the wrong thing, and debugging is finding and fixing it. A good way is to go line by line and compare what each line does with what it should do. In our snippets each line has a comment saying what it should do, so the bug is the line whose code does not match its comment. You can also work out what the buggy code actually shows and what it should show.
✓ You passed this lesson’s test.
Compare with the comment — “each comment says what its line should do; the bug is where they differ”
Use it for: Fixing your own code and helping friends find their mistakes.
Check: Actual 36 + 6 − 5 = 37, expected 36 + 6 − 3 = 39 ✓
▶ Watch it animatedWork it out in your head or on paper, type the answer and press Check. Stuck? Press “Show me how”.
Right: 0 · Tried: 0
20 questions. Check each answer, then go to the next one. Get 16 or more right to pass.
🏅 Sign in with Google to earn the 🐞 Bug Squasher badge when you pass — and a certificate when you finish all 8 lessons of Part 3 · Logic and Building. You can still take the test without signing in.
Why does it work? When should you use it? Ask in English, मराठी or हिंदी.
Sign in with Google to ask Free — 20 questions a day.
Prefer a real teacher? TalentJR teachers take live online classes anywhere in India and visit homes in selected cities. Tell us what you need and our team will call you with timings and fees.