Python Datatypes

Python Datatypes

9th - 12th Grade

13 Qs

quiz-placeholder

Similar activities

Computer Science Principals Final

Computer Science Principals Final

9th - 12th Grade

17 Qs

Основи Python

Основи Python

12th Grade

10 Qs

Ôn tập KTGK. Bài 18. Các lệnh vào ra đơn giản

Ôn tập KTGK. Bài 18. Các lệnh vào ra đơn giản

10th Grade

15 Qs

Basic Python and Console Interaction - Mod3

Basic Python and Console Interaction - Mod3

10th Grade

12 Qs

9.Sınıf 1.Dönem Çalışma Soruları

9.Sınıf 1.Dönem Çalışma Soruları

9th Grade

12 Qs

Python User Input Quiz

Python User Input Quiz

6th Grade - University

10 Qs

AP CSP Python Quiz 1

AP CSP Python Quiz 1

10th - 12th Grade

11 Qs

Microbit (python)

Microbit (python)

8th - 10th Grade

15 Qs

Python Datatypes

Python Datatypes

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

J Joel Thomas

Used 6+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the possible values for a boolean datatype

Yes, No

Ok, Cancel

True, False

0, 1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two sub categories of numeric data type?

int, float

String, text

bool, text

int, str

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

'int' can contain only

decimals

whole numbers

0 and 1

true or false

4.

DROPDOWN QUESTION

1 min • 1 pt

Casting is the process of​ (a)  

Converting one datatype to another
Selecting suitable actors
Assigning values

5.

MATCH QUESTION

1 min • 1 pt

Match the following

whole numbers

int

decimal numbers

str

true or false

bool

0

int

text

float

6.

MATCH QUESTION

1 min • 1 pt

Match the outputs

3

int(3.0)

3.0

float(3)

3

int(3)

'3.0'

float('3.0')

3.0

str(3.0)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The input() always converts the user-input to

boolean

int

float

text

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?