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
00
:
53
:
00
Q:
1
/
59
🤖
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 11
Exam Duration:
00:53:00
Data Science Mock Test 11
: Question
1
of 59
What does print(Test.__name__) display (assuming Test is the name of the class)?
1 Mark(s)
Your Answer:
()
()
Exception is thrown
Exception is thrown
Test
Test
__main__
__main__
Which color scheme is often used for sequential data in data visualizations to represent a progression from low to high values?
1 Mark(s)
Your Answer:
Rainbow
Rainbow
Viridis
Viridis
Red-Blue
Red-Blue
Random
Random
What does the acronym "ROI" stand for in the context of business analytics?
1 Mark(s)
Your Answer:
Return on Investment
Return on Investment
Rate of Online Interaction
Rate of Online Interaction
Random Order of Information
Random Order of Information
Redundant Operations Inference
Redundant Operations Inference
In Python, which library is often used for working with graph data structures and performing graph algorithms?
1 Mark(s)
Your Answer:
NetworkX
NetworkX
Seaborn
Seaborn
Pandas
Pandas
igraph
igraph
What will be the output of the following Python code? class A: def __init__(self): self.__x = 1 class B(A): def display(self): print(self.__x) def main(): obj = B() obj.display() main()
1 Mark(s)
Your Answer:
1
1
0
0
Error, invalid syntax for object declaration
Error, invalid syntax for object declaration
Error, private class member can't be accessed in a subclass
Error, private class member can't be accessed in a subclass
Which of the following is the most suitable definition for encapsulation?
1 Mark(s)
Your Answer:
Ability of a class to derive members of another class as a part of its own definition
Ability of a class to derive members of another class as a part of its own definition
Means of bundling instance variables and methods in order to restrict access to certain class members
Means of bundling instance variables and methods in order to restrict access to certain class members
Focuses on variables and passing of variables to functions
Focuses on variables and passing of variables to functions
Allows for implementation of elegant software that is well designed and easily modified
Allows for implementation of elegant software that is well designed and easily modified
In Python, what is the purpose of the locals() function?
1 Mark(s)
Your Answer:
Access local variables
Access local variables
Import external modules
Import external modules
Define instance methods
Define instance methods
Create function aliases
Create function aliases
What does os.link() do?
1 Mark(s)
Your Answer:
create a symbolic link
create a symbolic link
create a hard link
create a hard link
create a soft link
create a soft link
none of the mentioned
none of the mentioned
What is the primary goal of "A/B testing" in business analytics?
1 Mark(s)
Your Answer:
Identifying differences in data
Identifying differences in data
Creating randomized experiments
Creating randomized experiments
Optimizing marketing campaigns
Optimizing marketing campaigns
Calculating data storage costs
Calculating data storage costs
Confidence interval is a measure of?
1 Mark(s)
Your Answer:
Accuracy
Accuracy
Precision
Precision
Error
Error
All of above
All of above
Which ethical principle emphasizes the importance of ensuring that data practices are legal and follow relevant regulations?
1 Mark(s)
Your Answer:
Transparency
Transparency
Accountability
Accountability
Fairness
Fairness
Compliance
Compliance
What will be the output of the following Python code? >>> a=(2,3,4) >>> sum(a,3)
1 Mark(s)
Your Answer:
Too many arguments for sum() method
Too many arguments for sum() method
The method sum() doesn't exist for tuples
The method sum() doesn't exist for tuples
12
12
9
9
What does built-in function type do in context of classes?
1 Mark(s)
Your Answer:
Determines the object name of any value
Determines the object name of any value
Determines the class name of any value
Determines the class name of any value
Determines class description of any value
Determines class description of any value
Determines the file name of any value
Determines the file name of any value
In Python, how can you extend a list by adding elements from another iterable?
1 Mark(s)
Your Answer:
extend()
extend()
add()
add()
append()
append()
concat()
concat()
Which programming language is commonly used for natural language processing (NLP) tasks in data science?
1 Mark(s)
Your Answer:
Python
Python
R
R
Java
Java
C++
C++
What is the primary objective of "customer profiling" in business analytics?
1 Mark(s)
Your Answer:
Understanding customer demographics
Understanding customer demographics
Calculating data storage costs
Calculating data storage costs
Predicting future market trends
Predicting future market trends
Identifying data outliers
Identifying data outliers
What will be the output of the following Python code? d = {0, 1, 2} for x in d: print(d.add(x))
1 Mark(s)
Your Answer:
0 1 2
0 1 2
0 1 2 0 1 2 0 1 2 ...
0 1 2 0 1 2 0 1 2 ...
None None None
None None None
None of the mentioned
None of the mentioned
How does the order of applying multiple decorators matter?
1 Mark(s)
Your Answer:
It doesn't matter
It doesn't matter
It depends on the number of decorators
It depends on the number of decorators
It affects the order of execution
It affects the order of execution
It changes the function's return value
It changes the function's return value
What is the process of transforming raw data into a structured format suitable for analysis called?
1 Mark(s)
Your Answer:
Data Aggregation
Data Aggregation
Data Wrangling
Data Wrangling
Data Imputation
Data Imputation
Data Integration
Data Integration
Which of the following package is used for reading excel data?
1 Mark(s)
Your Answer:
xlsx
xlsx
xlsc
xlsc
read.sheet
read.sheet
all of the mentioned
all of the mentioned
What is the data type of the result of 10 / 2 ?
1 Mark(s)
Your Answer:
int
int
float
float
double
double
numeric
numeric
What is the output of the following code: my_tuple = (1, 2, 3) print(my_tuple[1])
1 Mark(s)
Your Answer:
1
1
2
2
3
3
Error
Error
In Python, what is the primary use of the super() function in a subclass constructor?
1 Mark(s)
Your Answer:
Call a method in the parent class
Call a method in the parent class
Initialize superclass
Initialize superclass
Access instance methods
Access instance methods
Define class variables
Define class variables
Binomial distribution has _______ parameter?
1 Mark(s)
Your Answer:
4
4
3
3
2
2
6
6
Which of the following is a common technique used to preprocess text data, involving the removal of common words?
1 Mark(s)
Your Answer:
Data Stemming
Data Stemming
Data Tokenization
Data Tokenization
Data Parsing
Data Parsing
Data Stopword Removal
Data Stopword Removal
What is the purpose of the execute() method in the sqlite3 module?
1 Mark(s)
Your Answer:
To print messages to the console
To print messages to the console
To fetch data from a database
To fetch data from a database
To execute SQL queries on a database
To execute SQL queries on a database
To create new tables in a database
To create new tables in a database
In Python, what does the % operator do when used for string formatting?
1 Mark(s)
Your Answer:
Substitutes variables
Substitutes variables
Raises an error
Raises an error
Performs division
Performs division
Calculates exponentiation
Calculates exponentiation
In a data science capstone project, what is the role of "interpretation" and "business impact analysis"?
1 Mark(s)
Your Answer:
Add complexity to the project
Add complexity to the project
Replace data exploration
Replace data exploration
Choose the mentor
Choose the mentor
Explain the implications of findings
Explain the implications of findings
What does the term "data privacy" refer to in the context of data science?
1 Mark(s)
Your Answer:
Protecting data from cyberattacks
Protecting data from cyberattacks
Safeguarding personal information
Safeguarding personal information
Ensuring data accuracy
Ensuring data accuracy
Data analysis techniques
Data analysis techniques
To read two characters from a file object infile, we use . . . . . . . .
1 Mark(s)
Your Answer:
infile.read(2)
infile.read(2)
infile.read()
infile.read()
infile.readline()
infile.readline()
infile.readlines()
infile.readlines()
Input order is preserved in sets.
1 Mark(s)
Your Answer:
True
True
False
False
What is the purpose of the @wraps decorator in Python's functools module?
1 Mark(s)
Your Answer:
Preserve original function's metadata
Preserve original function's metadata
Create wrappers for functions
Create wrappers for functions
Decorate GUI elements
Decorate GUI elements
Modify function arguments
Modify function arguments
Which of these is not a fundamental features of OOP?
1 Mark(s)
Your Answer:
Encapsulation
Encapsulation
Inheritance
Inheritance
Instantiation
Instantiation
Polymorphism
Polymorphism
Any odd number on being AND-ed with . . . . . . . . always gives 1. Hint: Any even number on being AND-ed with this value always gives 0.
1 Mark(s)
Your Answer:
10
10
2
2
1
1
0
0
Which step in the Data Science process involves visualizing and interpreting the results of data analysis?
1 Mark(s)
Your Answer:
Data Collection
Data Collection
Data Cleaning
Data Cleaning
Data Visualization
Data Visualization
Model Building
Model Building
If in a binomial distribution n = 1 then E(X) is:____________________?
1 Mark(s)
Your Answer:
q
q
p
p
0
0
1
1
What will be the output of the following Python code? class A: def __init__(self,x): self.x = x def count(self,x): self.x = self.x+1 class B(A): def __init__(self, y=0): A.__init__(self, 3) self.y = y def count(self): self.y += 1 def main(): obj = B() obj.count() print(obj.x, obj.y) main()
1 Mark(s)
Your Answer:
3 0
3 0
3 1
3 1
0 1
0 1
An exception in thrown
An exception in thrown
If two events can both occur at the same time then they are referred as:__________________?
1 Mark(s)
Your Answer:
Dependent events
Dependent events
Mutually Exclusive events
Mutually Exclusive events
Exclusive events
Exclusive events
Independent events
Independent events
In EDA, what is the purpose of a Q-Q plot (Quantile-Quantile plot)?
1 Mark(s)
Your Answer:
To visualize the distribution of data
To visualize the distribution of data
To compare two different datasets
To compare two different datasets
To check for normality in data
To check for normality in data
To display time series data
To display time series data
In k-fold cross-validation, if you choose a higher value of k (e.g., k = 10), what effect does it have on the model evaluation process?
1 Mark(s)
Your Answer:
It reduces the risk of overfitting
It reduces the risk of overfitting
It reduces the number of folds used in training
It reduces the number of folds used in training
It increases the model's complexity
It increases the model's complexity
It decreases the training time
It decreases the training time
What is the primary concern addressed by CCPA (California Consumer Privacy Act) in data privacy?
1 Mark(s)
Your Answer:
Protecting data from cyberattacks
Protecting data from cyberattacks
Safeguarding personal information
Safeguarding personal information
Ensuring data accuracy
Ensuring data accuracy
Regulating data usage
Regulating data usage
How do you create a floating-point number in Python?
1 Mark(s)
Your Answer:
5.0
5.0
5
5
"5.0"
"5.0"
float(5)
float(5)
What is the term for the process of removing or reducing noise and inconsistencies from data?
1 Mark(s)
Your Answer:
Data Integration
Data Integration
Data Transformation
Data Transformation
Data Aggregation
Data Aggregation
Data Cleansing
Data Cleansing
Arrays in object oriented language can be referred to as data storage:
1 Mark(s)
Your Answer:
constructs
constructs
entities
entities
collection
collection
types
types
What will be the output of the following Python code snippet? d = {"john":40, "peter":45} d["john"]
1 Mark(s)
Your Answer:
40
40
45
45
"john"
"john"
"peter"
"peter"
Which of the following function is used for searching text strings by means of regular expression?
1 Mark(s)
Your Answer:
grepd
grepd
grepl
grepl
gepexpr
gepexpr
all of the mentioned
all of the mentioned
If any of the value in data set is negative then it is impossible to compute:_____________?
1 Mark(s)
Your Answer:
Arithmetic Mean
Arithmetic Mean
Harmonic Mean
Harmonic Mean
Geometric Mean
Geometric Mean
Mode
Mode
Median
Median
What is the primary purpose of "data encryption" in data ethics and privacy?
1 Mark(s)
Your Answer:
To increase data accessibility
To increase data accessibility
To protect data during transmission
To protect data during transmission
To improve data quality
To improve data quality
To simplify data analysis
To simplify data analysis
How can you access a function my_function from a module my_module in Python?
1 Mark(s)
Your Answer:
By using my_module.my_function()
By using my_module.my_function()
By using my_module.function()
By using my_module.function()
By using my_function.my_module()
By using my_function.my_module()
By using function.my_module()
By using function.my_module()
What is the purpose of the popitem() method for dictionaries?
1 Mark(s)
Your Answer:
Removes and returns the last key-value pair in the dictionary
Removes and returns the last key-value pair in the dictionary
Removes and returns a random key-value pair from the dictionary
Removes and returns a random key-value pair from the dictionary
Removes and returns the first key-value pair in the dictionary
Removes and returns the first key-value pair in the dictionary
Removes and returns the specified key-value pair from the dictionary
Removes and returns the specified key-value pair from the dictionary
What is the main purpose of "customer segmentation" in data science for business?
1 Mark(s)
Your Answer:
To group customers by age
To group customers by age
To categorize customers by location
To categorize customers by location
To personalize marketing strategies
To personalize marketing strategies
To eliminate customer data
To eliminate customer data
Which of the following block information is odd man out?
1 Mark(s)
Your Answer:
Subsetting
Subsetting
Raw data
Raw data
Ready for analysis
Ready for analysis
None of the mentioned
None of the mentioned
Suppose for 40 observations, the variance is 50. If all the observations are increased by 20, the variance of these increased observation will be______________?
1 Mark(s)
Your Answer:
50
50
70
70
50/20
50/20
50-20 = 30
50-20 = 30
50
50
What will be the output of the following Python code? class A: def test(self): print("test of A called") class B(A): def test(self): print("test of B called") super().test() class C(A): def test(self): print("test of C called") super().test() class D(B,C): def test2(self): print("test of D called") obj=D() obj.test()
1 Mark(s)
Your Answer:
test of B called test of C called test of A called
test of B called test of C called test of A called
test of C called test of B called
test of C called test of B called
test of B called test of C called
test of B called test of C called
Error, all the three classes from which D derives has same method test()
Error, all the three classes from which D derives has same method test()
If P(A∩B) =1/4 then P(AUB) is ________________?
1 Mark(s)
Your Answer:
1/2
1/2
1/3
1/3
1/12
1/12
3/8
3/8
A distribution is called _____ distribution if it has two modes?
1 Mark(s)
Your Answer:
Uni-modal
Uni-modal
Bi-model
Bi-model
Tri-modal
Tri-modal
None of these
None of these
What is the purpose of the find() method for strings?
1 Mark(s)
Your Answer:
Returns the index of the first occurrence of a substring
Returns the index of the first occurrence of a substring
Replaces a substring with another
Replaces a substring with another
Counts occurrences of a substring
Counts occurrences of a substring
Converts the string to lowercase
Converts the string to lowercase
Point on a plane is data type which is:
1 Mark(s)
Your Answer:
by default
by default
randomly defined
randomly defined
user defined
user defined
not a data type
not a data type
In model evaluation, what is the primary goal of stratified sampling when creating train and test sets?
1 Mark(s)
Your Answer:
To prevent overfitting
To prevent overfitting
To ensure equal representation of classes
To ensure equal representation of classes
To reduce the size of the training dataset
To reduce the size of the training dataset
To increase the model's complexity
To increase the model's complexity
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.