Key Python Data Types

Key Python Data Types

9th Grade

16 Qs

quiz-placeholder

Similar activities

Python data types

Python data types

Python Data Types

Python Data Types

Python Data Types

Python Data Types

Python Programming -1

Python Programming -1

Introduction to Python, variables and data types

Introduction to Python, variables and data types

Python Data Types

Python Data Types

Key Python Data Types

Key Python Data Types

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Sean Farrelly

Used 96+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Identify two values that can be stored as the Boolean data type

True

Apples

Oranges

False

Answer explanation

Media Image

In python Boolean is a defined data type if you assign the value to a variable as shown below

green = True

Python will as assign the data type

Boolean to the variable green

The only possible other option you could then assign to the variable green would be False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default data type in Python?

Real

String

Integer

Number

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character represents a comment in Python code?

*

#

&

$

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

False

True

5.

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.

6.

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.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which value is an Integer?

64

"cat"

True

0.5

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