
Python Ranges and Operators
Authored by Marissa Montes
Other
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code
Salary: 12000 Salary: 8000
Salary: 8000 Salary: 12000
The program failed with errors
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
The program executed with errors
[‘Jon’, ‘Kelly’, ‘Scott’, ‘Jessa’]
[‘Jon’, ‘Kelly’, ‘Jessa’, ‘Scott’]
[‘Jon’, ‘Scott’, ‘Kelly’, ‘Jessa’]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
True
True
True
False
False
True
False
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
20
30
The program executed with errors
24
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
{‘Vicki’, ‘Jodi’, ‘Garry’, ‘Eric’}
{‘Jodi’, ‘Vicki’, ‘Garry’, ‘Eric’}
The program executed with error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
py
yn
pyn
yna
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can we use the “else” block for for loop?
for example:
No
Yes
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?