BADM 211 FULL EXAM QUESTIONS AND
DETAILED SOLUTIONS
◉ Fake Facebook and _____________ accounts, most notably under
Russian control, have helped create and spread divisive and
destabilizing messaging in Western democracies with a goal of
affecting election outcomes.
TikTok
Instagram
Twitter
Etsy. Answer: Twitter
◉ Citizens of the European Union, like citizens of the United States,
can opt out of automated decision making algorithms.
True
False. Answer: False
◉ The Competitive Intelligence department of the Acme Corporation
has gathered every possible variable to model their chief
competitors. In addition to the number of employees by department,
the sales and profit numbers, product satisfaction, warranty returns,
,and product pricing, they also gathered data such as the brand of
wristwatches worn by the chief executives and the softness of the
bath tissue in the executive washroom. You suspect that many of
these variables are unnecessary, so you choose a(n) ____________
technique for data preprocessing, which should improve
____________________.
dimension reduction, predictive accuracy
data reduction, bias-variance tradeoff
dimension reduction, bias-variance tradeoff
data reduction, predictive accuracy. Answer: dimension reduction,
predictive accuracy
◉ The primary purpose of data exploration is to understand the
global landscape of the data and to _________________.
detect unusual values
detect categorical variables
discover causality between predictors and the outcome
discover variable interactions. Answer: detect unusual values
◉ The households in Mahomet, Illinois (zip code 61853) are
demographically different than the households that live in
,Effingham, Illinois (zip code 62401). We can use _____________ learning
models, particularly _______________ to understand these differences.
unsupervised, classification
supervised, classification
supervised, cluster analysis
unsupervised, cluster analysis. Answer: unsupervised, cluster
analysis
◉ Unsupervised and supervised methods may be used together
when predicting the risk of loan default, particularly when there
large differences in predictor values between groups of borrowers.
True
False. Answer: True
◉ The primary purpose of data exploration is to understand the
global landscape of the data and to _________________.
detect unusual values
detect categorical variables
discover causality between predictors and the outcome
discover variable interactions. Answer: detect unusual values
, ◉ The pandas function 'pd.get_dummies(data_df, prefix_sep="_",
drop_first=True)' automatically encodes ordinal and nominal
categorical variables differently.
True
False. Answer: False
◉ A list can contain any Python type. But a list itself is also a Python
type. That means that a list can also contain a list! Python is getting
funkier by the minute, but fear not, just remember the list syntax:
(Python List Assignment)
my_list = [el1, el2, el3]
Can you tell which ones of the following lines of Python code are
valid ways to build a list? Please choose all correct answers.
[1, 3, 4, 2]
[[1, 2, 3], [4, 5, 7]]
[1 + 2, "a" * 5, 3]. Answer: ALL ARE CORRECT
◉ Assume, you are given two lists:
a = [1,2,3,4,5]
b = [6,7,8,9]
DETAILED SOLUTIONS
◉ Fake Facebook and _____________ accounts, most notably under
Russian control, have helped create and spread divisive and
destabilizing messaging in Western democracies with a goal of
affecting election outcomes.
TikTok
Etsy. Answer: Twitter
◉ Citizens of the European Union, like citizens of the United States,
can opt out of automated decision making algorithms.
True
False. Answer: False
◉ The Competitive Intelligence department of the Acme Corporation
has gathered every possible variable to model their chief
competitors. In addition to the number of employees by department,
the sales and profit numbers, product satisfaction, warranty returns,
,and product pricing, they also gathered data such as the brand of
wristwatches worn by the chief executives and the softness of the
bath tissue in the executive washroom. You suspect that many of
these variables are unnecessary, so you choose a(n) ____________
technique for data preprocessing, which should improve
____________________.
dimension reduction, predictive accuracy
data reduction, bias-variance tradeoff
dimension reduction, bias-variance tradeoff
data reduction, predictive accuracy. Answer: dimension reduction,
predictive accuracy
◉ The primary purpose of data exploration is to understand the
global landscape of the data and to _________________.
detect unusual values
detect categorical variables
discover causality between predictors and the outcome
discover variable interactions. Answer: detect unusual values
◉ The households in Mahomet, Illinois (zip code 61853) are
demographically different than the households that live in
,Effingham, Illinois (zip code 62401). We can use _____________ learning
models, particularly _______________ to understand these differences.
unsupervised, classification
supervised, classification
supervised, cluster analysis
unsupervised, cluster analysis. Answer: unsupervised, cluster
analysis
◉ Unsupervised and supervised methods may be used together
when predicting the risk of loan default, particularly when there
large differences in predictor values between groups of borrowers.
True
False. Answer: True
◉ The primary purpose of data exploration is to understand the
global landscape of the data and to _________________.
detect unusual values
detect categorical variables
discover causality between predictors and the outcome
discover variable interactions. Answer: detect unusual values
, ◉ The pandas function 'pd.get_dummies(data_df, prefix_sep="_",
drop_first=True)' automatically encodes ordinal and nominal
categorical variables differently.
True
False. Answer: False
◉ A list can contain any Python type. But a list itself is also a Python
type. That means that a list can also contain a list! Python is getting
funkier by the minute, but fear not, just remember the list syntax:
(Python List Assignment)
my_list = [el1, el2, el3]
Can you tell which ones of the following lines of Python code are
valid ways to build a list? Please choose all correct answers.
[1, 3, 4, 2]
[[1, 2, 3], [4, 5, 7]]
[1 + 2, "a" * 5, 3]. Answer: ALL ARE CORRECT
◉ Assume, you are given two lists:
a = [1,2,3,4,5]
b = [6,7,8,9]