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
21 questions
ASAS/PAS TIK Kelas XI Semester Ganjil Tahun Ajaran 2024/2025

Quiz
•
11th Grade
21 questions
Unit 3: Basic Python & Console Interaction

Quiz
•
9th - 12th Grade
20 questions
QUIS TIK BY FATAHUL

Quiz
•
9th - 12th Grade
20 questions
11-р анги

Quiz
•
11th Grade - University
20 questions
KUIS HTML

Quiz
•
11th Grade - University
23 questions
RETURN 13-БӨЛІМ

Quiz
•
11th Grade
20 questions
Konsentrasi Kehalian RPL

Quiz
•
11th Grade
21 questions
RETURN 12-БӨЛІМ

Quiz
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade