Toggle navigation
Test.Brainkart.com
Home
GATE Exam
TN School
College Entrance Exam
IIT JEE
NEET
AIIMS
CAT
CLAT
TANCET
10th & 12th
11th Std
12th Std
10th Std
Job Entrance Exam
BANK
UGC NET
TNPSC
Chapter 9: Lists, Tuples, Sets and Dictionary
- Online Test
Chapter 9: Lists, Tuples, Sets and Dictionary
TEST : 1
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q1.
Pick odd one in connection with collection data type
A.
List
B.
Tuple
C.
Dictionary
D.
Loop
View Solution
Add Work Space
Answer :
Option D
Explaination / Solution:
No Explaination.
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q2.
Let list1=[2,4,6,8,10], then print(List1[-2]) will result in
A.
10
B.
8
C.
4
D.
6
View Solution
Add Work Space
Answer :
Option B
Explaination / Solution:
No Explaination.
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q3.
Which of the following function is used to count the number of elements in a list?
A.
count()
B.
find()
C.
len()
D.
index()
View Solution
Add Work Space
Answer :
Option C
Explaination / Solution:
No Explaination.
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q4.
If List=[10,20,30,40,50] then List[2]=35 will result
A.
[35,10,20,30,40,50]
B.
[10,20,30,40,50,35]
C.
[10,20,35,40,50]
D.
[10,35,30,40,50]
View Solution
Add Work Space
Answer :
Option C
Explaination / Solution:
No Explaination.
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q5.
If List=[17,23,41,10] then List.append(32) will result
A.
[32,17,23,41,10]
B.
[17,23,41,10,32]
C.
[10,17,23,32,41]
D.
[41,32,23,17,10]
View Solution
Add Work Space
Answer :
Option B
Explaination / Solution:
No Explaination.
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q6.
Which of the following Python function can be used to add more than one element within an existing list?
A.
append()
B.
append_more()
C.
extend()
D.
more()
View Solution
Add Work Space
Answer :
Option C
Explaination / Solution:
No Explaination.
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q7.
What will be the result of the following Python code? S=[x**2 for x in range(5)] print(S)
A.
[0,1,2,4,5]
B.
[0,1,4,9,16]
C.
[0,1,4,9,16,25]
D.
[1,4,9,16,25]
View Solution
Add Work Space
Answer :
Option B
Explaination / Solution:
No Explaination.
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q8.
What is the use of type() function in python?
A.
To create a Tuple
B.
To know the type of an element in tuple.
C.
To know the data type of python object.
D.
To create a list.
View Solution
Add Work Space
Answer :
Option C
Explaination / Solution:
No Explaination.
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q9.
Which of the following statement is not correct?
A.
A list is mutable
B.
A tuple is immutable.
C.
The append() function is used to add an element.
D.
The extend() function is used in tuple to add elements in a list.
View Solution
Add Work Space
Answer :
Option D
Explaination / Solution:
No Explaination.
# Chapter 9: Lists, Tuples, Sets and Dictionary
# TN 12th Computer Science
Prepare / Learn
Q10.
Let setA={3,6,9}, setB={1,3,9}. What will be the result of the following snippet? print(setA|setB)
A.
{3,6,9,1,3,9}
B.
{3,9}
C.
{1}
D.
{1,3,6,9}
View Solution
Add Work Space
Answer :
Option D
Explaination / Solution:
No Explaination.
Submit My Answer
Total Question/Mark :
Scored Mark :
Mark for Correct Answer : 1 Mark for Wrong Answer : -0.5 Mark for Left Answer : 0
Save and Share My Score
REDO THIS TEST AGAIN : ( TEST 1 )
START NEXT : ( TEST 2 )
Chapter 9: Lists, Tuples, Sets and Dictionary
| Online Objective Test |
Start Test
TN State Board : TN 12th Standard (Computer Science)
| Online Objective Test
Start Test
Prepare Before Start Test
| Learn
Engineering
| prepare/Learn
Medical
| prepare/Learn
TN School (10th & 12th )
| prepare/Learn
NEET, JEE
| prepare/Learn
TNPSC Exam
| prepare/Learn
UPSC Civil services Entrance exams
| Online Test
General Studies test
| Start Online Test
Civil Services Aptitude Test (CSAT)
| Start Online Test
Interview and Personality Test
| Start Online Test
GATE Exam
| Online Test
EE Electrical Engineering
| Start Online Test
EC Electronics and Communication Engineering
| Start Online Test
CS Computer Science and Information Technology
| Start Online Test
CE Civil Engineering
| Start Online Test
ME Mechanical Engineering
| Start Online Test
Under Graduate Entrance Exams
| Online Test
IIT JEE IEEE Entrance Exam
| Start Online Test
NEET Entrance Exam
| Start Online Test
AIIMS Entrance Exams
| Start Online Test
Problem Solving and Reasoning
| Online Test
Verbal and Reading Comprehension
| Start Online Test
Data Interpretation and Logical Reasoning
| Start Online Test
Mathematics or Quantitative Aptitude
| Start Online Test
CAT Entrance Exams
| Online Test
Mathematics or Quantitative Aptitude
| Start Online Test
Data Interpretation and Logical Reasoning
| Start Online Test
Verbal and Reading Comprehension
| Start Online Test
CLAT LAW Entrance exams
| Online Test
English including comprehension
| Start Online Test
General Knowledge and Current Affairs
| Start Online Test
Elementary Mathematics
| Start Online Test
Logical and Legal Reasoning Aptitude
| Start Online Test
Banking Entrance exams
| Online Test
Bank PO
| Start Online Test
Bank Clerks
| Start Online Test
Specialist Officers (SO)
| Start Online Test
UGC NET Entrance exams
| Online Test
Science
| Start Online Test
Language
| Start Online Test
TANCET Anna University
| Online Test
EEE Electrical and Electronics Engineering
| Start Online Test
ECE Electronics and Communication Engineering
| Start Online Test
CSE, IT Computer Science Engineering and Information Technology
| Start Online Test
Civil Engineering
| Start Online Test
Mechanical Engineering
| Start Online Test
TN State Board
| Online Test
TN 11th Standard
| Start Online Test
TN 12th Standard
| Start Online Test
TN 10th Standard
| Start Online Test