[go: up one dir, main page]

0% found this document useful (0 votes)
580 views12 pages

Analytics Quiz and Case Study

The document contains multiple choice questions about various Python and data analysis concepts. It covers topics like Python data structures, conditional statements, data types, dictionary methods, conditional logic, sets, lists, tuples, immutability, and more. It also includes questions related to data visualization, machine learning techniques, stock portfolios, data analysis questions, time series analysis, probability, statistics, and R programming.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
580 views12 pages

Analytics Quiz and Case Study

The document contains multiple choice questions about various Python and data analysis concepts. It covers topics like Python data structures, conditional statements, data types, dictionary methods, conditional logic, sets, lists, tuples, immutability, and more. It also includes questions related to data visualization, machine learning techniques, stock portfolios, data analysis questions, time series analysis, probability, statistics, and R programming.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

1.

Which of the following objects in Python are built on the idea of


sequence?
a. dictionary and list
b. list and tuple
c. tuple and dictionary
d. set and dictionary

2. Which one of the following is NOT used in a conditional statement?


a. if
b. elif
c. else
d. print

3. Which of the following is a truthy value?


a. [1, 2, 3]
b. ( )
c. { }
d. [ ]

4. What does the get() method return when a key is not found in the
dictionary?
a. None
b. KeyError
c. Dictionary
d. List of keys

5. John writes a Python statement:


a, b, c = (1,2,3), 5, [2,4]
What is the type of the variable b?
a. list
b. int
c. float
d. tuple
6. Which of the following is/are valid set(s)? (Multiple answers correct)

a. {4, 'home', 'life'}


b. { 2 : 3 }
c. { 2, 4, 2}
d. set( )

8. Which one of the following list method takes index as an argument?

a. extend( )
b. index( )
c. pop( )
d. remove( )

9. Which of the following Python objects are inmutable? (Multiple answers


correct)
a. list
b. string
c. set
d. dictionary

10. You are given a dictionary employee_dict. What object does


list(employee_dict.items()) return?
a. List of values
b. List of keys
c. List of tuples
d. List of dictionaries

11. Identify the local minima and maxima


a. Minima: (0,-5)
Maxima: (1, -3) & (-2, 3)
b. Minima: (0,-5)
Maxima: (-2, 3)
c. Minima: (0,-5)
Maxima: (-1.8, 3.2)
d. Minima: (0,-5)
Maxima: (1, -3) & (-1.8, 3.2)

12. A bag consists of a black, blue, yellow, red, green and a pink ball.
Probability of not selecting a yellow ball is

a. 1/11
b. 5/6
c. 1/6
d. 1/3

13.

a. Neither is correct
b. Both are correct
c. Kelli is correct
d. Richard is correct

14. Continuous data with outliers are best summarised using ____________

a. Median, IQR & Range


b. Mode, standard deviation
c. Mean, IQR & range
d. Mean, standard deviation

15. Find the domain of the function f(x) = (x² + x - 20) / (x² - 3x - 18)
a. (-∞,-3)∪(6,∞)
b. (-∞,-3]∪[-3,6]∪[6,∞)
c. (-∞,6)∪(-3,6)∪(-3,∞)
d. (-∞,-3)∪(-3,6)∪(6,∞)

16. Ms. Novelli allows her students students to choose the mean, median or
mode of their set of test scores to be their final average. Which measure of
center should Brooke use in order to get the highest average if her scores are
90, 80, 90, 70, 85?

a. Median
b. Mode
c. They are all same
d. Mean

17. A function is differentiable at a < c < b

a. if and only if the left and right derivatives at c both exist and are equal
b. if and only if the left and right derivatives at c both exist
c. if and only if the right derivative at c exists
d. if and only if the left derivative at c exists

18. If a function is differentiable, must it be continuous?

a. No
b. Sometimes
c. Only if there is no cusp
d. Yes

19. Is this function continuous, differentiable, both, or neither at x=c?


a. Continuous only
b. Differentiable only
c. Both
d. Neither

20. Consider the following codes:


I. MS Excel
II. My SQL
III. MS Access
IV. R and Python
Which tool is used in Business Analysis?
a. I, II, III, IV
b. I & IV
c. I, II & IV
d. I, III & IV
Answer: B
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1. SAAS Stands for?
a. Software Acting As Service
b. Systems As A Service
c. Software As A Service
d. Systems As A Software
Answer: C
2. _________ Analysis is used to analyze a system in terms of its requirements to
identify its impact on customer satisfaction.
a. Impact
b. Paretto
c. Root Cause
d.Kano
Answer: D
3. Which of the following code is correct to convert a string in Python in date-time
value?
a. date_time_str = '2021-01-29 08:15:27.243860'
date_time_obj = datetime.datetime.strptime(date_time_str, '%Y-%m-%d %H:%M:
%S.%f')
b. date_time_str = '2021-01-29 08:15:27.243860'
date_time_obj = datetime.datetime.strptime(date_time_str, '%Y-%M-%D %H:
%M:%S.%f')
c. date_time_str = '2021-01-29 08:15:27.243860'
date_time_obj = datetime.datetime.strptime(date_time_str, '%y-%m-%d %H:%M:
%S.%f')
d.date_time_str = '2021-01-29 08:15:27.243860'
date_time_obj = datetime.datetime.strptime(date_time_str, '%y-%m-%d %h:%m:
%s.%f')
Answer: A

4. Consider the following Stock Portfolios:


Portfolio_A = {'INDY', 'GLD', 'GTL Limited', 'HDFC Bank', ‘INDY’}
Portfolio_B = {‘Tata Steel’, ‘BILT’, ‘IDFC’, ‘Spacex’, ‘GLD’ }
What would be Portfolio_A - Portfolio_B?
a. {'INDY', 'GLD', 'GTL Limited', 'HDFC Bank', ‘Tata Steel’, ‘BILT’, ‘IDFC’, ‘Spacex’}
b. {'INDY', 'GTL Limited', 'HDFC Bank'}
c. { ‘Tata Steel’, ‘BILT’, ‘IDFC’, ‘Spacex’}
d. {'GLD'}
Answer: B

5. Which Machine Learning technique you will use to predict the category whether
the customer will Churn or not in respect of OTT services:
a. Decision Tree
b. Sentiment Analysis
c. Logistic Regression
d.Clustering
Answer: D
6. Which of the following is correct with respect to residuals? Select one:
a. Positive residuals are below the line, negative residuals are above
b. Positive and negative residuals both are below
c. None of the Above
d.Positive residuals and negative residuals are below the line
Answer: C
7. Which approach should be used to ask Data Analysis questions? Select one:
a. Find out the question which is to be answered
b. Find out the answer from a dataset without asking the question
c. None of the mentioned
d.Find only one solution for a particular problem
Answer: A
8. Consider the following codes:
I. Politics
II. Sales and marketing
III. Healthcare
IV. Human Resource
Common use cases for data visualization include?
a. I & III
b. II & IV
c. II, III, IV
d. I, II, III, IV
Answer: D

9. Which of the following graph can be used to check randomness in Time Series?
Select one:
a. Scatterplot
b. Barplot
c. Auto Correlation
d.Any graph
Answer: C
10. What is the standard deviation for the data given:
20, 25, 18, 129, 19, 65, 75, 50, 56, 85
a. 1168.56
b. 34.184
c. 54.2
d.129
Answer: B
11. The area under a standard normal curve is:
a. ∞
b. 1
c. 0
d.
2
Answer: B
12. Let X ∼ N(4,4). What does this tell us about the distribution of X ? Exactly one option must
be correct)
a. X is binomial with n = 4 and p = 4.
b. X is normal with mean 4 and variance 16.
c. X is normal with mean 4 and variance 2.
d.
X is binomial with mean 4 and variance 4.
Answer: B
13. Which of the following is an example of a time series model?
a. Naive approach
b. Exponential smoothing
c. Moving Average
d. All of the above
Answer: D
14. If the sale is 3mn in the first quarter of 2020, 5mn in the second quarter, 4mn in
third and 6 mn in the fourth quarter. What is the quarter simple moving average
for the first quarter of 2021?
a. 5mn
b. 4.66mn
c. 4mn
d.
Need more information
Answer: A

15. Let f(x) = cot(x) - 2/x^2. Let g(x) = x^3 + 8. What is f(x)*g(y)?
a. y^3(Cot(x)-2/x^2)-16/x^2-8Cot(x)
b. x^3(Cot(y)-2/y^2)-16/x^2+8Cot(x)
c. x^3(Cot(y)+2/y^2)-16/y^2-8Cot(y)
d. y^3(Cot(x)-2/x^2)-16/x^2+8Cot(x)
Answer: D

16. The decrease in the numbers of viewers describes the following component of the
time series:
a. Secular trend
b. Cyclical variation
c. Seasonal variation
d.
All of the above
Answer: A

17. Identify the model: ln(y)=a+bln(x)


Select one:
a. Log model
b. Quadratic
c. Power model
d.
Reciprocal
Answer: C

18. R is an open-source project, which means that

I. you should use caution when using new/rarely used packages.


II. all packages should be viewed with suspicion.
III. you can trust the core packages.
IV. you can trust all packages equally.
Select the codes which apply:
a. Only IV
b. II and III
c. I and II
d. I, II and III

19. In a random selection sample value, the outlier will influence the most to
a. Mean
b. Mode
c. Median
d. None of the above
Answer: A

20. Z Score describes


a. The probability of finding the observed, or more extreme, results when the null
hypothesis (H0) of a study question is true
b. How far above or below the mean a score lies
c. How far above or below the mean a score lies in standard deviation units
d.
If the distribution is normally distributed
Answer: B
21. Determine the number of subsets for the following set: {‘Red’, Blue’, ‘Green’,
‘Yellow’, ‘White’, ‘Pink’}
a. 64
b. 63
c. 31
d.
32
Answer: B
22. The mean of 29 observations is 36. The mean of the first 15 observations is 32 and
that of the last 15 observations is 39. What is the value of the 15th observation?
a. 21
b. 20
c. 19
d.
22
Answer: A
23. Which of the following plots are used to check if a data set or time series is
random?
a. Lag
b. Random
c. Lead
d.
None of the mentioned
Answer: A

24. Data Fishing generally means


a. Data Merging
b. Data Boosting
c. Data Dredging
d. None of the above
25. In case variable can’t be fixed, then what approach can be used to Analyse the
data:
a. Randomize the variable
b. Non Stratify the variable
c. Generalize the variable
d.
Can’t be analyzed
Answer: A
26. The analysis based on study of deposits in bank, fluctuations in prices,
commodities production can be classified as:
a. Sample Series Analysis
b. Time Series Analysis
c. Numerical Analysis
d.
Experimental Analysis
Answer: B
27. The method of moving averages is used for which of the following purposes?
a. For regression Analysis
b. To smooth the Time Series
c. For trend Estimation
d. For Plotting
Answer: B
28. For the following continuous distributions which one is more likely to have
extreme values (under its range)?
a. Exponential
b. Uniform
c. Normal
d.
Extreme values are rare for all continuous distributions
Answer: B
29. Degree of relatedness between two variables is also known as?
a. Residual
b. Confidence
c. Regression
d. Correlation
Answer: D

30. In fitting a model to predict whether a person viewing an eCommerce website will click
on a particular link, a certain company drew the training data from weblogs of the
browsing records of prior visitors. Various variables were found to be useful in
predicting the target, including a binary variable indicating whether or not the person
making a purchase. How should that variable be handled:
a. It should be included as a predictor due to its likely predictive power.
b. It should be excluded since it is uncorrelated with the target variable.
c. It should be excluded since it will not be available in new data.
d. It should be included, but only in models that rely on binary input variable

You might also like