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
14 questions
CodeHS - Java - Karel - Sec1-4

Quiz
•
8th - 10th Grade
12 questions
Programming - Output

Quiz
•
KG - 12th Grade
10 questions
Thunkable quiz

Quiz
•
8th - 9th Grade
14 questions
CTE Gaming #3 (37-51)

Quiz
•
6th - 8th Grade
12 questions
Python

Quiz
•
7th - 8th Grade
15 questions
CodeHS - Java - Karel (Sec 1-3)

Quiz
•
7th - 10th Grade
15 questions
Python Objective 2

Quiz
•
8th Grade
13 questions
Entry Level - Programming Techniques

Quiz
•
8th - 9th 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
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

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

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade