Python Programming Quiz

Python Programming Quiz

9th - 12th Grade

70 Qs

quiz-placeholder

Similar activities

Python Cert Vocab

Python Cert Vocab

11th Grade

74 Qs

Python Basics

Python Basics

9th - 12th Grade

72 Qs

Computer Science Webxam

Computer Science Webxam

12th Grade

74 Qs

Python Final test Part_2(Nile)

Python Final test Part_2(Nile)

10th Grade

73 Qs

Python Midterm

Python Midterm

12th Grade

74 Qs

ICSE Grade 9 Quiz Computers

ICSE Grade 9 Quiz Computers

8th - 9th Grade

67 Qs

UHS End of year KS3 assessment (year 9)

UHS End of year KS3 assessment (year 9)

9th Grade

70 Qs

OCR GCSE TEST 2

OCR GCSE TEST 2

12th Grade

70 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

WaiLin Htet

FREE Resource

70 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(10 % 3)?

3

1

0

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to skip the current iteration of a loop?

break

continue

pass

skip

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a set?

[1, 2, 3]

(1, 2, 3)

{1, 2, 3}

{1:2, 3:4}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(bool(0))?

True

False

0

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method adds an item to a set?

append()

add()

insert()

push()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print("Python".lower())?

PYTHON

python

Python

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for logical AND?

&&

and

||

or

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?