
Basic Python Bug Squashing
Authored by James Abela
Computers
9th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is bug free?
print(str(5+2))
print(str(5+2)
print(str5+2))
print(5+"2")
Answer explanation
You can't mix strings and numbers with a +
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the gap: my_num = ___(input("Enter number"))
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
# What should go here?
print("Hello",name)
names = input("Your name?")
nama = "James"
name = input("Your name?")
James = name
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be output? print(14%12)
7
26
2
error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed. print(20//3)
6.666666666666667
6
7
error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed. print(20/3)
6.666666666666667
6
7
error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("20"//"3")
6.666666666666667
6
7
error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Python_基礎觀念
Quiz
•
9th Grade
12 questions
แบบทดสอบความรู้ทั่วไปเกี่ยวกับคอมพิวเตอร์และเทคโนโลยีสารสนเทศ
Quiz
•
9th - 12th Grade
13 questions
Copyrights and Wrongs Assessment
Quiz
•
9th - 12th Grade
10 questions
Fundamentos PHP (Manejo de Fomularios y arreglos)
Quiz
•
9th Grade
15 questions
visual basic 6.0 LDA
Quiz
•
9th Grade
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
2025 python class first quiz
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade