Programming in Python
Programming in Python
INSTRUCTIONS TO STUDENTS
Students can use books and materials stored on desktops for reference without
accessing the internet or any artificial intelligence tools.
*************************
QUESTIONS
1. (a) Write a Python program to generate numbers with Gaussian distribution and plot the
histogram.
(b) Solve the following linear system using the Python program-
x + 2y - 3z = -3; 2x - 5y + 4z = 13; 5x + 4y - z = 5
(5+10=15 Marks)
2. Demonstrate the following task using Python programming- read the Misc image from the
SciPy library and convert it into a grayscale image. Now, apply the Sobel mask in different
directions and show individual and combined edges.
(15 Marks)
4. (a) Write a program using MicroPython to enable the ESP32/ ESP8266 Wi-Fi, scan Wi-Fi
networks, display the list of available networks and demonstrate the working model.
(30 Marks)
5. Analyse and explain the various stages involved in debugging a MicroPython programming
with ESP8266. (20 Marks)
***********END OF EXAM**************