Python Basics Review (TSK)

Python Basics Review (TSK)

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is Python named after? Options: The television show Monty Python's Flying Circus, A Snake, The name of the guy who created it, "Guido Python", The snake game, "Python".

Back

The television show Monty Python's Flying Circus

2.

FLASHCARD QUESTION

Front

What Python command is used to output text to the screen? Options: input(), print(), int(), display()

Back

print()

3.

FLASHCARD QUESTION

Front

What is the purpose of comment lines in code?

Back

To explain the code that follows it.

4.

FLASHCARD QUESTION

Front

Which symbol is used to make a comment line in Python?

Back

#

5.

FLASHCARD QUESTION

Front

Returns the remainder from division.

Back

modulus

6.

FLASHCARD QUESTION

Front

A line of text Python won't try to run as code.

Back

comment

7.

FLASHCARD QUESTION

Front

Which is the correct way to declare and initialize a variable in Python? Options: my_variable: 10, my_variable == 10, my_variable = 10, my_variable is 10

Back

my_variable = 10

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?