Python data types

Python data types

9th Grade

12 Qs

quiz-placeholder

Similar activities

Python data types

Python data types

Variable Types, Functions Review

Variable Types, Functions Review

Python - Casting, data types, e.t.c.

Python - Casting, data types, e.t.c.

Python Data Types

Python Data Types

Key Python Data Types

Key Python Data Types

Python Basics Quiz

Python Basics Quiz

Project STEM 2.1-2.2

Project STEM 2.1-2.2

Python data types

Python data types

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Andrew Friend

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a String?

A data type that contains whole numbers. eg: 3, 45, 124

Numbers with decimal point. eg: 0.5, 2.45, 56.04

Group of characters between quotation marks. eg: "dog"

Data type that can only be True or False.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which value is a String?

64

"cat"

True

0.5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an Integer?

A data type that contains whole numbers. eg: 3, 45, 124

Numbers with decimal point. eg: 0.5, 2.45, 56.04

Group of characters between quotation marks. eg: "dog"

Data type that can only be True or False.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Float?

A data type that contains whole numbers. eg: 3, 45, 124

Numbers with decimal point. eg: 0.5, 2.45, 56.04

Group of characters between quotation marks. eg: "dog"

Data type that can only be True or False.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which value is of data type String?

64

"Cat"

True

0.5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable is a named value that can be changed in the program.

False

True

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the data type of num1 if the following code is executed?

num1=float(5)

string

int

float

number

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers