Understanding the concept of list

Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
KV Churu Activities
Used 6+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
>>> a=(1,2,3,4)
>>> del(a[2])
Now, a=(1,2,4)
Now, a=(1,3,4)
Now a=(3,4)
Error as tuple is immutable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct way to access value 20 from the following tuple
tuple1= ("Orange", [10, 20, 30], (5, 15, 25))
tuple1[1:2](1)
tuple1[1:2][1]
tuple1[1][1]
All of the above
3.
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]
4.
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
5.
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)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What gets printed?
H
a
Hasan
Dia
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of following Python code?
(15,11,16,12)
(15,11,17,16)
(15,11,17,16,12)
Error
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Quizizz SIOTICS #2

Quiz
•
10th Grade - University
20 questions
Higher Admin Microsoft Word Advanced Features

Quiz
•
8th Grade - University
25 questions
Ujian Kompetensi Skakes Airlangga

Quiz
•
9th - 12th Grade
27 questions
HTML

Quiz
•
9th - 12th Grade
20 questions
MS Excel

Quiz
•
11th Grade - University
20 questions
PHP OOP 1 (Class s.d. Constructor)

Quiz
•
11th Grade
25 questions
Quizizz JavaScript Attempt 2 Review

Quiz
•
9th - 12th Grade
20 questions
Ulangan 1 ASJ (SSH, FTP, SAMBA)

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
7 questions
SAT Reading & Writing Practice Test - Reading Focus

Quiz
•
11th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade