Search Header Logo

Python Topics 1 & 2

Authored by Elie Castillo

Computers

11th Grade

Used 1+ times

Python Topics 1 & 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The str() function converts the specified value into a string.

Yes

No

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The int() function converts the specified value into an integer number.

False

True

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the float() function converts the specified value into a floating point number, what is the floating point number for 5?

0.5

5

5.1

3.5

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

We can compare two values in Python, and will return a:

Int

Boolean Values

Yes or No

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We must write the booleans "True or False" in:

Lower Case

Letters

All in Upper Case

The first letter in Upper Case

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

An example of data convertion is:

converting int data to str.

Implicit Conversion

Explicit Conversion

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which ones use "[...]" in construct data structures:

Sets and dictionaries

Tuples and sets

Lists

Dictionaries

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?