null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
21321239
Online Test-Lists
Description
Quiz on Online Test-Lists, created by Aparna Dhirde on 03/17/2020.
No tags specified
xi
Quiz by
Aparna Dhirde
, updated more than 1 year ago
More
Less
Created by
Aparna Dhirde
over 4 years ago
86
0
0
Resource summary
Question 1
Question
Slicing is used to extract a part of the list.
Answer
True
False
Question 2
Question
Single element is not treated as list.
Answer
True
False
Question 3
Question
List is enclosed in curly brackets.
Answer
True
False
Question 4
Question
Operator & concatenates one list to the end of other list.
Answer
True
False
Question 5
Question
Operator * repeats the content of a list by specified number of times.
Answer
True
False
Question 6
Question
Which of the following commands will create a list?
Answer
list1 = list()
list1 = []
list1 = list([1, 2, 3])
all of the mentioned
Question 7
Question
Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]?
Answer
[2, 33, 222, 14]
Error
25
[25, 14, 222, 33, 2]
Question 8
Question
Suppose list1 is [1, 3, 2], What is list1 * 2?
Answer
[2, 6, 4]
[1, 3, 2, 1, 3]
[1, 3, 2, 1, 3, 2]
[1, 3, 2, 3, 2, 1]
Question 9
Question
What will be the output of the following Python code? >>>"Welcome to Python".split()
Answer
[“Welcome”, “to”, “Python”]
(“Welcome”, “to”, “Python”)
{“Welcome”, “to”, “Python”}
“Welcome”, “to”, “Python”
Question 10
Question
To which of the following the “in” operator can be used to check if an item is in it?
Answer
Lists
Dictionary
Set
All of the mentioned
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Reducing the Impact of Earthquakes
siobhan.quirk
2014 GCSE History Exam Paper Setup
James McConnell
Basic Spanish Vocabulary
Alice McClean
GCSE AQA Biology - Unit 2
James Jolliffe
History- Religion and medicine
gemma.bell
med chem 2 final exam
lola_smily
Contract Law
sherhui94
Navegacion
Adriana Forero
1PR101 2.test - Část 20.
Nikola Truong
Rossetti Links
Mrs Peacock
Specific topic 7.5 Timber (Stock forms)
T Andrews
Browse Library