Which of the following will create an empty list-L?

Grade XI Full Syllabus Quiz

Quiz
•
Computers
•
11th Grade
•
Medium
Mirza Baig
Used 5+ times
FREE Resource
75 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
L={}
L[ ]
L=[ ]
L={ ]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Keys of a dictionary must be:
Similar
Unique
Can be similar or unique
All of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To create an empty dictionary –d1, we use the statement as:
d1={}
d1=[ ]
d1=()
d1={ )
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following: List1=[‘S’,’P’,’S’,’GHY’] The length of the above list is:
6
5
4
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following list: list1 =['Red','Green','Blue','Cyan','Magenta','Yellow','Black'] print(list1[1:6:2]) The output is-
['Red', 'Blue', 'Magenta']
['Green', 'Cyan', 'Yellow']
['Green', 'Cyan', 'Yellow',’Black’]
['Red', 'Blue', 'Magenta’,’Black’]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the output of the following code : L=[1,2,3,4,5,[6,7,8]] print(L[5])
[6, 7, 8]
6, 7, 8
Error
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the output of the following code : L=[‘w’,’e’,’l’,’c’,’o’,’m’,’e’] print(len(L))
7
8
9
None of the above
Create a free account and access millions of resources
Similar Resources on Quizizz
75 questions
Career Development Semester Exam 2025

Quiz
•
8th Grade - University
75 questions
APCS Principles Practice Exam

Quiz
•
8th Grade - University
75 questions
LONG TEST IN ETECH (ICT, ONLINE SAFETFY, WORD, EXCEL)

Quiz
•
11th Grade
72 questions
0360.U7.U8.U9.U10.Equips MicroInformàtics

Quiz
•
9th - 12th Grade
71 questions
Final exam Review

Quiz
•
9th - 12th Grade
72 questions
Introduction to Programming with Python - Lecture 0

Quiz
•
11th Grade
70 questions
APP 001 EXAMINATION REVIEW

Quiz
•
11th Grade
75 questions
Latihan Soal TO

Quiz
•
11th Grade
Popular Resources on Quizizz
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade