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
80 questions
First Quarter Summative Test - October 23, 2023

Quiz
•
11th Grade
72 questions
7-кл, Python тілінде алгоритмдерді программалау

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

Quiz
•
11th Grade
70 questions
Python Programming Quiz

Quiz
•
9th - 12th Grade
76 questions
Quiz di Sicurezza Informatica

Quiz
•
9th Grade - University
80 questions
MOCK Exam 2

Quiz
•
7th - 11th Grade
77 questions
Quiz Pemrograman Python

Quiz
•
11th Grade
72 questions
Python Basics

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade