Python List Quiz

Quiz
•
Computers
•
11th Grade
•
Medium
Vinita Sharma
Used 6+ 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
12 questions
Programming - Output

Quiz
•
KG - 12th Grade
10 questions
Python Input/Output

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

Quiz
•
10th - 12th Grade
10 questions
Pseudocode WHILE Loops

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

Quiz
•
10th - 11th Grade
15 questions
Python Lists

Quiz
•
8th - 12th Grade
10 questions
Google Docs Quiz

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

Quiz
•
10th - 11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade