Basic Python Bug Squashing

Basic Python Bug Squashing

9th Grade

11 Qs

quiz-placeholder

Similar activities

Ready Player One - HPSS ZOMBIES

Ready Player One - HPSS ZOMBIES

9th Grade

10 Qs

Python есептер 1

Python есептер 1

9th - 12th Grade

16 Qs

Revision Gr2-2025

Revision Gr2-2025

3rd Grade - University

12 Qs

Computer Parts

Computer Parts

5th - 11th Grade

10 Qs

Programing test

Programing test

1st Grade - University

10 Qs

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

IT INDUSTRY

IT INDUSTRY

7th - 10th Grade

12 Qs

Linux: Users and Groups

Linux: Users and Groups

9th Grade - University

14 Qs

Basic Python Bug Squashing

Basic Python Bug Squashing

Assessment

Quiz

Computers

9th Grade

Hard

Created by

James Abela

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?