Basic Python Bug Squashing
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
James Abela
Used 7+ times
FREE Resource
Enhance your content in a minute
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
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
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
12 questions
Microsoft Office Word
Quiz
•
4th Grade - University
10 questions
Microsoft Windows
Quiz
•
4th Grade - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
16 questions
Topic 1 - Computer Fundamentals
Quiz
•
1st - 9th Grade
10 questions
Creating Database Tables
Quiz
•
8th - 10th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
