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
Python basics

Quiz
•
6th - 8th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
11 questions
PYTHON "If" Statement

Quiz
•
6th Grade
10 questions
Programming in Java

Quiz
•
8th Grade
10 questions
Python Statements

Quiz
•
5th - 7th Grade
12 questions
Python

Quiz
•
7th - 9th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade