Data Science Quiz

Questions: 16 · 10 minutes
1. A medical screening model predicts a rare condition. Missing a person who has the condition is especially costly. Which metric most directly measures the proportion of actual positive cases the model identifies?
Specificity
Precision
Recall
Accuracy
2. An analyst standardizes every numeric column using the mean and standard deviation of the full dataset, then divides the data into training and test sets. What is the main problem?
Information from the test set has leaked into preprocessing
The training set will necessarily become too small
Standardized features cannot be used by predictive models
Standardization can be used only with categorical variables
3. An observational dataset shows that people who use a fitness app more often also exercise more. What would best support a causal claim that the app increases exercise?
A stronger correlation in the same observational dataset
A larger sample collected with the same observational design
A chart showing app use before exercise in the dataset
A well-designed randomized experiment comparing app access with a control condition
4. A team wants to estimate how well a predictive model will perform on new, unseen records. What is the main purpose of keeping a separate test set?
To guarantee that the model will perform equally well after deployment
To increase the number of features available during training
To evaluate the finalized model on data not used for fitting or model selection
To remove the need for validation during model development
5. A fraud detection team reviews every transaction flagged by a model, and legitimate transactions sent for review are very costly. Which metric focuses on how many flagged transactions are actually fraudulent?
Recall
Mean squared error
Specificity
Precision
6. Household incomes in a sample are strongly right-skewed because a few values are extremely high. Which measure best represents a typical income while limiting the influence of those extremes?
The range
The arithmetic mean
The median
The variance
7. In an A/B test, a confidence interval for the difference in average outcomes is entirely above zero at the chosen confidence level. Which conclusion is most justified?
The new version will improve the outcome for every user
The size of the improvement is automatically important in practice
There is no uncertainty remaining about the true effect
The data provide evidence of a positive average difference at that confidence level
8. A data scientist wants repeated runs of the same random train-test split to select the same records. What is the most direct step?
Add more rows after each run
Set and record the random seed used by the splitting procedure
Sort the target values from highest to lowest before splitting
Remove the target column before saving the dataset
9. During model development, what is the primary purpose of k-fold cross-validation?
To convert a regression target into categories
To eliminate every source of sampling bias
To estimate performance across multiple training-validation splits
To replace the need for a final untouched test set in all cases
10. What is a common purpose of regularization in a predictive model?
To make every feature have the same correlation with the target
To convert an unsupervised task into a supervised one
To ensure all training examples are predicted correctly
To discourage excessive model complexity and help reduce overfitting
11. Six months after deployment, a model's performance declines because the relationship between customer behavior and the target has changed. What does this most directly illustrate?
A syntax error in the training code
Concept drift affecting the model after deployment
Successful regularization during training
Perfect multicollinearity in every input feature
12. A dataset has many correlated numeric features, and an analyst wants a smaller set of uncorrelated components that retain as much variance as possible. Which technique fits this goal?
Principal component analysis
Logistic regression
One-hot encoding
Stratified sampling
13. A table named sales contains region and revenue columns. Which SQL query correctly calculates average revenue for each region?
SELECT region, AVG(revenue) FROM sales GROUP BY revenue;
SELECT region, AVG(revenue) FROM sales GROUP BY region;
SELECT AVG(region), revenue FROM sales GROUP BY region;
SELECT region, revenue FROM sales WHERE revenue = AVG(revenue);
14. A feature records customers' preferred contact channel as email, phone, chat, or post, with no natural order. Which basic encoding avoids implying that one category ranks above another?
One-hot encoding
Assigning values 1, 2, 3, and 4 to the categories
Replacing each category with the row number
Min-max scaling the category names
15. A retailer has customer behavior data but no predefined customer types. It wants to discover groups of customers with similar behavior. Which approach is most suitable?
Linear regression
Clustering
Binary classification
Time-series forecasting
16. A model achieves 99% accuracy on its training data but only 68% accuracy on unseen test data. Which explanation is most likely?
The model is overfitting patterns specific to the training data
The model is underfitting because both scores are equally low
The target variable must be continuous
The test data have been used too many times during training
Popular tests
Narcissistic Personality Inventory (NPI)
This self-report measure is used to assess narcissism as a personality trai…
Start Test
Yale-Brown Obsessive Compulsive Scale (Y-BOCS)
This measure is used to rapidly quantify the current severity of obsessive…
Start Test
CRAFFT Screening Test (CRAFFT 2.1)
This brief screening measure is designed to identify potential alcohol and…
Start Test
Patient Health Questionnaire-9 (PHQ-9)
This measure is commonly used to quickly screen for the presence and severi…
Start Test
Maslach Burnout Inventory (MBI)
This self-report measure is used to assess occupational burnout symptoms in…
Start Test
Adolescent Anxiety Questionnaire
This measure is designed to support a brief appraisal of anxiety symptoms a…
Start Test
Emotional Creativity Inventory (ECI)
This self-report measure assesses individual differences in the originality…
Start Test
Horne–Ostberg Morningness–Eveningness Questionnaire (MEQ)
Circadian preferences influence typical patterns of alertness and sleep tim…
Start Test
Ambivalent Sexism Inventory (ASI)
This measure is designed to assess attitudes toward women, including both o…
Start Test
Internalized Misogyny Scale (IMS)
This measure is designed to assess internalized negative beliefs and stereo…
Start Test
Perceived Stress Scale (PSS-10)
This self-report measure assesses the degree to which individuals appraise…
Start Test
Impulsive Behavior Scale (SUPPS-P)
Impulsivity is a multidimensional construct that is often assessed with bri…
Start Test
Clinical Institute Withdrawal Assessment for Alcohol, Revised (CIWA-Ar)
This rating scale is used to rapidly assess the severity of alcohol withdra…
Start Test
Positive and Negative Affect Schedule (PANAS)
This measure provides a brief self-report assessment of current or typical…
Start Test
Light Triad Scale (LTS)
This self-report measure assesses prosocial personality tendencies and orie…
Start Test
Suicidal Ideation Scale
In clinical settings, the Suicidal Ideation Scale is used to structure an i…
Start Test
Body Dysmorphic Disorder Scale (BDD-D)
This brief self-report measure is designed to screen for and quantify distr…
Start Test
Beck Anxiety Inventory (BAI)
This measure is a brief self-report inventory used to screen for anxiety sy…
Start Test
Differential Test of Perfectionism
This instrument is used to screen for perfectionism-related attitudes and t…
Start Test
Locus of Control Scale
This measure assesses generalized expectancies regarding the degree to whic…
Start Test
New Apathy Scale
This brief self-report measure is used to screen for apathy-related symptom…
Start Test
Perth Alexithymia Questionnaire (PAQ)
This measure assesses individual differences in alexithymia, including diff…
Start Test
Social Intelligence Scale
This brief self-report measure is designed to support rapid screening of in…
Start Test
Fear Test
This measure is designed to evaluate individual differences in fear-related…
Start Test
Neuroticism Level Scale
The measure is intended for brief screening of an individual’s propensity t…
Start Test
Aggressiveness Indicators Screening Questionnaire
This screening tool is designed to quickly identify behavioral indicators a…
Start Test