Basic Python Bug Squashing

Quiz
•
Computers
•
9th Grade
•
Hard
James Abela
Used 7+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Iteration

Quiz
•
9th - 12th Grade
10 questions
Python Selection

Quiz
•
9th - 10th Grade
10 questions
PC1.8 Evaluate computer program

Quiz
•
9th Grade
15 questions
CICS Test 2 Review

Quiz
•
9th - 12th Grade
10 questions
Thunkable quiz

Quiz
•
8th - 9th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
12 questions
Syntax and Logic Errors

Quiz
•
9th - 11th Grade
10 questions
Python Review - Functions

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade