
Python Lists
Authored by Raja Meenakshi
Computers
8th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following statement will create list?
a. L1=list( )
b. L1=[1,2,3,4]
c. Both of the above
d. None of the above
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Write the output of the following code : list(“welcome”)
a. [‘w’, ‘e’, ‘l’, ‘c’, ‘o’, ‘m’, ‘e’]
b. (‘w’, ‘e’, ‘l’, ‘c’, ‘o’, ‘m’, ‘e’)
c. [‘welcome’]
d. None of the above
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Write the output of the following code :
>>> L=[“Amit”,”Anita”,”Zee”,”Longest Word”]
>>> print(max(L))
a. Zee
b. Longest Word
c. Error
d. None of the above
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Find out the output
a. 15 9 1
b. Error
c. Max and Min are only for String Value
d. None of the above
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
what is the output
a. [6, 7, 8]
b. 6, 7, 8
c. Error
d. 6
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Find the output
a. ['Sumit',‘Naina’]
b. [a]
c. ['Sumit']
d. None of the above
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which command is used to add an element in List named L1
a. L1.add(4)
b. L1.append(4)
c. L1.new(4)
d. None of the above
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
27 questions
ÔN TẬP CUỐI HKI_TIN 6_2425
Quiz
•
6th Grade - University
34 questions
Komputer dan Jaringan Dasar
Quiz
•
10th Grade
30 questions
Web Sitesi Tekrar
Quiz
•
10th Grade
35 questions
PENILAIAN TENGAH SEMESTER KELAS 8 MH
Quiz
•
8th Grade
26 questions
Hardware Komputer
Quiz
•
10th Grade - University
29 questions
Dzień bezpiecznego Internetu
Quiz
•
12th Grade
27 questions
Project management revision
Quiz
•
12th Grade
27 questions
Algorithm
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade