Search Header Logo

Data Types

Authored by John Arquiza

Computers

12th Grade

Used 6+ times

Data Types
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

What is the output of the following code?

NameError

25

25

25

50

2.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

What is the output of the following code?

50

NameError

None

3.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

What is the result of print(type({}) is set)

True

False

4.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

What is the output of the following variable assignment?

Error

76

1

None

5.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

What is the data type of print(type(10))

float

integer

int

6.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

Please select the correct expression to reassign a global variable “x” to 20 inside a function fun1()

global x =20

global var x

x = 20

global.x = 20

global x

x = 20

7.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

What is the result of print(type([]) is list)

False

True

Access all questions and much more by creating a free account

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?