
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
16 questions
Python Programming Homework 1
Presentation
•
6th - 9th Grade
18 questions
Input and Output Systems
Presentation
•
7th Grade
18 questions
Effective Communication
Presentation
•
6th - 8th Grade
17 questions
Permutations and Combinations
Presentation
•
9th - 12th Grade
17 questions
Making Inferences in Reading
Presentation
•
9th - 12th Grade
19 questions
Resume Writing
Presentation
•
9th - 12th Grade
19 questions
Rhythm Game
Presentation
•
KG - 2nd Grade
16 questions
Spelling
Presentation
•
2nd Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade
Discover more resources for Other
20 questions
Place Value
Quiz
•
KG - 3rd Grade
16 questions
Lab Equipment
Quiz
•
KG
20 questions
Community helpers
Quiz
•
KG - 3rd Grade
15 questions
Subject and Predicate
Quiz
•
KG - 3rd Grade
12 questions
Nouns and Verbs
Quiz
•
KG - 2nd Grade
10 questions
Four Types of Sentences
Quiz
•
KG - 12th Grade
12 questions
Globes and maps
Presentation
•
KG
15 questions
Digraph Practice
Quiz
•
KG