
Python CH1-3 Review
Authored by Tyler Sahlin
Computers
8th Grade - Professional Development
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
59 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are ways you can run a Python program?
Double clicking on the file directly
Opening the file in IDLE and clicking “Run Module”
Running the program through Command Prompt or terminal
All the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the file extension used for Python scripts?
.py
.p
.python
.ps
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have a variable named “True” and Python gives you an error. What’s the problem?
The “T” should be lower-case
“True” is a reserved keyword used by Python
Every letter must be capitalized
It’s correct. There is some other problem in the script
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The modulo operator uses what symbol?
**
//
%
^
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python comments are denoted by what symbol?
#
//
/*
$
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = True, y = False
What is the value of the expression not x?
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = True, y = False
What is the value of the expression y and not x?
True
False
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?