Week 8 Lesson 1 Challenge
YEAR 9 DIGITAL TECHNOLOGIES • LOGIC CHALLENGE
Challenge Question: Who Gets Through?
Think first. Solve it your way. Then post your answer.
🎯 THE CHALLENGE
Imagine you are building a school app.
The app asks for a student ID number.
Only students whose ID can be divided exactly by 3 or 5 are allowed through.
All others are blocked.
Your task:
Write Python logic to decide who gets through.
Write Python logic to decide who gets through.
✅ WHAT TO POST
- Your code
- Your logic
- Or your best attempt
Try it yourself first. That’s the whole point.
💭 WHAT TO THINK ABOUT
- How can a program test a number for 3?
- How can it test for 5?
- How do you connect those checks?
- When should the student be allowed?
- What should the program output?
📌 SUCCESS CRITERIA
- Program asks for input
- Uses logical checks
- Makes a clear decision
- Outputs a clear message
🧠 HINTS (Open only if stuck)
Hint 1
Start by getting input, then think about your first condition.
Hint 2
This is really two checks: one for 3, one for 5.
Hint 3
Use if / elif / else and combine ideas you already know.
💬 SUBMIT
Post your attempt in the discussion — even if it’s not perfect.