Python Data Types Quiz

Python Data Types Quiz

10th Grade

20 Qs

quiz-placeholder

Similar activities

Python Variables

Python Variables

University

15 Qs

Evaluasi Python Tuple

Evaluasi Python Tuple

University

20 Qs

Python Basics

Python Basics

University

15 Qs

[Python For All] Quiz 2 - Rewind.py

[Python For All] Quiz 2 - Rewind.py

University

20 Qs

Strings, Lists & Tuples

Strings, Lists & Tuples

9th - 12th Grade

20 Qs

Lists and Tuples

Lists and Tuples

11th Grade

19 Qs

Python Revision Tour - I

Python Revision Tour - I

12th Grade

15 Qs

Basics of programming - Quiz - 01

Basics of programming - Quiz - 01

University - Professional Development

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