Python L24 Debugging Skill

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Future Teacher
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main issue in the following code?
Missing colon
Wrong function name
Indentation error
Syntax error due to print
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this print?
Looping!
Looping!
Looping!
i
i
i
Looping!
Looping!
Looping!
Looping!
Looping!
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Using == assigns a value to a variable in Python.
True
False
Answer explanation
= is to assign variable
== is for comparison
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pick the correct code without bugs.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What’s the bug?
Missing quotation mark
Missing closing parenthesis )
Variable not defined
Variable not defined
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's wrong here?
range(5) is not valid
Missing colon : after for
Incorrect indentation
Wrong loop type
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What error will this cause?
SyntaxError
ValueError
IndexError
TypeError
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
10 questions
Python Lists

Quiz
•
8th - 9th Grade
10 questions
BrainPOP Loops

Quiz
•
8th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
10 questions
Python - Printing, Variables and Syntax

Quiz
•
8th Grade
15 questions
Gaming Lesson 2

Quiz
•
6th - 8th Grade
15 questions
Python Turtle Quiz

Quiz
•
7th Grade
10 questions
Python eduBlocks Quiz

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade