Python Basics Quiz - Revision

Python Basics Quiz - Revision

12th Grade

15 Qs

quiz-placeholder

Similar activities

To meet the horizon

To meet the horizon

11th - 12th Grade

20 Qs

Do you know alot about Roblox?

Do you know alot about Roblox?

2nd Grade - University

10 Qs

Computing figures

Computing figures

4th - 12th Grade

14 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

Keyboarding Terms

Keyboarding Terms

9th - 12th Grade

10 Qs

สอบเก็บคะแนน ไพทอน ม.4

สอบเก็บคะแนน ไพทอน ม.4

9th - 12th Grade

10 Qs

Python Basics Quiz - Revision

Python Basics Quiz - Revision

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Vatsala Dadeech

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the year in which Python was developed by Guido van Rossum?

1992

1990

1993

1991

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a feature of Python?

Difficult to use

Compiled language

Limited library support

Cross-platform language

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the expression 'print(3**3)' in Python?

6

9

27

81

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'int()' function in Python?

Converts string to integer

Converts integer to float

Converts float to integer

Converts integer to string

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of 'math.factorial(4)' in Python?

8

120

6

24

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of '5 & 3' in Python bitwise operations?

1

3

5

7

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'break' statement in Python?

Print a message

Do nothing

Skip remaining statements in the loop

Terminate the loop

Access all questions and much more by creating a free account

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

Already have an account?