Lists and Tuples - Class 11 - Python
Quiz
•
Computers
•
11th Grade
•
Hard
Gargee Chattopadhyay
Used 92+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the following code result in?
True
[9, 7, 5, 3, 1]
False
[9, 7, 5, 3, 1]
True
[1, 3, 5, 7, 9]
None of the above
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Predict the output:
1
2
[13, 18, 11, 16, 13, 18, 13, 2]
0
2
[13, 18, 11, 16, 13, 18, 13, 3]
5
2
[13, 18, 11, 16, 13, 18, 13, 3]
1
2
[13, 18, 11, 16, 13, 18, 13, 3]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given two lists, which of the following statements will cause an error?
L1==L2
L1.upper()
L1[3].upper()
L2[1][1].upper()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Out of the following, what is correct syntax to copy one list into another?
listA=listB[]
listA=listB[:]
listA=listB[]()
listA=list(listB)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output when we execute list("hello")?
['h','e','l','l','o']
['hello']
['llo']
['olleh']
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What gets printed?
H
a
Hasan
Dia
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements will create a tuple?
tp1=("a","b")
tp1[2]=("a","b")
tp1=(3)*3
None of these
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
ตอบปัญหาคอมพิวเตอร์st
Quiz
•
9th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
15 questions
Quiz No. 1 on Open Source Software
Quiz
•
11th - 12th Grade
20 questions
Database Basics v2 N5
Quiz
•
1st - 12th Grade
15 questions
cmd and terminal
Quiz
•
7th Grade - University
20 questions
T6 - ÔN TẬP CUỐI HK2 (22-23) (1)
Quiz
•
9th - 12th Grade
15 questions
Program Implementation
Quiz
•
10th - 12th Grade
17 questions
ICT Service Solutions 2
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
23 questions
Similar Figures
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
