Python Data Types Quiz

Python Data Types Quiz

10th Grade

20 Qs

quiz-placeholder

Similar activities

Python Review KS3

Python Review KS3

9th - 12th Grade

17 Qs

Python MCQ

Python MCQ

University

20 Qs

Python Basic Quiz 01

Python Basic Quiz 01

University

17 Qs

List & String - Gtrade 9 Recap - Jan 22

List & String - Gtrade 9 Recap - Jan 22

9th - 11th Grade

20 Qs

Python basic 2

Python basic 2

University

15 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Exploring Python Fundamentals

Exploring Python Fundamentals

12th Grade - University

15 Qs

Python Lists

Python Lists

8th - 12th Grade

15 Qs

Python Data Types Quiz

Python Data Types Quiz

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Ummul Hasseena

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used to store whole numbers in Python?

Float

List

Integer

String

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an immutable data type in Python?

List

Set

Dictionary

String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the expression 10 // 3?

4

3.33

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in Python?

^

**

exp

^^

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression 5 % 2?

2

1

5

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types can store multiple values?

String

List

Boolean

Integer

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the expression 'Hello' + ' World'?

Hello World

HelloWorld

Hello + World

Error

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?