Unit II Assignment Python
Unit II Assignment Python
Mark(s) 10.00
1. Explain exception handling and its types with examples. Type DESCRIPTIVE
Mark(s) 10.00
2. Explain various runtime errors with example for each Type DESCRIPTIVE
Mark(s) 10.00
3. How to Handle Errors with the Try-Except Block in Python Type DESCRIPTIVE
Mark(s) 10.00
4. Explain User defined exceptions/ custom defined Type DESCRIPTIVE
exceptions with example
https://portal.vmedulife.com/faculty/Assignments/AddSubassignment.php?groupId=MzIzMDQ=&subId=MTExNTM0&subtype=VGhlb3J5&batchId… 1/4
5/10/24, 10:50 PM vmedulife Account
Mark(s) 10.00
5. Explain function definition and function call with an example. Type DESCRIPTIVE
Mark(s) 10.00
6. Explain Functions and its types with example for each. Type DESCRIPTIVE
Mark(s) 10.00
7. Explain various types of arguments in python. Type DESCRIPTIVE
Mark(s) 6.00
8. Define each python library functions with example for Type DESCRIPTIVE
each
Mark(s) 10.00
9. Explain Keyworded and non keyworded arguments / Type DESCRIPTIVE
arbitrary positional and arbitrary keyword/ variable positional
and variable keyword with example for each
Mark(s) 10.00
10 Explain recursive functions with example Type DESCRIPTIVE
https://portal.vmedulife.com/faculty/Assignments/AddSubassignment.php?groupId=MzIzMDQ=&subId=MTExNTM0&subtype=VGhlb3J5&batchId… 2/4
5/10/24, 10:50 PM vmedulife Account
Mark(s) 5.00
11. Explain Scope and Lifetime of Variables and its types with Type DESCRIPTIVE
example
Mark(s) 10.00
12. What are strings and how to create , store and access Type DESCRIPTIVE
characters in a string explain with example
Mark(s) 10.00
13. a.Program to reverse a string using built in function Type DESCRIPTIVE
b. a.Program to reverse a string without built in function
Mark(s) 10.00
14. a. Convert an Integer/Float to a String in Python Type DESCRIPTIVE
b. Convert Bytes to a String in Python
Mark(s) 5.00
15. Explain exceptions in string with an example Type DESCRIPTIVE
Mark(s) 10.00
16. Explain Operations on strings with example Type DESCRIPTIVE
Mark(s) 10.00
17. How to Concatenate Strings in Python with examples Type DESCRIPTIVE
https://portal.vmedulife.com/faculty/Assignments/AddSubassignment.php?groupId=MzIzMDQ=&subId=MTExNTM0&subtype=VGhlb3J5&batchId… 3/4
5/10/24, 10:50 PM vmedulife Account
Mark(s) 10.00
18. Explain Python String Comparisons with example for each Type DESCRIPTIVE
Mark(s) 10.00
19. Explain Slicing and joining in strings with example Type DESCRIPTIVE
Mark(s) 10.00
20. How to Format Strings in Python Type DESCRIPTIVE
Mark(s) 10.00
21. Explain String methods with examples Type DESCRIPTIVE
https://portal.vmedulife.com/faculty/Assignments/AddSubassignment.php?groupId=MzIzMDQ=&subId=MTExNTM0&subtype=VGhlb3J5&batchId… 4/4