Python Data Types Quiz

Python Data Types Quiz

7th Grade

10 Qs

quiz-placeholder

Similar activities

Java Script Pro

Java Script Pro

3rd Grade - University

12 Qs

EvaluativeQuiz

EvaluativeQuiz

6th - 8th Grade

15 Qs

Python Kids Quiz - 2

Python Kids Quiz - 2

3rd - 7th Grade

10 Qs

DATA TYPES

DATA TYPES

7th Grade

10 Qs

Review Quizzes: مراجعة فقط

Review Quizzes: مراجعة فقط

7th Grade

14 Qs

Numeric and Text datatypes

Numeric and Text datatypes

7th Grade

10 Qs

python

python

3rd Grade - University

12 Qs

Python armenia

Python armenia

1st Grade - University

10 Qs

Python Data Types Quiz

Python Data Types Quiz

Assessment

Quiz

Other

7th Grade

Medium

Created by

Laura Coop Rushworth

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the variable 'x' in the following code: x = 5?

integer

float

boolean

string

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a sequence of characters in Python?

integer

string

boolean

float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: 10 / 3?

3.3333333333333335

3.333333333333333

3.3333333333333337

3.3333333333333339

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a collection of elements in Python?

tuple

set

list

dictionary

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: print(type(3.14))?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a single character in Python?

int

float

bool

str

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: 5 + '2'?

52

10

52

7

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?