Python List Quiz

Quiz
•
Computers
•
11th Grade
•
Medium
Vinita Sharma
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [1, 5, 9], what is sum(list1)?
1
9
15
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [3, 5, 25, 1, 3], what is min(list1)?
3
5
25
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?
Error
None
25
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose listExample is ['h','e','l','l','o'], what is len(listExample)?
5
4
None
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [2445,133,12454,123], what is max(list1)?
2445
133
12454
123
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]?
[2, 33, 222, 14]
Error
25
[25, 14, 222, 33, 2]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands will create a list?
list1 = list()
list1 = []
list1 = list([1, 2, 3])
all of the mentioned
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Pseudocode WHILE Loops

Quiz
•
10th - 12th Grade
10 questions
Python(if/else masala)

Quiz
•
10th - 11th Grade
10 questions
Google Docs Quiz

Quiz
•
6th - 12th Grade
12 questions
Programming - Output

Quiz
•
KG - 12th Grade
14 questions
2.3 Producing Robust Programs

Quiz
•
10th - 11th Grade
12 questions
Deep Learning quiz 2

Quiz
•
1st - 12th Grade
15 questions
AP CSP Algorithms & Programming (College Board Style)

Quiz
•
9th - 12th Grade
15 questions
Python Lists

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade