Unit 6: Real-world applications - Subjective Questions

ECE181 — Introduction To Python • Practice Questions with Detailed Answers

20 questions

1

What are real-world applications of Python? Explain with at least five domains where Python is widely used.

2

What is OpenCV? Explain how it is used to perform basic image operations in Python.

3

Explain the steps to perform edge detection and image thresholding using OpenCV with example code.

4

What is PyGame? Describe the basic structure of a PyGame program.

5

Explain how event handling works in PyGame with suitable examples.

6

What is web scraping? Explain the process of accessing a URL and extracting data using Python libraries.

7

Distinguish between the requests module and the urllib module for accessing URLs in Python.

8

What is data visualization? Explain its importance in data analysis.

9

Explain how to create different types of plots using Matplotlib with example code.

10

Compare Matplotlib and Seaborn as data visualization libraries in Python.

11

What is data storytelling? Explain its key components and importance.

12

Describe some advanced toolboxes/libraries in Python and their applications.

13

Explain how images are represented in OpenCV and describe pixel manipulation with an example.

14

Write a Python program using PyGame to move a rectangle across the screen using arrow keys, and explain the logic.

15

Explain the concept of HTTP requests and describe the common HTTP methods used in web scraping and API access.

16

Describe the process of building a complete data visualization dashboard and the best practices for creating effective visualizations.

17

What is BeautifulSoup? Explain its main functions used in web scraping with examples.

18

Explain NumPy and Pandas as advanced Python toolboxes, and distinguish between their primary data structures.

19

Explain the challenges and ethical considerations involved in web scraping.

20

Describe how Python integrates image processing, data analysis, and visualization together in a real-world application. Provide a conceptual example.