
List methods
Presentation
•
Other, Computers
•
KG
•
Medium
Akniyet Sarsenbek
Used 14+ times
FREE Resource
7 Slides • 16 Questions
1
List methods
By Akniyet Sarsenbek
2
Learning objectives
11.2.3.3apply functions and methods of processing lists;
11.4.3.2 solve applied problems of various subject areas.
Subject | Subject
Some text here about the topic of discussion
3
Check yourself. Get ready for quiz.
Some text here about the topic of discussion
4
Multiple Choice
What are the Python keywords used to construct a loop to iterate through a list?
foreach / in
try / except
def / return
for / in
5
Multiple Choice
For the following list, how would you print out 'Sally'?
friends = [ 'Joseph', 'Glenn', 'Sally' ]
print friends[3]
print(friends[2:1])
print(friends['Sally'])
print(friends[2])
6
Multiple Choice
What would the following Python code print out?
print(fruit)
banana
Banana
Nothing would print - the program fails with a traceback error
B
7
Multiple Choice
Which of the following Python statements would print out the length of a list stored in the variable data?
print(len(data))
print(strlen(data))
print(length(data))
print(data.length())
8
Multiple Choice
What type of data is produced when you call the range() function?
A list of characters
A list of words
A string
A list of integers
9
Multiple Choice
What does the following Python code print out?
a = [1, 2, 3]
b = [4, 5, 6]
c = a + b
print(len(c))
[1, 2, 3, 4, 5, 6]
6
[4, 5, 6]
15
10
Multiple Choice
Which of the following slicing operations will produce the list [12, 3]?
t = [9, 41, 12, 3, 74, 15]
t[2:4]
t[2:2]
t[1:3]
t[12:3]
11
Multiple Choice
What list method adds a new item to the end of an existing list?
add()
forward()
push()
append()
12
List methods
13
List methods
14
Open the link to learn more about the list methods
Some text here about the topic of discussion
Self study
15
Fill in the Blanks
Type answer...
16
Fill in the Blanks
Type answer...
17
Fill in the Blanks
Type answer...
18
Fill in the Blanks
Type answer...
19
Fill in the Blanks
Type answer...
20
Fill in the Blanks
Type answer...
21
Fill in the Blanks
Type answer...
22
Fill in the Blanks
Type answer...
23
Problems to solve
Subject | Subject
Some text here about the topic of discussion
List methods
By Akniyet Sarsenbek
Show answer
Auto Play
Slide 1 / 23
SLIDE
Similar Resources on Wayground
17 questions
CoComelon
Presentation
•
KG - Professional Dev...
16 questions
Images & Binary
Presentation
•
7th Grade
20 questions
Python основы
Presentation
•
KG
20 questions
Present tense of the verb "ser"
Presentation
•
9th Grade
20 questions
Chapter 7 Infant Growth and Development
Presentation
•
9th - 12th Grade
20 questions
ICA Computer Parts
Presentation
•
6th Grade
18 questions
Digital Footprint
Presentation
•
5th Grade
17 questions
CARDINAL AND ORDINAL NUMBERS
Presentation
•
1st - 9th Grade
Popular Resources on Wayground
5 questions
A Home on the Shore
Quiz
•
3rd Grade
28 questions
US History Regents Review
Quiz
•
11th Grade
6 questions
A Horse Tale
Quiz
•
3rd Grade
20 questions
Math Review
Quiz
•
3rd Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
20 questions
Dividing Fractions
Quiz
•
5th Grade
55 questions
A Long Walk to Water Final Review
Quiz
•
6th - 8th Grade
10 questions
Equation Word Problems
Quiz
•
7th Grade