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

Python Pro

Uploaded by

nscomrade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Python Pro

Uploaded by

nscomrade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Chikkanna Government Arts College –Tirupur -2

University Question Bank


FIFTH SEMESTER
PYTHON PROGRAMMING (5EC)
UNIT – 1
SECTION – B(5 MARK )
1. List the features of python.( MAY – 2023)
2. Explain about different Logical operators in python with appropriate examples. (MAY – 2023)
3. How will you execute python from the command line? (NOV – 2023)
4. Discuss about bitwise operators. (NOV – 2023)
5. List the salient features of python programming language.(MAY – 2022)
6. Demonstrate the different Logical operators in python with appropriate examples. (MAY – 2022)
SECTION – C (8 MARK)
1. Discuss in detail about standard data types supported in Python with suitable examples.(MAY – 2023)
2. Illustrate the python code to find the minimum among the list of 10 numbers (MAY – 2023)
3. With necessary examples, discuss the standard data types in python.(NOV – 2023)
4. Write a detailed note on logical operators. (N0V – 2023)
5. Experiment with standard data types supported in Python with suitable example.(MAY – 2022)
6. Explain briefly about bitwise operators and relational operators in python.(MAY – 2022)

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)

4. Discuss about exception model and exception hierarchy. (N0V – 2023)


5. Examine the steps to create user defined exception in python with an example.(MAY – 2022)
6. Recall the details about handling Multiple exceptions in Python. (MAY- 2022)

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)

**_______________________**

You might also like