data type

data type

Professional Development

5 Qs

quiz-placeholder

Similar activities

Python Data Types

Python Data Types

Professional Development

10 Qs

Day 2

Day 2

Professional Development

10 Qs

Python Training Day-5 Quiz-5

Python Training Day-5 Quiz-5

Professional Development

10 Qs

Python

Python

University - Professional Development

10 Qs

SOALAN ASK T2 SET KOD ARAHAN

SOALAN ASK T2 SET KOD ARAHAN

Professional Development

10 Qs

DeFacto Python Day 2

DeFacto Python Day 2

Professional Development

8 Qs

Python - test yourself

Python - test yourself

6th Grade - Professional Development

5 Qs

Basic Python for DA

Basic Python for DA

Professional Development

10 Qs

data type

data type

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Shashi Weerasooriya

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code example would print the data type of x, what data type would that be?

x = 5

print(type(x))

str

int

flot

bool

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code example would print the data type of x, what data type would that be?

x = "Hello World"

print(type(x))

bool

int

flot

str

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code example would print the data type of x, what data type would that be?

x = 20.5

print(type(x))

int

bool

str

float

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code example would print the data type of x, what data type would that be?

x = ["apple", "banana", "cherry"]

print(type(x))

int

str

bool

list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code example would print the data type of x, what data type would that be?


x = True

print(type(x))

str

int

bool

list