stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Python Lists Review Flashcards | StudBud
Explore
/
Python Lists Review
Python Lists Review
35 terms
·
StudBud Administration
·
20 plays
Imported from external platform
Flashcards
35 cards
F
Practice quiz
P
Host live
L
Questions
35
Answers
1
What is output by the code below?
5
34
Error
9
2
What is output by the code below?
8
7
5
4
3
What is output by the code below?
25
19
20
11
4
What is output by the code below?
[99, 11, 66, 55, 33]
[33]
There is no output due to a runtime error.
[33, 55, 66, 11, 99]
5
The quote "Now I am become Death, the destroyer of worlds" famously cited by J. Robert Oppenheimer came from which text?
The Quran
The Bhagavad Gita
The Illiad
The Epic of Gilgamesh
6
What is output by the code below?
Hi
['Hi', 'my,', 'name', 'is', 'Bob']
sen
Hi my name is Bob
7
Which of the following countries' flags does not feature a dragon?
Bhutan
Kyrgyzstan
Malta
Wales
8
Which of the following is not a borough of New York City?
the Bronx
Queens
Staten Island
Long Island
9
What is output by the code below?
[3, 2, 4, 0, 1, 2, 3, 4]
[3, 2, 4, 5, 6, 7, 8, 9]
[3, 2, 4, 1, 2, 3, 4, 5]
[3, 2, 4, 5, 6, 7, 8, 9, 10]
10
What is output by the code below?
Hi Sally
Error
['Hi', 'my,', 'name', 'is', 'Sally']
Hi my, name is Sally
11
What is output by the code below?
hamster
['cat', 'dog', 'fish']
dog
2
12
What is output by the code below?
[6,3,4,3]
[3,6,3,4,3]
[6,4,3]
[6,4]
13
What is output by the code below?
Error
90
87
4
14
What is output by the code below?
[67, 83, 48, 103]
[44, 18, 37, 10]
Error
[23, 65, 11, 93]
15
What is output by the code below?
['c', 'a', 't']
['e', 'f', 't', 'a', 'c', 'g', 'h']
['e', 'f', 'c', 'a', 't', 'g', 'h']
['t', 'a', 'c']
16
What is output by the code below?
['Play', 'the', 'game']
['Play', 'a', 'game']
['a', 'the', 'game']
Play a game
17
What is output by the code below?
[5, 4, 3, 2, 1, 0, 88, 22, 34]
[88, 22, 34, 4, 3, 2, 1, 0]
[4, 3, 2, 1, 0, 88, 22, 34]
[0, 1, 2, 3, 4, 88, 22, 34]
18
What is output by the code below?
[7, 5, 6]
7 5 6
4
7 5 6 4
19
What is output by the code below?
['red', 'green', 'blue']
red
['red']
['green', 'blue']
20
Narendra Modi Stadium is the world's largest stadium and was built for this sport
Soccer (Football)
Rugby
Cricket
Swim and Dive
21
What is output by the code below?
[7, 6, 3, 2, 4]
5 5 5
5 7 5 6 5 3 2 4
7 6 3 2 4
22
What is output by the code below?
[44, 10, 37, 18]
[44, 18, 37, 18]
[10, 18, 37, 44]
[44, 10, 37, 10]
23
What is output by the code below?
[45, 72, 34, 0, 1, 2, 3, 4]
[0, 1, 2, 3, 4, 45, 72, 34]
[4, 3, 2, 1, 0, 45, 72, 34]
[1, 2, 3, 4, 5, 45, 72, 34]
24
What is output by the code below?
653
23
876
34
25
Where is Harvard University?
Los Angeles, CA
Philadelphia, PA
Cambridge, MA
New Haven, CT
26
What is output by the code below?
[0, 1, 2, 3, 4, 5]
[5, 10, 15, 20, 25, 30]
[0, 5, 10, 15, 20, 25]
[1, 2, 3, 4, 5, 6]
27
What is output by the code below?
34.45
[12.32, 87.99, 13.22, 65.98]
[12.32, 87.99, 13.22, 65.98, 34.45]
[34.45, 12.32, 87.99, 13.22, 65.98]
28
What is output by the code below?
["he", "is", "running", "slowly"]
["he", "is", "slowly"]
["he", "is", "slowly", "running"]
["he", "is", "running"]
29
What is output by the code below?
[7, 9]
[ ]
Error
[7, 9, 3, 2, 4]
30
What is output by the code below?
['cup', 'bowl', 'plate']
Error
spoon
['cup', 'bowl', 'plate', 'spoon']
31
What is output by the code below?
4
9
8
27
32
What is output by the code below?
['a', 'a', 'a']
['o', 'a', 'p', 'a', 'q', 'r', 'a']
['a', 'a', 'a', 'o', 'p', 'q', 'r']
['o', 'p', 'q', 'r', 'a', 'a', 'a']
33
What is output by the code below?
5
7
[51, 45, 23, 54, 40, 22, 35]
[51, 23, 54, 40, 35]
34
What is output by the code below?
21
5
43
89
35
Which of the following venues does not host one of the four tennis Grand Slam tournaments
USTA Billie Jean King National Tennis Center
All England Lawn Tennis and Croquet Club
Stade Roland Garros
Indian Wells Tennis Garden