Search Header Logo

Learn Python Basics - Introduction

Authored by Diwakar Tiwary

Computers

6th - 8th Grade

Used 4+ times

Learn Python Basics - Introduction
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

0.0 is a ___?

float (floating-point number)

int (integer)

str (string)

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

'0.0' is a ___?

float (floating-point number)

int (integer)

str (string)

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which part of the following program is ignored by the computer? print('Having fun?') # print output

print('Having fun?')

# print output

Both

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What's the variable in the following code?

jack = 'name'

jack

'name'

name

=

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What's the output of the following code?

name = 'Jack' print(name)

print('Jackie')

Jackie

Jack

Jackie

name

Jackie

Jackie

Jack

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What's the output of this code?

var = 25.5

var = 'Jack'

var = 25.5

print(var)

25.5

25.5

Jack

25.5

Jack

None of the above

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?