Python Data Types Quiz

Python Data Types Quiz

10th Grade

20 Qs

quiz-placeholder

Similar activities

SCRIPTING PROGRAMMING WITH PYTHON

SCRIPTING PROGRAMMING WITH PYTHON

University

15 Qs

UH1_INFO_XII

UH1_INFO_XII

11th Grade

20 Qs

Python Programming

Python Programming

11th Grade

17 Qs

Lists and Tuples

Lists and Tuples

11th Grade

19 Qs

15 Days of Code

15 Days of Code

11th Grade - University

22 Qs

Python

Python

10th Grade

23 Qs

GirlsWhoML Workshop 0

GirlsWhoML Workshop 0

University

20 Qs

Database Concepts

Database Concepts

11th 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?