Python Basics Quiz - Revision

Python Basics Quiz - Revision

12th Grade

15 Qs

quiz-placeholder

Similar activities

Python Inbuilt functions

Python Inbuilt functions

12th Grade

15 Qs

Data handling using pandas and Data visualization

Data handling using pandas and Data visualization

12th Grade

20 Qs

Unit 8 CS Python Test

Unit 8 CS Python Test

12th Grade

15 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python Syntax

Python Syntax

6th - 12th Grade

14 Qs

Python Boolean

Python Boolean

11th - 12th Grade

11 Qs

Python Strings

Python Strings

12th Grade

10 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python Basics Quiz - Revision

Python Basics Quiz - Revision

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Vatsala Dadeech

FREE Resource

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

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?