UNIT 5_Python programming _QUESTION BANK_2023-24
UNIT 5_Python programming _QUESTION BANK_2023-24
Unit-5
QUESTION BANK
SUBJECT NAME: PYTHON PROGRAMMING
SUBJECT CODE: BCC-302
Q.No Description CO BL
Write a Python program to create a line plot using matplotlib that
1 CO5 K2
displays the population growth of a city over 10 years.
Create a NumPy array with random integers and write a function to
2 CO5 K3
find the mean, median, and standard deviation of the array.
Implement matrix multiplication using NumPy arrays and explain the
3 CO5 K3
advantages of using NumPy for matrix operations.
Load a CSV file into a Pandas DataFrame and display basic statistics
4 (mean, median, std) for a specific column. Explain the concept of CO5 K3
merging and joining in Pandas with suitable examples.
Describe the purpose and usage of the Tkinter library in Python for
5 CO5 K2
creating graphical user interfaces (GUIs).
6 List and explain some common Tkinter widgets and their use cases. CO5 K2
Create a simple Tkinter application that takes user input in a text box
7 and displays it in a label widget when a button is clicked. CO5 K3