














































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















































































1: Introduction PRACTICAL INFORMATION
1. Exam (5.6/20) The exam consists of: - Large question: Explain and illustrate certain techniques or concepts (/6) - Discussion case: (/6) - 5 small questions: Answer in 2 lines (/4) INTRODUCTION Data science has a significant impact on: - Costs and benefits for businesses - Decisions on humans - More than just making calls to predefined Python libraries 1. Responsible AI The double-edged sword of advancement It was the best of times... It was the worst of times...
1.1 Data science and ethics
amount < 100,000 and... then default = N]. This creates a pattern/prediction model applied to a new client.) DATA SCIENCE & ETHICS
1. Ethics theories Utilitarianism = consequentialism = what is produced in the consequence of the act. - Action is moral if the consequence is moral, means to an end. → Decides what is good or bad based on the impact of the action. - Justifies immoral things. Deontology = not doing immoral actions, irrespective of the impact. 1.2 Aristotle's Nicomachean ethic Moral behavior can be found at the mean between two extremes: excess and deficiency. "Golden mean" of data science ethics: - Deficiency: Not using any data at all. - Excess: Using all available data for any application, without any concern for the ethical concerns. FOUNDATIONS OF DATA SCIENCE (Questions 1–50)
6. The "DIKW" hierarchy stands for: A) Data, Information, Knowledge, Wisdom B) Data, Insight, Knowledge, Workflow C) Data, Integration, Knowledge, Wisdom D) Data, Information, Knowledge, Workflow 7. Which role is most associated with building and maintaining data pipelines and infrastructure? A) Data analyst B) Data engineer C) Machine learning researcher D) Business intelligence analyst 8. A key difference between a data analyst and a data scientist is that data scientists typically: A) Only create dashboards B) Focus exclusively on SQL queries C) Build predictive models and use machine learning D) Manage server hardware 9. Which of the following is an example of structured data? A) Free-text customer reviews B) A relational database of sales transactions C) Audio recordings D) Images from a security camera 10. Unstructured data is characterized by: A) Fixed schema and tabular format B) Lack of a predefined data model C) Being stored only in spreadsheets D) Always being numerical 11. Which of the following best describes "big data"? A) Any dataset larger than 1 GB B) Data characterized by volume, velocity, variety, veracity, and value
C) Data stored only in cloud systems D) Data generated exclusively by social media
12. The "5 Vs" of big data do NOT include: A) Volume B) Velocity C) Virtuality D) Veracity 13. Which of the following is a primary goal of exploratory data analysis (EDA)? A) Confirming a pre-specified hypothesis B) Understanding data structure, patterns, and anomalies before modeling C) Deploying a model to production D) Writing a research paper 14. A p-value represents: A) The probability that the null hypothesis is true B) The probability of observing data at least as extreme as observed, assuming the null hypothesis is true C) The probability that the alternative hypothesis is true D) The effect size of a treatment 15. Which of the following is a Type I error? A) Failing to reject a false null hypothesis B) Rejecting a true null hypothesis C) Accepting a true alternative hypothesis D) Failing to reject a true null hypothesis 16. Statistical power is: A) The probability of rejecting a true null hypothesis B) The probability of correctly rejecting a false null hypothesis C) The probability of a Type I error D) The sample size divided by the population 17. In supervised learning, the target variable is: A) Always categorical
B) t-SNE C) Autoencoders D) All of the above
24. A confusion matrix is used to evaluate: A) Regression models only B) Classification models C) Clustering models only D) Data pipelines 25. Precision is defined as: A) TP / (TP + FN) B) TP / (TP + FP) C) TN / (TN + FP) D) (TP + TN) / Total 26. Recall (sensitivity) is defined as: A) TP / (TP + FN) B) TP / (TP + FP) C) TN / (TN + FP) D) (TP + TN) / Total 27. The F1 score is: A) The arithmetic mean of precision and recall B) The harmonic mean of precision and recall C) The geometric mean of precision and recall D) The difference between precision and recall 28. ROC-AUC stands for: A) Receiver Operating Characteristic – Area Under Curve B) Regression Output Curve – Average Under Curve C) Random Output Classification – Area Under Curve D) Receiver Operating Classification – Average Under Curve 29. In regression, RMSE stands for: A) Root Mean Squared Error
B) Relative Mean Standard Error C) Root Median Squared Estimate D) Regression Mean Standard Error
30. Which of the following is a regularized regression technique? A) Ordinary Least Squares B) Ridge regression C) Simple linear regression D) Polynomial regression without penalty 31. The bias-variance tradeoff describes: A) The tradeoff between model accuracy and interpretability B) The tradeoff between underfitting and overfitting C) The tradeoff between training time and memory D) The tradeoff between precision and recall 32. A decision tree splits data based on: A) Random assignment B) Feature thresholds that maximize impurity reduction C) Alphabetical order of features D) Row indices 33. Random forests improve on decision trees by: A) Using only one tree B) Bagging and random feature selection C) Removing all randomness D) Using only categorical features 34. Gradient boosting builds models: A) In parallel B) Sequentially, each correcting the previous model's errors C) By averaging independent models D) By clustering data 35. Support Vector Machines (SVMs) are primarily used for: A) Clustering
B) Dense vectors capturing semantic similarity C) Binary codes D) Sorted lists
42. A common ethical concern with word embeddings is: A) They are always unbiased B) They can encode and amplify societal biases present in training data C) They cannot represent synonyms D) They require no training data 43. Time series data is characterized by: A) Independence between observations B) Temporal ordering and autocorrelation C) Categorical outcomes D) No trend or seasonality 44. Stationarity in time series means: A) The data has no trend or seasonality B) The data is always increasing C) The data has no missing values D) The data is normally distributed 45. Which of the following is a method for detecting outliers? A) Z-score B) IQR method C) Isolation Forest D) All of the above 46. Data leakage refers to: A) Sharing data with unauthorized parties B) Information from the test set inadvertently influencing training C) Loss of data during storage D) Corrupted data files 47. A/B testing is used to: A) Compare two versions of a product or model
B) Clean data C) Train neural networks D) Encrypt data
48. Statistical significance in A/B testing depends on: A) Sample size and effect size B) Only sample size C) Only effect size D) The color of the button 49. A common pitfall in A/B testing is: A) Using a sufficiently large sample B) Peeking at results and stopping early C) Pre-registering hypotheses D) Random assignment 50. Reproducibility in data science requires: A) Sharing only final results B) Documenting code, data, and environment C) Avoiding version control D) Keeping methods secret SECTION 2: ETHICAL FOUNDATIONS & PHILOSOPHY (Questions 51–100) 51. Ethics in data science primarily concerns: A) Only legal compliance B) Moral principles guiding the collection, analysis, and use of data C) Maximizing profit D) Avoiding all data collection 52. Which of the following is a normative ethical theory? A) Deontology B) Consequentialism C) Virtue ethics D) All of the above
59. Beneficence in research ethics means: A) Avoiding harm only B) Maximizing benefits and minimizing harms C) Prioritizing the researcher's interests D) Ignoring risks 60. Justice in research ethics primarily concerns: A) Fair distribution of benefits and burdens B) Retribution C) Legal punishment D) Profit sharing 61. Informed consent requires: A) Only a signature B) Disclosure, comprehension, voluntariness, and competence C) Verbal agreement only D) No documentation 62. A vulnerable population in research includes: A) Prisoners B) Children C) Cognitively impaired individuals D) All of the above 63. An Institutional Review Board (IRB) is responsible for: A) Funding research B) Reviewing and approving research involving human subjects C) Publishing research D) Marketing data products 64. The principle of "do no harm" is known as: A) Non-maleficence B) Beneficence C) Autonomy D) Justice
65. Paternalism in data ethics refers to: A) Respecting user autonomy B) Making decisions for others without their consent, ostensibly for their benefit C) Sharing data openly D) Encrypting data 66. Which of the following is a key tension in data ethics? A) Privacy vs. utility B) Fairness vs. accuracy C) Transparency vs. proprietary interests D) All of the above 67. "Data dignity" refers to: A) The right to be paid for one's data B) The concept that individuals should have control over and benefit from their data C) The right to delete all data D) The right to remain anonymous 68. The "trolley problem" is often used to illustrate: A) Deontological vs. consequentialist reasoning B) Data cleaning techniques C) Machine learning algorithms D) Database normalization 69. Moral relativism in data ethics suggests: A) There are universal ethical truths B) Ethical judgments are relative to culture or context C) Ethics is irrelevant D) Only laws matter 70. The "veil of ignorance" thought experiment was proposed by: A) Immanuel Kant B) John Rawls