

list Manipulation
Presentation
•
Computers
•
11th - 12th Grade
•
Medium
Chethana Balaji
Used 12+ times
FREE Resource
2 Slides • 13 Questions
1
list Manipulation
Using Iteration to access the elements in the list.

2
Multiple Choice
What would this code show in the shell?
3
2
1
0
An error
3
Multiple Choice
What is output?
[5,1]
[5]
[5,5,3,4,]
[1,1]
4
Multiple Choice
What is output?
YES
NO
Error
nothing
5
Multiple Choice
6
Multiple Choice
What is the output of Following code?
cheeses = ['Cheddar', 'Edam', 'Gouda']
numbers = [42, 123]
print(cheeses, numbers)
['Cheddar', 'Edam', 'Gouda'] [42, 123]
[42, 123] ['Cheddar', 'Edam', 'Gouda']
Compilation Error
No output
7
Multiple Choice
Which of these is the best description of a list in Python?
A list is a collection of data that has an order and can be changed
A list is a lot of variables
A list is used for shopping
A list is a collection of data that cannot hold duplicated data and cannot be changed
8
Multiple Choice
9
Multiple Choice
10
Multiple Choice
11
Multiple Choice
Which of the operator can be used in Strings?
+
*
Both of the above
None of the above
12
Multiple Choice
To insert an the string "strawberries" in the first position of a list we use
fruit.append("strawberries, 1")
fruit.insert("strawberries",0)
fruit.insert(1, "strawberries")
fruit.insert(0, "strawberries")
13
Multiple Choice
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList()
nameList[1]
NameList(4)
nameList["4"]
14
Student Activity
List in Python ----> for -Loop activity
15
Open Ended
How easy to use for loop for you in any concept rate your self in range of 1-5.
Try to state the reason, Why ?
list Manipulation
Using Iteration to access the elements in the list.

Show answer
Auto Play
Slide 1 / 15
SLIDE
Similar Resources on Wayground
14 questions
Tab Menu Home
Presentation
•
10th - 12th Grade
11 questions
3.2 Written Works
Presentation
•
10th Grade
14 questions
Acid Naming & Formula Writing
Presentation
•
10th - 11th Grade
12 questions
History of the Periodic Table of Elements
Presentation
•
11th - 12th Grade
10 questions
The Pros and Cons of Working from Home
Presentation
•
12th Grade
11 questions
Factoring: Quadratic Trinomial when a=1
Presentation
•
9th - 12th Grade
9 questions
Estructura - Funciones Básicas - Instrucciones de Arduino
Presentation
•
11th Grade
13 questions
24S2 ITB Wk8
Presentation
•
12th 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