Search Header Logo

Python 101

Authored by Damien Gray

Computers

7th - 12th Grade

Used 6+ times

Python 101
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

1 min • 1 pt

Which function is used to output text to the screen?

display

output

print

echo

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is not a valid Python data type.

Int

String

Float

Block

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which loop structure would most commonly be used to go through each item in a list

for loop

while loop

forever loop

infinite loop

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

a = 6

b = 7

c = 5

d = b

Which of the following is true:

d == 6

d == 7

d != 7

d == 5

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which comparison operator means "Not equal to"

==

!=

/=

!!

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

a = 6.34


What data type is a?

float

int

bool

string

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which best describes Boolean datatypes?

Positive or Negative

True of False

Yes or No

Decimal or Integer

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?