Problem Solving using Python and R - UNIT II - List
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
MS.SHYAMALADEVI C
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the method used to add an element at the end of a list in Python?
append()
add()
insert()
extend()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will create a list in Python?
list = (1, 2, 3)
list = [1, 2, 3]
list = {1, 2, 3}
list = <1, 2, 3>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first element of a list named `my_list`?
my_list[0]
my_list(1)
my_list{1}
my_list.first()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code: `print([1, 2, 3] + [4, 5])`?
[1, 2, 3, 4, 5]
[1, 2, 3, [4, 5]]
[4, 5, 1, 2, 3]
[1, 2, 3, 5]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to remove an item from a list by its value?
delete()
remove()
discard()
pop()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of `len([1, 2, 3, 4])`?
3
4
5
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about lists in Python?
Lists are immutable.
Lists can contain elements of different data types.
Lists can only contain integers.
Lists cannot be nested.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Aspek Legal TIK
Quiz
•
12th Grade
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
15 questions
Herramientas de Google
Quiz
•
12th Grade - University
14 questions
TRENDS IN ICT
Quiz
•
12th Grade
10 questions
Baze de date-Design
Quiz
•
12th Grade
9 questions
Los periféricos del computador
Quiz
•
1st Grade - Professio...
10 questions
Ce știm despre Internet?
Quiz
•
4th Grade - University
10 questions
Word basics
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade
