Python Lists

Quiz
•
Computers
•
8th Grade
•
Easy
Raja Meenakshi
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
28 questions
Introduction to Technology Review

Quiz
•
9th - 10th Grade
30 questions
J808 LO1 End of Module Assessment

Quiz
•
10th - 11th Grade
32 questions
Arduino

Quiz
•
7th - 12th Grade
30 questions
Tech Quest Level-2

Quiz
•
University
27 questions
BJC AP CSP Unit 3 Exam Review

Quiz
•
9th - 12th Grade
30 questions
NRIT_Python_Quiz-01

Quiz
•
University
30 questions
ALGO - Chapter 1-2

Quiz
•
University
31 questions
iGCSE 7 Algorithm design and problem solving

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade