Python Pro
Python Pro
UNIT – 2
SECTION – B (5 MARK)
1. Define statement and mention the difference between statement and an expression.(MAY – 2023)
2. What is mutability? (MAY – 2023)
3. Write the uses of break and continue in python. (N0V – 2023)
4. Discuss about cloning lists. (N0V – 2023)
5. Illustrate the different types of control flow statements available in Python with flowcharts.(MAY – 2022)
6. Interpret the following list functions.
(i) iter (ii) map (MAY – 2022)
SECTION – C (8 MARK)
1. Demonstrate the different loop control statements available in python with suitable examples.(MAY –
2023)
2. Experiment with a Python program to Swapping of two numbers with and without using temporary
variable. (MAY – 2023)
3. With neat syntax and example, discuss the slicing and striding strings.(NOV – 2023)
4. With neat syntax and example, discuss about if statement in python.(N0V – 2023)
5. Mention the different loop control statements available in python? Explain with suitable examples.(MAY
– 2022)
6. Describe in detail about lists and tuples in Python. (MAY – 2022)
UNIT – 3
SECTION – B (5 MARK)
1. Discuss about Dictionary and its operations in python. (MAY – 2023)
2. What is lambda function with example? (MAY – 2023)
3.How do you pass parameters to a function? (N0V – 2023)
4. Write about Lambda in python. (N0V – 2023)
5. Discuss about scope of the functions in python. (MAY – 2022)
6. Develop a program to find the minimum number in a list. (MAY – 2022)
SECTION – C (8 MARK)
1. Discuss the various built-in functions in Python. (MAY – 2023)
2. Summarize the functions to do all arithmetic operations in python.(MAY – 2023)
3. How do you pass functions to functions? Explain. (N0V – 2023)
4. Give the importance of type conversion and type coercion. (NOV – 2023)
5. Analyze the various built-in functions in Python. (MAY – 2022)
6. Categorize the difference between type coercion and type conversion? Explain with an example.(MAY -
2022)
UNIT – 4
SECTION – B (5 MARK)
1. Build a program to find the minimum number in a list. (MAY – 2023)
2. Interpret a syntax of Exceptions Handling for try-except-else-finally. (MAY – 2023)
3. How directories are used in python? (N0V – 2023)
4. How do you write data to a file in python? (NOV – 2023)
5. Build a program for passing function to function with suitable example.(MAY- 2022)
6. Differentiate the Raising and User defined exceptions in python. (NOV – 2022)
SECTION – C (8 MARK )
1. Contrast between Raising and User defined exceptions in python? (MAY – 2023)
2.Show in detail about File Read Methods in Python. (MAY – 2023)
3. How do you use pipes as data streams? Explain. (N0V – 2023)
UNIT – 5
SECTION – B ( 5 MARK )
1. Compare class and object with python code. (MAY – 2023)
2. Recall the concepts of Polymorphism in python. (MAY – 2023)
3.Write a note on creating classes in Python. (N0V – 2023)
4. Summarize simple character matches in python. (NOV – 2023)
5. Explain inheritance class with suitable example. (MAY – 2022)
6. Compare the greedy and non-greedy match in python. (MAY – 2022)
SECTION – C (8 MARK )
1. Illustrate the ways of compiling regular expressions with suitable programs.(MAY – 2023)
2. What is inheritance? Illustrate types of inheritance with python code.(MAY – 2023)
3. How does python benefit from inheritance and polymorphism? Explain (N0V- 2023)
4. Discuss about greedy matches and grouping in Python. (NOV – 2023)
5. Illustrate the ways of compiling regular expressions with suitable programs.(MAY – 2022)
6. Explain the different types of methods in Python with suitable example.(MAY – 2022)
**_______________________**