Sanjivani Rural Education Society’s
SANJIVANI K.B.P. Year :- 2024-2025
POLYTECHNIC, List and Tuple
KOPARGAON Dept :- CM
ACAD/F/23 Subject :- PWP Pages :- 01
Rev=00 Date :- 11/12/2017 Unit No. :- 03 Date of Submission :-
Name of Subject Teacher :- Prof. M. V. Khasne Total No. of Questions :-
Q. 1 Describe any four methods of Lists in Python.
Q. 2 Use of any four methods of tuple in python?
Q. 3 Write a program to input any two tuples and interchange the tuple variable.
Q. 4 Explain why tuples are called as immutable.
Q. 5 How to define and access elements of a List?
Q. 6 What are different operations performed on a List? Explain with examples.
Q. 7 Write a Python program to describe different ways of deleting an element from List.
Q. 8 What is tuple in Python? How to create and access it?
Q. 9 Write operations on tuples with examples..
Q. 10 Compare List and Tuple.
Q. 11 How append() and extend() are different with reference to List in Python.
Q. 12 Write the output for the following:
(i) >>> a=[1,2,3]
>>> b=[4,5,6]
>>> c=a+b
(ii) >>> [1,2,3]*3
(iii) >>> t=[‘a’,’b’,’c’,’d’,’e’,’f’]
>>> t[1:3]=[‘x’,’y’]
>>> print(t)
Q. 13 Write the output of the following code:
Str=’Maharashtra State Board of Technical Education’
print(x[15::1])
print(x[-10:-1:2])
Subject Teacher H.O.D.