ANNAI THERASA ARTS AND SCIENCE COLLEGE
UNIVERSITY MODEL EXAMINATION(2022-23)
PROBLEM SOLVING USING PYTHON (SE21A)
PART A — (10 × 2 = 20 marks)
Answer any TEN questions.
1. What are the limits of computational problem solving?
2. What is binary representation?
3. What is an IDE?
4. What is control structure?
5. What is infinite loop?
6. What is boolean flag?
7. What is a positional argument?
8. What is default argument in Python?
9. What is an object?
10. List any eight sequence operation on strings in Python.
11. Give the syntax for declaring dictionaries in Python with an example.
12. What is a class?
PART B — (5 × 5 = 25 marks)
Answer any FIVE questions.
13. Explain the fundamental issues of computer software.
14. Explain the use of numeric and string literal values.
15. Explain indentation in Python with an example.
16. Explain the while statement in Python with example.
17. Explain the non-value returning function in Python.
18. Write a brief note on references in Python.
19. Explain a fundamental concept of Object Oriented Programming.
PART C — (3 × 10 = 30 marks)
Answer any THREE questions.
20. Explain the steps in the process of computational problem solving.
21. Write a Python program to display the number of days in a given month.
22. Describe the concept of parameter passing in Python.
23. Explain the process of opening and closing a file in Python.
24. Describe the design of recursive functions in Python.
— ALL THE BEST —