JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Class VIII - Python - AE - Revision 2
Sign in to Google
to save your progress.
Learn more
* Indicates required question
What can improperly handled special characters cause?
*
1 point
Syntax errors
Compilation errors
Runtime errors
Linker errors
What are the basic building blocks of a Python program?
*
1 point
Statements
Keywords
Tokens
Identifiers
Which is NOT a Python keyword?
*
1 point
if
else
for
print
What are variable names examples of?
*
1 point
Keywords
Literals
Operators
Identifiers
What is the purpose of comments?
*
1 point
Improve readability
Increase speed
Reduce code size
Confuse interpreter
What symbol starts a single-line comment?
*
1 point
//
/*
#
How are multi-line comments denoted?
*
1 point
Single quotes
Double quotes
Triple quotes
Braces
What is a literal in Python?
*
1 point
A keyword
A variable name
A constant value
An operator
What is an operator in Python?
*
1 point
A keyword
A variable name
A symbol performing an operation
A data type
What is a delimiter in Python?
*
1 point
A keyword
A character separating tokens
A data type
An operator
What is a token in Python?
*
1 point
A complete line of code
The smallest unit of code
A data type
A comment
What is the purpose of whitespace in Python?
*
1 point
To improve readability
To separate tokens
To define code blocks
All of the above
Which of the following is a valid Python identifier?
*
1 point
1variable
my-variable
_myVariable
my variable
Which of the following is an invalid Python identifier?
*
1 point
myVariable
MyVariable
my_variable
2myVariable
What is the difference between a single-line and a multi-line comment?
*
1 point
Syntax
Length
Purpose
Interpreter handling
Submit
Clear form
This content is neither created nor endorsed by Google. -
Terms of Service
-
Privacy Policy
Does this form look suspicious?
Report
Forms
Help and feedback
Contact form owner
Help Forms improve
Report