
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
42 questions
Chapter 7: Vehicle Protection, Jack and Lift safety
Quiz
•
11th - 12th Grade
40 questions
Front Office_XI
Quiz
•
11th Grade
45 questions
SSM Student Handbook
Quiz
•
11th - 12th Grade
42 questions
CA recap
Quiz
•
11th Grade
40 questions
Welding Symbols
Quiz
•
11th - 12th Grade
40 questions
Tata hidang 2
Quiz
•
10th - 12th Grade
39 questions
PEDAGOGIK 6A
Quiz
•
5th Grade - University
45 questions
General Knowledge
Quiz
•
7th - 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