10.assignment Python
10.assignment Python
CE & IT Department
5 Explain Lists along with methods associated with lists and explain 7
mutability with respect to Lists.
6 Explain Tuples, Lists and Dictionaries with example and give 7
comment on mutability for each of them.
7 What is dictionary in Python? Explain any four built-in dictionary 7
methods with example.
8 Explain Tuples in Python with example. 7
15 Explain Indexing and Slicing operation for the list with example in 7
python.
16 What is the difference between error and exception? Explain 7
exception handling in python with example.
17 What are bugs? Write about different types of bugs. What steps will 7
you perform to identify and remove the bugs in a python script?
18 What is testing? Explain Black box v/s glass box testing. 7
21 What are the differences between abstract class and interface? Write 7
a python program in which Maruti and Santro sub classes
implement the abstract methods of the super class Car.
22 Write a python program to implement linear search and binary 7
search.
23 Write a program for bubble sort and quicksort 7
CE & IT Department
No