Page 320 - Touhpad Ai
P. 320
Ans. import seaborn as sns
import matplotlib.pyplot as plt
# Data: Weekly study hours for 25 students
study_hours = [5, 8, 10, 12, 6, 7, 9, 11, 8, 14,
10, 9, 6, 12, 15, 8, 11, 10, 7, 13,
9, 14, 12, 6, 10]
# Create histogram
sns.histplot(study_hours, bins=7, color=’lightgreen’, edgecolor=’black’)
# Add labels and title
plt.xlabel(‘Weekly Study Hours’)
plt.ylabel(‘Number of Students’)
plt.title(‘Distribution of Weekly Study Hours among Students’)
# Show the chart
plt.show()
Question 11 (5)
39. Discuss the concept of the ethical dilemma with an example.
Ans. An ethical dilemma is a situation in which a person faces a choice between conflicting moral principles or values.
It often involves tough decisions where there are competing interests or where doing what is considered right
may result in undesirable outcomes. Ethical dilemmas can arise in various contexts, such as in personal
relationships, professional settings, or societal issues. Resolving ethical dilemmas requires thoughtful
consideration of the consequences of different actions and balancing conflicting ethical concerns.
Let us understand the concept of ethical dilemma with the help of an example.
Scenario: You work for a pharmaceutical company developing a new drug to treat a rare disease. During
clinical trials, it becomes evident that the drug is effective in treating the disease, but it also has significant side
effects in a small percentage of patients. The company is under pressure to release the drug quickly due to the
urgent need for treatment, but there are concerns about the potential harm caused by the side effects.
Ethical Dilemma: On one hand, releasing the drug could provide relief to patients suffering from the rare
disease, potentially saving lives, and improving quality of life. On the other hand, there's a risk of causing harm
to patients due to the side effects, which could lead to serious health complications or even fatalities.
318 Touchpad Artificial Intelligence - XI

