Search Header Logo

Python Basics

Authored by Loreen Obeid

Professional Development

9th - 12th Grade

Used 2+ times

Python Basics
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 • 1 pt

Media Image

The following code has an error because

The whole statement should be a string

We cannot concatenate a string and another string

The number 1 should be considered a string so it can be concatenated

We can never concatenate a string with an integer

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

float represents

Text

Positive and negative numbers

decimals

remainder

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

declaring a variable is giving a value to it

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following variable includes a mistake

students grades = 33

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Combining two different data together occurs using

, or +

, and +

, and " ''

, or " "

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The output of the following code

print(2**3)

is

6

5

1.5

8

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?