Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

PYTHON PROGRAMMING IMPORTANT QUESTIONS

UNIT I 4. Explain about string slicing.

2 MARKS 10 MARKS

1. State any four applications of Python. 1. Explain about exception handling in python
2. Define variables in Python. with example.
3. What are the features of Python? 2. Explain about string function and string
4. Define the tokens in Python traversing with example
5. What is mean by type conversion? 3. Explain about looping statements with
6. How to read input in Python? example in Python.

5 MARKS UNIT III

1. Discuss about various data types in Python. 2 MARKS


2. Explain the Reading and Printing of values in
Python with examples. 1. Define function
3. Explain about comments and its types with 2. Define tuples
example. 3. Define void function
4. Define zip() function.
10 MARKS 5. Difference between args and kwargs in
python
1. Explain in detail about Operators in Python
with example. 5 MARKS
2. Explain in detail about Type Conversions
with example. 1. Explain about function calling and returning
in Python with example.
UNIT II 2. Discuss about scope and lifetime of variables
in Python.
2 MARKS 3. Explain about packing and unpacking of
1. Write the syntax for if else statement. tuples.
2. Define syntax errors. 4. Discuss about various operations in tuples.
3. Write any four string operations. 5. Discuss in detail about set in Python with
4. Define continue and break statements. example
5. List the various control flow statements.
10 MARKS
5 MARKS 1. Explain in detail about tuple with example.
1. Discuss about the various control flow 2. Discuss in detail about indexing and negative
statements. indexing in tuple.
2. Write a Python program to find maximum
UNIT IV
value of n numbers.
3. Explain about the types of errors in Python 2 MARKS
with example
1. Define list.
2. Define sorting
3. What is mean by List slicing?
4. What are Python dictionaries?
5. What is a set in Python?

5 MARKS

1. Discuss about List Bounds in Python.


2. Explain in detail about List Permutations.
3. Define List reverse. Write a program to
reverse a list.
4. Explain in detail about List function with
example.

10 MARKS

1. Explain in detail about list concepts in


Python with examples.
2. Explain in detail about sorting of List in
Python with example.

UNIT V

2 MARKS

1. Define modules in Python.


2. What is the difference between list and
Tuples in Python
3. Define abstract class.
4. Define lamda fuction.

5 MARKS

1. Discuss about Handling exceptions in


python.
2. Discuss about custom exception in python
with example.
3. Explain in details about List Objects.
4. Explain in detail about Python constructors.
5. Explain in detail about Abstraction in Python.

10 MARKS

1. Explain in detail about inheritance in Python


with example.
2. Discuss in detail about Object in Python.
3. Explain in detail about OOPs concept in
Python.

You might also like