Write it · William Carter – ModernScholar Team · ✔ checked content
🇺🇸 Computer science · Grade 9 › Introduction to programming
Grade 9 Computer Science: Python Expressions – Type the Result
Work out what each Python expression evaluates to and type the result.
🏆 Leaderboard
- No scores yet – be the first!
Questions in this game (11 items)
- 7 % 3
- 17 % 5
- 7 // 2
- 2 ** 4
- 10 / 4
- "ab" + "cd"
- "ha" * 3
- len("python")
- int("5") + 2
- 3 > 2 and 1 > 5
- not (4 == 4)
Show answers
- 7 % 3 → 1
- 17 % 5 → 2
- 7 // 2 → 3
- 2 ** 4 → 16
- 10 / 4 → 2.5
- "ab" + "cd" → abcd
- "ha" * 3 → hahaha
- len("python") → 6
- int("5") + 2 → 7
- 3 > 2 and 1 > 5 → False
- not (4 == 4) → False
👩🏫 For teachers
- Level
- 11–14 years
- Subject
- Computer science
- Questions
- 11
- 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 Control Structures Fill In the Gap
10 items · Computer science
Ella Kurdaj – 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 7 Computer Science: Python Basics Fill In the Gap
10 items · Computer science
Alexander Brooks – 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