Fill the gap · Ella Kurdaj – ModernScholar Team · ✔ checked content
🇺🇸 Computer science · Grade 9 › Introduction to programming
Grade 9 Computer Science: Python Control Structures Fill In the Gap
Choose the missing keyword or operator to complete each line of Python.
🏆 Leaderboard
- No scores yet – be the first!
Questions in this game (10 items)
- ___ score >= 90: starts a condition.
- After if, use ___ to check another condition.
- ___: runs when no earlier condition was true.
- for i in ___(5): repeats five times.
- ___ lives > 0: keeps repeating while the player has lives.
- Use ___ to leave a loop early.
- x ___ 5 checks whether x is not equal to 5.
- if age > 12 ___ age < 20: checks that both are true.
- name = ___("What is your name? ") asks the user to type.
- count ___ 1 adds 1 to count.
Show answers
- ___ score >= 90: starts a condition. → if
- After if, use ___ to check another condition. → elif
- ___: runs when no earlier condition was true. → else
- for i in ___(5): repeats five times. → range
- ___ lives > 0: keeps repeating while the player has lives. → while
- Use ___ to leave a loop early. → break
- x ___ 5 checks whether x is not equal to 5. → !=
- if age > 12 ___ age < 20: checks that both are true. → and
- name = ___("What is your name? ") asks the user to type. → input
- count ___ 1 adds 1 to count. → +=
👩🏫 For teachers
- Level
- 11–14 years
- Subject
- Computer science
- Questions
- 10
- Time
- about 2 min
- Last updated
How to use it: A quick starter or exit ticket: project it and let the class answer together, or set it as homework to see who needs more help.
Similar activities
Grade 9 Computer Science: Introduction to Programming Quiz
10 items · Computer science
Ján Stríž – ModernScholar Team
Grade 9 Computer Science: Python Expressions – Type the Result
11 items · Computer science
William Carter – ModernScholar Team
Grade 9 Computer Science: Sense, Think or Act? Sort the Robot Parts
11 items · Computer science
Ella Kurdaj – ModernScholar Team
Grade 9 Computer Science: Robotics Terms Match Up
9 items · Computer science
William Carter – ModernScholar Team
Grade 9 Computer Science: Mean, Median, Mode and Range – Type the Answer
10 items · Computer science
Daniel Mitchell – ModernScholar Team
Grade 6 Computer Science: Networks and the Internet Quiz
10 items · Computer science
Ivana Čadová – ModernScholar Team
Grade 8 Computer Science: Physical Computing Quiz
10 items · Computer science
Oliver Harrison – ModernScholar Team
Grade 9 Computer Science: Robotics Quiz
10 items · Computer science
Lucia Kučavík – ModernScholar Team