
Class-11th IP Ch-4 Working with List & Dictionary
Authored by Dinesh Kag
Professional Development
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following function is used to count the number of elements in a list?
Count ( )
find ( )
len ( )
index ( )
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements create a dictionary?
D = { }
d = {red 45 blue 55}
D= {40 orange 45 green}
all of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet?
d= {"Hello ":10,"Hi":20}
"hello" 40,45 and "hi"
"hello" and "hi"
40 and 45
d = (40" hello 45,hii)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the output of the following code : list("welcome")
[welcome]
(welcome)
['w','e','l','c','o','m','e']
none of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose d={"red":20 "green":30} to obtain number of entire in dictiona which command do we use?
D size ( )
len (d)
size (d)
d Ien ( )
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements will create list?
L1 = list ( )
L1 = [1,2,3,4]
both of the above
none of above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the output of the following code:
L=['a' * x for x in range(4)]
print(L)
['', 'a', 'aa', 'aaa']
['a','aa','aaa']
Error
none of 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
40 questions
Customer Service Part III
Quiz
•
9th - 12th Grade
45 questions
Davinci Resolve 17 Fusion 101
Quiz
•
11th Grade - Professi...
40 questions
Psikotes & Tata Nilai BCA
Quiz
•
KG - Professional Dev...
36 questions
Small Engine Tools Mr. K
Quiz
•
9th - 12th Grade
35 questions
Classroom Assessment
Quiz
•
KG - University
40 questions
23rd January 2025 Revision Test @ Indefatigables 25,DBSSS Dmdma
Quiz
•
10th Grade - University
37 questions
Unit 1: Financial Literacy
Quiz
•
9th - 12th Grade
45 questions
Unit 6 Review
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade