Lines 1-3 show a partial program which creates a list of days of the week and assigns it to days.
If lines 4 & 5 were added to the program, what would the program output be?
Python Next Steps Homework Quiz
Quiz
•
Computers
•
8th - 10th Grade
•
Hard
Tracy Mayhead
Used 118+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lines 1-3 show a partial program which creates a list of days of the week and assigns it to days.
If lines 4 & 5 were added to the program, what would the program output be?
item
Wednesday
Thursday
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to multiply numbers?
*
x
#
%
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lines 1-3 show a partial program which creates a list of days of the week and assigns it to days.
If lines 4-6 were added to the program, what would the program output be?
Tuesday
1 Monday
1 Wednesday
Wednesday
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator can be used to compare two values?
=
==
<>
><
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What word would fill the gap in this code so that the items in the list days are displayed on the screen.
week
index
days
day
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start writing a for loop in Python?
for each x in y:
for x > y:
for x in y:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the user types 1 on the keyboard, what will be the output of this program when it is executed?
The second letter is e
It's a rocky planet
a e
The second letter is a
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms
Quiz
•
10th - 12th Grade
20 questions
8525 AQA GCSE 3.2.6 Data Structures
Quiz
•
10th Grade
15 questions
Python Unit 8 Quiz
Quiz
•
9th - 12th Grade
20 questions
Code.org Express Course
Quiz
•
6th - 8th Grade
15 questions
AP CSP Exam Review: Big Idea 3
Quiz
•
8th - 10th Grade
16 questions
Searching & Sorting Algorithms
Quiz
•
10th Grade - University
15 questions
AS Computing: Data Structures
Quiz
•
10th Grade - University
21 questions
Data Structures
Quiz
•
9th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres
Quiz
•
8th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade