
List - Class XI
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Rachna Bajaj
Used 25+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands will create a list?
list1 = list()
list1 = []
list1 = list([1, 2, 3])
all of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when we execute list(“hello”)?
[‘hello’]
[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
[‘llo’]
[‘olleh’]
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python code?
a=[10,23,56,[78]]
b=list(a)
a[3][0]=95
a[1]=34
print(b)
[10,34,56,[95]]
[10,23,56,[78]]
[10,23,56,[95]]
[10,34,56,[78]]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would give an error?
list1=[]
list1=[]*3
list1=[2,8,7]
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is True regarding lists in Python?
Lists are immutable.
Size of the lists must be specified before its initialization
Elements of lists are stored in contagious memory location.
size(list1) command is used to find the size of lists.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of below Python code?
list1=[8,0,9,5]
print(list1[::-1])
[5,9,0,8]
[8,0,9]
[8,0,9,5]
[0,9,5]
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of following Python code?
list1=["Python","Java","c","C","C++"]
print(min(list1))
c
C++
C
min function cannot be used on string elements
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
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
10 questions
A level Computer Science In-fix post-fix Reverse polish
Quiz
•
10th Grade - University
10 questions
COMPUTER PROGRAMMING Q2_FLOWCHART (2 points each)
Quiz
•
11th - 12th Grade
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
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
