Python Basics Review (TSK)

Python Basics Review (TSK)

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz 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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?