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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Quiz 9 (15.09.2021)
Quiz
•
1st - 12th Grade
15 questions
WordPress Basics Exam
Quiz
•
9th Grade
15 questions
Year 8 - Illustrator - L4
Quiz
•
7th - 9th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
10 questions
Python
Quiz
•
3rd - 10th Grade
15 questions
การเขียนโปรแกรมภาษา
Quiz
•
8th - 9th Grade
10 questions
PERKAKASAN KOMPUTER
Quiz
•
1st - 10th Grade
11 questions
What is a computer
Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
