Predicted Question Paper - 2025
Python Programming (DSC10) - BCA 4th Semester
Predicted Python Programming Question Paper - 2025 (Set 2)
PART - A (5 × 2 = 10 marks)
Answer any five. Each carries 2 marks.
1. Who developed Python?
2. What is the difference between '==' and 'is' operators?
3. What is the use of 'continue' statement?
4. List any two string methods in Python.
5. What is a tuple? Mention any one tuple method.
6. Define inheritance.
7. What is the use of the 'range()' function?
PART - B (4 × 5 = 20 marks)
Answer any four. Each carries 5 marks.
8. Explain the features of Python language.
9. Write a Python program to implement a stack using list.
10. What is exception? Explain with an example program using try-except-finally.
11. Explain the difference between list, tuple, and dictionary.
12. Explain creating and accessing dictionary elements with an example.
13. Write a Python program to check whether a number is prime or not.
PART - C (3 × 10 = 30 marks)
Answer any three. Each carries 10 marks.
14. Explain types of loops in Python with suitable examples.
15. a) What is a function? Explain different types of arguments with example.
b) Write a Python program to find the factorial of a number using recursion.
16. a) What is a class and object? Write a program to demonstrate a simple class.
Predicted Question Paper - 2025
Python Programming (DSC10) - BCA 4th Semester
b) Explain the concept of constructor in Python with an example.
17. a) Write a program using NumPy to create a 2D array and perform slicing.
b) Explain the creation and manipulation of Pandas DataFrame.
18. What is data visualization? Explain types of charts and create a bar chart using matplotlib.
Important Topics for Revision
Important Repeated Topics (High Probability):
- Python Features and Data Types
- Control Flow: if, for, while, break, continue
- Functions and Recursion
- Exception Handling with try-except-finally
- Object Oriented Programming: Class, Object, Inheritance
- List, Tuple, Dictionary operations
- NumPy and Pandas Programming
- GUI Programming using Tkinter
- Data Visualization using Matplotlib