
Python review Quiz
Authored by Summer Li
Computers
8th - 10th Grade
Used 9+ times

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 • 5 pts
Extra blank lines between Python code lines will change how the program runs.
True
False
Answer explanation
Generally speaking, an extra blank line will not affect the behaviour and functionality of the Python code.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
These two lines of code do exactly the same thing.
True
False
Answer explanation
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
These two lines of code do exactly the same thing.
True
False
Answer explanation
The print will display a message on the screen and move on
The input will display a message; at the same time, the program pauses and waits for the user to enter information and press the Enter key.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How would we display it on the screen?
print(red + "A" + blue + "B")
print("A" + Colour.red + "B" + Colour.blue + Highlight.cyan)
print ( " redAblueB")
print(Colour.red + "A" + Colour.blue + Highlight.cyan + "B")
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following statement is true about the module?
CSINSC is an example of the module
The module is a collection of source files
modules provide reusability of code
All above are correct
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?