Python L24 Debugging Skill

Python L24 Debugging Skill

6th - 8th Grade

11 Qs

quiz-placeholder

Similar activities

Programming - What Do I Know?

Programming - What Do I Know?

7th - 9th Grade

15 Qs

If Statements

If Statements

6th Grade

11 Qs

algorithms and programming

algorithms and programming

8th - 10th Grade

16 Qs

Python - Variables and Input

Python - Variables and Input

1st - 10th Grade

16 Qs

2.5 Translators & Facilities - OCR GCSE Computer Science

2.5 Translators & Facilities - OCR GCSE Computer Science

7th - 12th Grade

13 Qs

Python Intro

Python Intro

8th - 9th Grade

10 Qs

Code.org  Review

Code.org Review

5th - 10th Grade

16 Qs

Quiz Lec2

Quiz Lec2

KG - University

10 Qs

Python L24 Debugging Skill

Python L24 Debugging Skill

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Future Teacher

Used 1+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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.

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What’s the bug?

Missing quotation mark

Missing closing parenthesis )

Variable not defined

Variable not defined

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

What error will this cause?

SyntaxError

ValueError

IndexError

TypeError

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?