Search Header Logo
Python Variables

Python Variables

Assessment

Interactive Video

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

JASON SAMMONS

Used 2+ times

FREE Resource

33 questions

Show all answers

1.

SLIDE QUESTION

30 sec • Ungraded

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is a float different from an integer?

It does not have a decimal component

It is always positive

It has a decimal component

It is always negative

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main characteristic of a float?

It is a whole number

It is a character

It has a decimal component

It is a string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a float?

5.5

0.0

7

3.14

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? my_string = "Hello" print(type(my_string))

Hello

<classs str>

Hello

<classs int>

Hello!

<classs str>

Hi

<classs float>

6.

SLIDE QUESTION

30 sec • Ungraded

7.

SLIDE QUESTION

30 sec • Ungraded

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?