Python Programming Quiz

Python Programming Quiz

9th - 12th Grade

70 Qs

quiz-placeholder

Similar activities

Python Functions and Methods

Python Functions and Methods

11th Grade

71 Qs

CodeHS Functions in Python

CodeHS Functions in Python

11th Grade

71 Qs

Topic 4.2, 4.3, 4.4, 4.5

Topic 4.2, 4.3, 4.4, 4.5

12th Grade

66 Qs

Intro to Computer Science

Intro to Computer Science

12th Grade

74 Qs

Recap - OOP, Python and Computational thinking

Recap - OOP, Python and Computational thinking

10th Grade

70 Qs

ICSE Grade 9 Quiz Computers

ICSE Grade 9 Quiz Computers

8th - 9th Grade

67 Qs

Python Functions: Userdefined

Python Functions: Userdefined

12th Grade

70 Qs

python_22

python_22

12th Grade - University

71 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?