Search Header Logo

Python Basics Unit 3.1

Authored by Sarah Flores

Computers

12th Grade

Used 48+ times

Python Basics Unit 3.1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an assignment operator in python?

+

( )

=

==

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How do you comment in Python?

#

*

''' '''

( )

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type(6.8))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type("hello"))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type(6))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type(True))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type("5"))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

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?