Basic Python Bug Squashing

Basic Python Bug Squashing

9th Grade

11 Qs

quiz-placeholder

Similar activities

Berfikir Komputesional

Berfikir Komputesional

9th - 12th Grade

10 Qs

Bài làm việc Access, cấu trúc bảng

Bài làm việc Access, cấu trúc bảng

9th - 12th Grade

10 Qs

Input Device

Input Device

9th - 10th Grade

16 Qs

Conditions

Conditions

8th - 10th Grade

16 Qs

Name that OS

Name that OS

9th Grade

9 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

Test Your Knowledge of HTML

Test Your Knowledge of HTML

9th - 12th Grade

15 Qs

Basic Computer

Basic Computer

8th Grade - University

10 Qs

Basic Python Bug Squashing

Basic Python Bug Squashing

Assessment

Quiz

Computers

9th Grade

Practice Problem

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?