Create Account
Sign In
Toggle navigation
Home
Practice Exams
Official IQ Testing Hub
MCQ Learn
Board Exams
Learn
BISE Courses
Blog
About Us
Contact Us
01
:
12
:
00
Q:
1
/
80
🤖
Evaluating Your Answers
Please wait while our AI system evaluates your descriptive answers...
This may take a few moments.
⏳ Processing...
We're using advanced AI to provide detailed feedback on your answers.
Data Science Mock Test 15
Exam Duration:
01:12:00
Data Science Mock Test 15
: Question
1
of 80
What will be the output of the following Python code? f = None for i in range (5): with open("data.txt", "w") as f: if i > 2: break print(f.closed)
1 Mark(s)
Your Answer:
True
True
False
False
None
None
Error
Error
What is the primary role of "RapidMiner" in data science?
1 Mark(s)
Your Answer:
Data mining and analytics
Data mining and analytics
Data visualization
Data visualization
Machine learning
Machine learning
Web scraping
Web scraping
To find the average speed of a journey which is the appropriate measure of central tendency?
1 Mark(s)
Your Answer:
Mean
Mean
Geometric Mean
Geometric Mean
Harmonic Mean
Harmonic Mean
Weighted Mean
Weighted Mean
Mode
Mode
In data modeling, what is the term for the process of reducing the dimensionality of data while preserving its important features?
1 Mark(s)
Your Answer:
Data Imputation
Data Imputation
Data Reduction
Data Reduction
Feature Engineering
Feature Engineering
Data Normalization
Data Normalization
Binomial probability distribution is denoted by b(x ; n, p), is defined as _______________?
1 Mark(s)
Your Answer:
{nx}px qn-x
{nx}px qn-x
{nx}px(1 – P)x-n
{nx}px(1 – P)x-n
nCxpnqnx
nCxpnqnx
{nx}p(1 – P)x
{nx}p(1 – P)x
What will be the output of the following Python code? sentence = 'horses are fast' regex = re.compile('(?P<animal>\w+) (?P<verb>\w+) (?P<adjective>\w+)') matched = re.search(regex, sentence) print(matched.groupdict())
1 Mark(s)
Your Answer:
{'animal': 'horses', 'verb': 'are', 'adjective': 'fast'}
{'animal': 'horses', 'verb': 'are', 'adjective': 'fast'}
('horses', 'are', 'fast')
('horses', 'are', 'fast')
'horses are fast'
'horses are fast'
'are'
'are'
Which of the following command allows you to update the repository?
1 Mark(s)
Your Answer:
push
push
pop
pop
update
update
none of the mentioned
none of the mentioned
The number of successes in fixed time interval follows?
1 Mark(s)
Your Answer:
Gamma distribution
Gamma distribution
Binomial distribution
Binomial distribution
Negative binomial dis
Negative binomial dis
Possion distribution
Possion distribution
In NLP, what does the term "syntax" refer to?
1 Mark(s)
Your Answer:
The meaning of words and phrases
The meaning of words and phrases
The structure and rules of grammar
The structure and rules of grammar
The emotional tone of a text
The emotional tone of a text
The frequency of word occurrence
The frequency of word occurrence
Which of the following is NOT a benefit of using generators?
1 Mark(s)
Your Answer:
Improved memory efficiency
Improved memory efficiency
Faster execution than loops
Faster execution than loops
Easier debugging
Easier debugging
Lazy evaluation
Lazy evaluation
The character Dot (that is, '.') in the default mode, matches any character other than . . . . . . . .
1 Mark(s)
Your Answer:
caret
caret
ampersand
ampersand
percentage symbol
percentage symbol
newline
newline
Set makes use of . . . . . . . . Dictionary makes use of . . . . . . . .
1 Mark(s)
Your Answer:
keys, keys
keys, keys
key values, keys
key values, keys
keys, key values
keys, key values
key values, key values
key values, key values
What does the term "data wrangling" refer to in the context of a data science capstone project?
1 Mark(s)
Your Answer:
Data exploration
Data exploration
Model deployment
Model deployment
Data cleaning and preparation
Data cleaning and preparation
Data visualization
Data visualization
What is the main role of "Alteryx" in data science?
1 Mark(s)
Your Answer:
Data preparation and analytics
Data preparation and analytics
Data visualization and exploration
Data visualization and exploration
Machine learning
Machine learning
Web scraping
Web scraping
In a binomial probability distribution it is impossible to find______________?
1 Mark(s)
Your Answer:
P(X < 0)
P(X < 0)
P(X = 0)
P(X = 0)
P(X > 0)
P(X > 0)
p(0 ≤ X≤ n)
p(0 ≤ X≤ n)
In a distributed computing environment, what is the primary role of a "Resource Manager" (ResourceManager) in the Hadoop ecosystem?
1 Mark(s)
Your Answer:
Storing metadata
Storing metadata
Managing job scheduling
Managing job scheduling
Storing and managing data blocks
Storing and managing data blocks
Managing data visualization
Managing data visualization
Behaviors in the real world are equivalent to program's:
1 Mark(s)
Your Answer:
data
data
function
function
module
module
loop
loop
What is the value stored in sys.argv[0]?
1 Mark(s)
Your Answer:
null
null
you cannot access it
you cannot access it
the program's name
the program's name
the first argument
the first argument
According to the empirical rule, approximately what percent of the data should lie within μ±σ?
1 Mark(s)
Your Answer:
75%
75%
99.7%
99.7%
90%
90%
95%
95%
What will be the output of the following Python code? >>> a={1,2,3} >>> {x*2 for x in a|{4,5}}
1 Mark(s)
Your Answer:
{2,4,6}
{2,4,6}
Error, set comprehensions aren't allowed
Error, set comprehensions aren't allowed
{8, 2, 10, 4, 6}
{8, 2, 10, 4, 6}
{8,10}
{8,10}
Which of the following statement would create branch named as 'example'?
1 Mark(s)
Your Answer:
git checkout -b example
git checkout -b example
git checkout -c example
git checkout -c example
git check -b example
git check -b example
none of the mentioned
none of the mentioned
If the smallest observation in a data is decreased, the average which is not affected is______________?
1 Mark(s)
Your Answer:
G.M.
G.M.
Median
Median
Mean
Mean
Harmonic mean
Harmonic mean
What is the main purpose of "Apache Cassandra" in data science environments?
1 Mark(s)
Your Answer:
Distributed NoSQL database
Distributed NoSQL database
Data visualization
Data visualization
Web scraping
Web scraping
Statistical analysis
Statistical analysis
What will be the output of the following Python code? import turtle t=turtle.Pen() t.resizemode(“examveda”) t.resizemode()
1 Mark(s)
Your Answer:
user
user
auto
auto
nonresize
nonresize
error
error
What will be the output of the following Python code? i = 5 while True: if i%0O9 == 0: break print(i) i += 1
1 Mark(s)
Your Answer:
5 6 7 8
5 6 7 8
5 6 7 8 9
5 6 7 8 9
5 6 7 8 9 10 11 12 13 14 15 ....
5 6 7 8 9 10 11 12 13 14 15 ....
error
error
Which of the following creates a pattern object?
1 Mark(s)
Your Answer:
re.create(str)
re.create(str)
re.regex(str)
re.regex(str)
re.compile(str)
re.compile(str)
re.assemble(str)
re.assemble(str)
What is the output of the following code: set1 = {1, 2, 3} set2 = {1, 2} print(set1.issuperset(set2))
1 Mark(s)
Your Answer:
TRUE
TRUE
FALSE
FALSE
Error
Error
None
None
Which function is called when the following Python code is executed? f = foo() format(f)
1 Mark(s)
Your Answer:
format()
format()
__format__()
__format__()
str()
str()
__str__()
__str__()
What is the primary objective of "data storytelling" in business data science?
1 Mark(s)
Your Answer:
Communicating data insights to others
Communicating data insights to others
Creating randomized experiments
Creating randomized experiments
Optimizing data visualization
Optimizing data visualization
Calculating data storage costs
Calculating data storage costs
The Mann-Whitney U test is preferred to a t-test when____________?
1 Mark(s)
Your Answer:
Sample are dependent
Sample are dependent
The assumption of normality is not met
The assumption of normality is not met
Sample sizes are small
Sample sizes are small
Data are paired
Data are paired
In machine learning, what is the term for the process of finding the optimal parameters for a model to achieve better performance?
1 Mark(s)
Your Answer:
Model Optimization
Model Optimization
Model Evaluation
Model Evaluation
Model Training
Model Training
Model Selection
Model Selection
In Python, which library is commonly used for visualizing decision trees and random forests in machine learning?
1 Mark(s)
Your Answer:
dtreeviz
dtreeviz
Pandas
Pandas
Seaborn
Seaborn
Matplotlib
Matplotlib
What ethical principle emphasizes the importance of preventing unauthorized access to data and protecting data from breaches?
1 Mark(s)
Your Answer:
Transparency
Transparency
Accountability
Accountability
Fairness
Fairness
Security
Security
What will be the output of the following Python expression if x=15 and y=12? x & y
1 Mark(s)
Your Answer:
b1101
b1101
0b1101
0b1101
12
12
1101
1101
If the third moment about mean is zero then distribution is_______________?
1 Mark(s)
Your Answer:
Mesokurtic
Mesokurtic
Positively Skewed
Positively Skewed
Symmetrical
Symmetrical
Negatively Skewed
Negatively Skewed
What is the primary purpose of the "applymap" method in Pandas?
1 Mark(s)
Your Answer:
Apply a function element-wise
Apply a function element-wise
Sort a DataFrame
Sort a DataFrame
Reshape data
Reshape data
Group data
Group data
What will be the output of the following Python code snippet? print('0xa'.isdigit())
1 Mark(s)
Your Answer:
True
True
False
False
None
None
Error
Error
What is the primary purpose of "seasonal decomposition" in time series analysis?
1 Mark(s)
Your Answer:
To identify seasonality in the data
To identify seasonality in the data
To remove seasonality from the data
To remove seasonality from the data
To make the data stationary
To make the data stationary
To identify trends in the data
To identify trends in the data
What is the concept of using AI-driven algorithms to personalize and enhance the user experience in virtual reality environments?
1 Mark(s)
Your Answer:
Customer service automation
Customer service automation
Real estate analytics
Real estate analytics
Healthcare resource optimization
Healthcare resource optimization
VR experience optimization
VR experience optimization
What is the output of the following code: my_list = [True, False, True] print(any(my_list))
1 Mark(s)
Your Answer:
TRUE
TRUE
[True, False, True]
[True, False, True]
FALSE
FALSE
Error
Error
In NLP, what does the term "named entity" typically refer to?
1 Mark(s)
Your Answer:
Specific words and phrases
Specific words and phrases
Generic nouns
Generic nouns
Pronouns and conjunctions
Pronouns and conjunctions
Verbs and adjectives
Verbs and adjectives
What is output of print(math.pow(3, 2))?
1 Mark(s)
Your Answer:
9.0
9.0
None
None
9
9
None of the mentioned
None of the mentioned
In Python, which escape sequence is used to represent a newline character?
1 Mark(s)
Your Answer:
\n
\n
\r
\r
\t
\t
\s
\s
What will be the output of the following Python code? x = 'abcd' for i in range(len(x)): print(i)
1 Mark(s)
Your Answer:
error
error
1 2 3 4
1 2 3 4
a b c d
a b c d
0 1 2 3
0 1 2 3
Which data visualization type is suitable for comparing the distribution of a single continuous variable across different categories?
1 Mark(s)
Your Answer:
Scatter plot
Scatter plot
Bar chart
Bar chart
Box plot
Box plot
Line chart
Line chart
In data science for business, what is the primary focus of "data exploration"?
1 Mark(s)
Your Answer:
Extracting data from multiple sources
Extracting data from multiple sources
Analyzing data patterns
Analyzing data patterns
Preparing data for analysis
Preparing data for analysis
Organizing data into categories
Organizing data into categories
Which Python library is commonly used for working with SQL databases and performing SQL-like operations on dataframes?
1 Mark(s)
Your Answer:
SQLalchemy
SQLalchemy
SQLite
SQLite
Pandas SQL
Pandas SQL
Pandas
Pandas
How do you get the current position within the file?
1 Mark(s)
Your Answer:
fp.seek()
fp.seek()
fp.tell()
fp.tell()
fp.loc
fp.loc
fp.pos
fp.pos
Which of the following Measure of averages is affected by extreme (very small or very largE. values in data set?
1 Mark(s)
Your Answer:
Geometric Mean
Geometric Mean
Median
Median
Arithmetic Mean
Arithmetic Mean
Harmonic Mean
Harmonic Mean
Mode
Mode
Comparing the times to failure of radar transponders made by firms A, B, and C based on an airline’s sample experience with the three types of instruments one may use____________?
1 Mark(s)
Your Answer:
Kolmogorov-Smirnor test
Kolmogorov-Smirnor test
Wilcoxon Rank-Sum test
Wilcoxon Rank-Sum test
Spearman Rank Correlation test
Spearman Rank Correlation test
Kruskal-Wallis test
Kruskal-Wallis test
In data collection, what is the term for data that has not been processed or analyzed and is in its original form?
1 Mark(s)
Your Answer:
Raw Data
Raw Data
Processed Data
Processed Data
Analytical Data
Analytical Data
Structured Data
Structured Data
What will be the output of the following Python code? def f(x): for i in range(5): yield i g=f(8) print(list(g))
1 Mark(s)
Your Answer:
[0, 1, 2, 3, 4]
[0, 1, 2, 3, 4]
[1, 2, 3, 4, 5, 6, 7, 8]
[1, 2, 3, 4, 5, 6, 7, 8]
[1, 2, 3, 4, 5]
[1, 2, 3, 4, 5]
[0, 1, 2, 3, 4, 5, 6, 7]
[0, 1, 2, 3, 4, 5, 6, 7]
What is the term for the process of converting data into a structured format suitable for analysis and storage?
1 Mark(s)
Your Answer:
Data Integration
Data Integration
Data Transformation
Data Transformation
Data Wrangling
Data Wrangling
Data Cleaning
Data Cleaning
Which of the following is used to extract data from HTML code of websites?
1 Mark(s)
Your Answer:
Webscraping
Webscraping
Webdredging
Webdredging
Webcleaning
Webcleaning
All of the mentioned
All of the mentioned
Single number which shows ___________ changes in a phenomenon is called an Index Number?
1 Mark(s)
Your Answer:
Overall
Overall
Same
Same
Variation
Variation
Capable
Capable
What is the term for the technology that uses quantum bits or qubits to perform calculations that classical computers cannot achieve?
1 Mark(s)
Your Answer:
AI ethics
AI ethics
Data governance
Data governance
Quantum computing
Quantum computing
Augmented reality (AR)
Augmented reality (AR)
What will be the output of the following Python code snippet? print('abc'.islower())
1 Mark(s)
Your Answer:
True
True
False
False
None
None
Error
Error
What is the result of 'True and False' ?
1 Mark(s)
Your Answer:
True
True
False
False
None
None
Error
Error
How can you specify a range of characters in a character class in regular expressions?
1 Mark(s)
Your Answer:
By using a hyphen - between the characters
By using a hyphen - between the characters
By using a comma , between the characters
By using a comma , between the characters
By using a colon : between the characters
By using a colon : between the characters
By using a tilde ~ between the characters
By using a tilde ~ between the characters
5C5 is equal to ________________?
1 Mark(s)
Your Answer:
5
5
5×5
5×5
1
1
None of these
None of these
Which of the following is finally produced by Hierarchical Clustering?
1 Mark(s)
Your Answer:
final estimate of cluster centroids
final estimate of cluster centroids
tree showing how close things are to each other
tree showing how close things are to each other
assignment of each point to clusters
assignment of each point to clusters
all of the mentioned
all of the mentioned
An Index number which measure the change of a _____ is called Aggregative 1. No?
1 Mark(s)
Your Answer:
Industrial activity
Industrial activity
Retail price
Retail price
Cost of living
Cost of living
Goods consumed
Goods consumed
In Python, how can you check if a set is a subset of another set?
1 Mark(s)
Your Answer:
issubset()
issubset()
subsetof()
subsetof()
sub()
sub()
checksubset()
checksubset()
Which ethical principle emphasizes the importance of treating individuals fairly and without discrimination in data science?
1 Mark(s)
Your Answer:
Transparency
Transparency
Accountability
Accountability
Fairness
Fairness
Confidentiality
Confidentiality
Fisher’s ideal index number is also obtained by _______________?
1 Mark(s)
Your Answer:
Taking A.M. of Laspeyre’s and Paasche’s index
Taking A.M. of Laspeyre’s and Paasche’s index
Taking G.M. of Laspeyre’s and Paasche’s index
Taking G.M. of Laspeyre’s and Paasche’s index
Both (a) and (b)
Both (a) and (b)
None of these
None of these
Which of the following is a type of structured data that is organized in rows and columns, similar to a spreadsheet?
1 Mark(s)
Your Answer:
CSV
CSV
JSON
JSON
XML
XML
Unstructured Text Data
Unstructured Text Data
What is the primary difference between a data science capstone project and a typical coursework assignment?
1 Mark(s)
Your Answer:
Real-world application
Real-world application
Same level of complexity as assignments
Same level of complexity as assignments
No mentor or advisor required
No mentor or advisor required
No documentation required
No documentation required
Founder of statistics is_________?
1 Mark(s)
Your Answer:
R A Fisher
R A Fisher
Smith
Smith
Karl pearson
Karl pearson
Neyman
Neyman
What will be the output of the following Python code? count={} count[(1,2,4)] = 5 count[(4,2,1)] = 7 count[(1,2)] = 6 count[(4,2,1)] = 2 tot = 0 for i in count: tot=tot+count[i] print(len(count)+tot)
1 Mark(s)
Your Answer:
25
25
17
17
16
16
Tuples can't be made keys of a dictionary
Tuples can't be made keys of a dictionary
In time series analysis, what does the term "exponential smoothing" refer to?
1 Mark(s)
Your Answer:
A method for detecting seasonality
A method for detecting seasonality
A method for removing outliers
A method for removing outliers
A method for trend identification
A method for trend identification
A method for forecasting future values
A method for forecasting future values
What does the len() function do when applied to a set or tuple?
1 Mark(s)
Your Answer:
Returns the number of elements in the set or tuple
Returns the number of elements in the set or tuple
Converts the set or tuple to lowercase
Converts the set or tuple to lowercase
Converts the set or tuple to uppercase
Converts the set or tuple to uppercase
Removes the last element
Removes the last element
How can you determine the path of the currently executing script in Python?
1 Mark(s)
Your Answer:
By using the os.path module
By using the os.path module
By using the current_path() function
By using the current_path() function
By using the script_path variable
By using the script_path variable
By using the get_path() method
By using the get_path() method
What is the output of the following code: my_list = [3, 1, 4, 1] print(sorted(my_list))
1 Mark(s)
Your Answer:
[1, 1, 3, 4]
[1, 1, 3, 4]
[3, 1, 4, 1]
[3, 1, 4, 1]
[4, 3, 1, 1]
[4, 3, 1, 1]
[1, 3, 1, 4]
[1, 3, 1, 4]
Which data visualization library in Python is known for its capability to create static, animated, and interactive visualizations?
1 Mark(s)
Your Answer:
Plotly
Plotly
Seaborn
Seaborn
Matplotlib
Matplotlib
Pandas
Pandas
What will be the output of the following Python expression? ~100?
1 Mark(s)
Your Answer:
101
101
-101
-101
100
100
-100
-100
What will be the output of the following Python code? a = ('check',) n = 2 for i in range(int(n)): a = (a,) print(a)
1 Mark(s)
Your Answer:
Error, tuples are immutable
Error, tuples are immutable
(('check',),) ((('check',),),)
(('check',),) ((('check',),),)
((‘check’,)’check’,)
((‘check’,)’check’,)
(('check',)’check’,) ((('check',)’check’,)’check’,)
(('check',)’check’,) ((('check',)’check’,)’check’,)
What will be the output of the following Python expression if x=456? print("%-06d"%x)
1 Mark(s)
Your Answer:
000456
000456
456000
456000
456
456
error
error
The special character B matches the empty string, but only when it is . . . . . . . .
1 Mark(s)
Your Answer:
at the beginning or end of a word
at the beginning or end of a word
not at the beginning or end of a word
not at the beginning or end of a word
at the beginning of the word
at the beginning of the word
at the end of the word
at the end of the word
What is the term for the process of using machine learning to analyze and interpret complex biological data, such as DNA sequences?
1 Mark(s)
Your Answer:
Digital twin technology
Digital twin technology
Supply Chain Analytics
Supply Chain Analytics
Bioinformatics
Bioinformatics
Affective computing
Affective computing
In Data Science, what is the purpose of feature engineering?
1 Mark(s)
Your Answer:
To extract features from data
To extract features from data
To visualize data features
To visualize data features
To clean data features
To clean data features
To model data features
To model data features
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.