0% found this document useful (0 votes)
20 views

python unitwise imp qus

Uploaded by

22211a67b6
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

python unitwise imp qus

Uploaded by

22211a67b6
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

UNIT 1

1. What are keywords, identifiers with an examples?


2. What are the rules for writing an identifier?
3. Discuss the int(), float(), str(), chr(), hex(), oct(), and complex() type conversion functions with
examples.
4. What are different types of operators Explain?
5. What are conditional branching statements. Explain?
6. Explain about iterative statements
7. Explain the need for continue, break and pass statements. Explain with programs
8. What are nested loops and else statements with loops?
9. Explain about features of python
10. Explain the data types in python

UNIT 2

1. What is a function? Explain about function call, scope and lifetime of a variable
2. Explain about argument passing in functions
3. Write a program to display the Fibonacci sequences up to nth term where n is provided by the
user.
4. What is recursive function explain with an example
5. What is Lambda functions and use of filter, map reduce functions
6. How to split strings and what function is used to perform that operation?
7. What is String? How do u create a string in Python?
8. Explain about string slicing with examples.
9. Explain about string built-in methods

UNIT 3

1. Explain the following list methods with an example. a) append() b) extend() c) insert() d) index()
e) sort()
2. What are the advantages of Tuple over List?
3. How lists are updated in Python?
4. Explain about tuples in detail
5. What is a zip function with an example
6. What is packing and unpacking of tuples?
7. Explain in detail how to create a set and their operations.
8. What are nested dictionaries explain?
9. What is Dictionary? Explain Python dictionaries in detail discussing its operations and methods.
10. What is the difference between lists, tuples and dictionaries? Give an example for their usage.

UNIT 4

1. What is inheritance? explain types with an examples.


2. Write Python Program to Demonstrate Multiple Inheritance with Method Overriding.
3. Define abstract class with an example.
4. Explain in detail about built in functions of class attributes.
5. How get, set, check and delete functions are used in class attributes?
6. What is a constructor and destructor explain with an examples
7. How an operator overloading is implemented?
8. Explain in detail about class and static methods.

UNIT 5

1. Define exception. Explain about the different types of Exceptions in Python


2. Describe about Handling Exceptions in detail with examples.
3. Explain in detail about Python Files, its types, functions and operations that can be performed
on files with examples.
4. Explain different types of errors in python.
5. Explain about the module PIP in detail
6. How numpy, pandas and scipy useful in python?

You might also like