Search Header Logo

Python Quiz 2

Authored by Marcus J

Computers

4th Grade - Professional Development

Used 4+ times

Python Quiz 2
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

30 sec • 1 pt

When you compare two values, the expression is evaluated and Python returns a Boolean answer.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you run a condition in an if statement, Python returns True or False.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

thislist = ["apple", "banana", "cherry"] , print(thislist)

None of these are the compilers response

a, b, c

apple, banana, cherry

['apple', 'banana', 'cherry']

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define zip()

None of these

Returns an iterator, from two or more iterators

Returns an application title, from two or more iterators, and lists alphabetically.

Returns an apoapsis, from two or more sats.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define vars()

Returns the __dict__ property of an object

None of these

Returns variables within a method.

Returns the count of text within one or more variabels.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define type()

All of these

Returns the type of an object.

Returns the type of an instance after manipulated object POSTED.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

tuple() method returns a tuple aka storing multiple items in a single variable

True

False

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?