Python List and Tuples

Flashcard
•
Computers
•
Professional Development
•
Hard
Quizizz Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
If list=[17,23,41,10] then list.append(32) will result
Back
[17,23,41,10,32]
2.
FLASHCARD QUESTION
Front
Which python function can be used to add more than one element within an existing list? Options: append( ), append_more( ), extend( ), more( )
Back
extend( )
3.
FLASHCARD QUESTION
Front
What output will this code produce? Options: red, ['blue', 'green', 'red'], ['red', 'green', 'blue'], error
Back
['red', 'green', 'blue']
4.
FLASHCARD QUESTION
Front
What is the output of the following list operation
aList = [10, 20, 30, 40, 50, 60, 70, 80]
print(aList[2:5])
print(aList[:4])
print(aList[3:])
Back
[30, 40, 50]
[10, 20, 30, 40]
[40, 50, 60, 70, 80]
5.
FLASHCARD QUESTION
Front
In Python, list is mutable
Back
True
6.
FLASHCARD QUESTION
Front
___________method adds a single item to the end of the list.
Back
append( )
7.
FLASHCARD QUESTION
Front
What is the value of list1 when the statement, list1+=list2 is executed?
Back
[10, 20, 30, 40, 15, 25, 35, 45]
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Cuestionario de Bash

Flashcard
•
University - Professi...
13 questions
Data Structures and Algorithms - Flashcard 1

Flashcard
•
University
12 questions
Hashing and Hash Tables

Flashcard
•
University
15 questions
NSCC-CODE TO COIN

Flashcard
•
University
9 questions
Conceptos Fundamentales de Python

Flashcard
•
Professional Development
15 questions
Commas in lists, address, letters, and dates

Flashcard
•
KG - University
9 questions
Lists and Tuples

Flashcard
•
KG
15 questions
Python Programming Flashcard

Flashcard
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade