
Python Lists Quiz
Authored by Shiwen Zhang
Computers
University
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
以下语法的结果是什么:
mylist = ['apple', 'banana', 'cherry']
print(mylist[1])?
Banana
Cherry
Orange
Apple
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
列表 mylist = ['apple', 'banana', 'cherry'] 的第一个元素是什么?
grape
apple
cherry
banana
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
这个列表里面有几个元素 mylist = ['apple', 'banana', 'cherry']?
5
4
3
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下面哪个元素不属于列表mylist
mylist = ['apple', 'banana', 'cherry']?
banana
cherry
apple
kiwi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何访问列表 mylist = ['apple', 'banana', 'cherry'] 的最后一个元素?
mylist[3]
mylist[-1]
mylist[0]
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
打印列表fruits里面的第二个元素
fruits = ["apple", "banana", "cherry"]
print( )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列代码的运行结果为
mylist = ['apple', 'banana', 'cherry', 'orange', 'kiwi']
print(mylist[1:4])
['banana', 'cherry', 'orange']
['banana', 'cherry', 'orange', 'kiwi']
['cherry', 'orange', 'kiwi']
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?
Similar Resources on Wayground
20 questions
IT QUIZ
Quiz
•
12th Grade - University
20 questions
STS Konsentrasi Keahlian TJKT Kelas XI
Quiz
•
12th Grade - University
20 questions
InnovateHER Team Bonding Trivia
Quiz
•
University
20 questions
Typescript
Quiz
•
University
15 questions
Quiz Bab 8 Kelas 5
Quiz
•
5th Grade - University
15 questions
HTML BASICS 1
Quiz
•
University
20 questions
General Knowledge (ICT EDITION)
Quiz
•
10th Grade - University
20 questions
Kuis Android Studio
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University