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
:
47
:
00
Q:
1
/
52
🤖
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 12
Exam Duration:
00:47:00
Data Science Mock Test 12
: Question
1
of 52
What does the function math.frexp(x) return?
1 Mark(s)
Your Answer:
a tuple containing the mantissa and the exponent of x
a tuple containing the mantissa and the exponent of x
a list containing the mantissa and the exponent of x
a list containing the mantissa and the exponent of x
a tuple containing the mantissa of x
a tuple containing the mantissa of x
a list containing the exponent of x
a list containing the exponent of x
What is the primary role of "DataRobot" in data science?
1 Mark(s)
Your Answer:
Automated machine learning
Automated machine learning
Data visualization
Data visualization
Web scraping
Web scraping
Statistical analysis
Statistical analysis
What will be the output of the following Python code? print("abc. DEF".capitalize())
1 Mark(s)
Your Answer:
Abc. def
Abc. def
abc. def
abc. def
Abc. Def
Abc. Def
ABC. DEF
ABC. DEF
How can you create a private attribute in a Python class?
1 Mark(s)
Your Answer:
By prefixing the attribute name with an underscore (_)
By prefixing the attribute name with an underscore (_)
By using the private keyword
By using the private keyword
By using the hidden keyword
By using the hidden keyword
By using the secure keyword
By using the secure keyword
What will be the output of the following Python code? l=[[1 ,2, 3], [4, 5, 6], [7, 8, 9]] [[row[i] for row in l] for i in range(3)]
1 Mark(s)
Your Answer:
Error
Error
[[1, 4, 7], [2, 5, 8], [3, 6, 9]]
[[1, 4, 7], [2, 5, 8], [3, 6, 9]]
1 4 7 2 5 8 3 6 9
1 4 7 2 5 8 3 6 9
(1 4 7) (2 5 8) (3 6 9)
(1 4 7) (2 5 8) (3 6 9)
What is the primary purpose of a data warehouse in data modeling?
1 Mark(s)
Your Answer:
To visualize data relationships
To visualize data relationships
To predict future data
To predict future data
To store and manage historical data
To store and manage historical data
To calculate summary statistics
To calculate summary statistics
What is the result of 5 & 6 ^ 6 ?
1 Mark(s)
Your Answer:
6
6
5
5
0
0
1
1
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
In business analytics, what does the term "data integration" refer to?
1 Mark(s)
Your Answer:
Combining data from multiple sources
Combining data from multiple sources
Storing data in a single database
Storing data in a single database
Reducing data complexity
Reducing data complexity
Sharing data with competitors
Sharing data with competitors
What is the use of seek() method in files?
1 Mark(s)
Your Answer:
sets the file's current position at the offset
sets the file's current position at the offset
sets the file's previous position at the offset
sets the file's previous position at the offset
sets the file's current position within the file
sets the file's current position within the file
none of the mentioned
none of the mentioned
What is the primary goal of the "Ljung-Box test" in time series analysis?
1 Mark(s)
Your Answer:
To identify seasonality in the data
To identify seasonality in the data
To test for autocorrelation in the data
To test for autocorrelation in the data
To remove outliers from the data
To remove outliers from the data
To add noise to the data
To add noise to the data
What will be the output of the following Python code? def foo(): try: return 1 finally: return 2 k = foo() print(k)
1 Mark(s)
Your Answer:
error, there is more than one return statement in a single try-finally block
error, there is more than one return statement in a single try-finally block
3
3
2
2
1
1
Which of the following is a true statement for comparing the t distribution with standard normal ?
1 Mark(s)
Your Answer:
Greater the degree of freedom, the more the t-distribution resembles the standard normal distribution
Greater the degree of freedom, the more the t-distribution resembles the standard normal distribution
The Normal Curve is symmetrical whereas the t-distribution are slightly skewed.
The Normal Curve is symmetrical whereas the t-distribution are slightly skewed.
The proportion of area beyond a specific value of “t” is less than the proportion of normal curve
The proportion of area beyond a specific value of “t” is less than the proportion of normal curve
Non of these
Non of these
. . . . . . . . returns a dictionary of the module namespace. . . . . . . . . returns a dictionary of the current namespace.
1 Mark(s)
Your Answer:
locals() globals()
locals() globals()
locals() locals()
locals() locals()
globals() locals()
globals() locals()
globals() globals()
globals() globals()
How can you pass a variable number of keyword arguments to a function in Python?
1 Mark(s)
Your Answer:
By using the **kwargs syntax
By using the **kwargs syntax
By using the *args syntax
By using the *args syntax
By using the * symbol
By using the * symbol
By using the ... symbol
By using the ... symbol
What is the purpose of the __name__ variable in a Python module?
1 Mark(s)
Your Answer:
It indicates whether the module is being run as the main program or imported
It indicates whether the module is being run as the main program or imported
It stores the code of the module
It stores the code of the module
It defines a new variable
It defines a new variable
It is used to create aliases for modules
It is used to create aliases for modules
Which of the following Python statements will result in the output: 6? A = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
1 Mark(s)
Your Answer:
A[2][1]
A[2][1]
A[1][2]
A[1][2]
A[3][2]
A[3][2]
A[2][3]
A[2][3]
Why is it crucial to incorporate "feedback loops" and "continuous improvement" in a data science capstone project?
1 Mark(s)
Your Answer:
Create more project documentation
Create more project documentation
Replace data exploration
Replace data exploration
Adapt to changing requirements
Adapt to changing requirements
Choose the mentor
Choose the mentor
What is the primary objective of "data audit trails" in data ethics and privacy?
1 Mark(s)
Your Answer:
To restrict data sharing
To restrict data sharing
To improve data accuracy
To improve data accuracy
To track data usage
To track data usage
To maintain a record of data access
To maintain a record of data access
In the context of big data analytics, what is the term for the process of combining data from multiple sources and formats into a single, unified dataset?
1 Mark(s)
Your Answer:
Data sampling
Data sampling
Data integration
Data integration
Data deduplication
Data deduplication
Data preprocessing
Data preprocessing
What is the primary challenge in processing and analyzing unstructured data in a big data environment?
1 Mark(s)
Your Answer:
Limited data volume
Limited data volume
Data skew
Data skew
Data variety
Data variety
Data veracity
Data veracity
Arithmetic mean of two positive numbers “X” and “Y” is_________________?
1 Mark(s)
Your Answer:
ab2
ab2
2a2
2a2
(a+b)/2
(a+b)/2
a−b2
a−b2
2a+b
2a+b
Suppose there is a list such that: l=[2,3,4]. If we want to print this list in reverse order, which of the following methods should be used?
1 Mark(s)
Your Answer:
reverse(l)
reverse(l)
list(reverse[(l)])
list(reverse[(l)])
reversed(l)
reversed(l)
list(reversed(l))
list(reversed(l))
Is the following Python code correct? >>> class A: def __init__(self,b): self.b=b def display(self): print(self.b) >>> obj=A("Hello") >>> del obj
1 Mark(s)
Your Answer:
True
True
False
False
In a binomial distribution, n = 20 and p = 3/5, then variance of this distribution ______________?
1 Mark(s)
Your Answer:
60
60
12
12
4.8
4.8
0
0
Which type of data visualization is used to display the relationship between three variables in a 3D space?
1 Mark(s)
Your Answer:
Scatter plot matrix
Scatter plot matrix
Treemap
Treemap
Bubble chart
Bubble chart
Heatmap
Heatmap
What is the output of the following code: my_list = [1, 2, 3, 4] my_list.remove(2) print(my_list)
1 Mark(s)
Your Answer:
[1, 2, 3, 4]
[1, 2, 3, 4]
[1, 3, 4]
[1, 3, 4]
[1, 2, 4]
[1, 2, 4]
[1, 3]
[1, 3]
Random numbers are also called__________________?
1 Mark(s)
Your Answer:
Random experiment
Random experiment
random Errors
random Errors
Random digits
Random digits
None of these
None of these
What is the primary use of "word embeddings" in NLP?
1 Mark(s)
Your Answer:
To generate random words
To generate random words
To improve text readability
To improve text readability
To represent words as numerical vectors
To represent words as numerical vectors
To perform tokenization
To perform tokenization
The successive trials are with replacement in:________________?
1 Mark(s)
Your Answer:
Hpergeometric distribution
Hpergeometric distribution
Binomial distribution
Binomial distribution
Geometric distribution
Geometric distribution
None of these
None of these
Weighted Index number can be classified into _________ categories?
1 Mark(s)
Your Answer:
Four
Four
Three
Three
Five
Five
Two
Two
Which evaluation metric is commonly used for regression models and measures the average absolute difference between predicted and actual values?
1 Mark(s)
Your Answer:
Precision
Precision
Recall
Recall
Mean Absolute Error (MAE)
Mean Absolute Error (MAE)
F1 Score
F1 Score
Which of the following language designed mainly for object oriented programming, but with some procedural elements?
1 Mark(s)
Your Answer:
Java
Java
PHP
PHP
Visual Basic
Visual Basic
Matlab
Matlab
Mean of the binomial distribution is ______________?
1 Mark(s)
Your Answer:
Pq
Pq
nP
nP
xm
xm
Non of these
Non of these
If bxy = byx = r then ________________?
1 Mark(s)
Your Answer:
6x < 6y
6x < 6y
6y < 6x
6y < 6x
6x = 6y
6x = 6y
Non of These
Non of These
How do you add an image to a Tkinter application?
1 Mark(s)
Your Answer:
add_image()
add_image()
image.insert()
image.insert()
Label(image=...)
Label(image=...)
ImageWidget(image=...)
ImageWidget(image=...)
The weighty system changed with _______________?
1 Mark(s)
Your Answer:
Yearly
Yearly
Basely
Basely
Timely
Timely
Averagely
Averagely
How do you create a dropdown menu in Tkinter?
1 Mark(s)
Your Answer:
DropdownMenu()
DropdownMenu()
CreateMenu()
CreateMenu()
OptionMenu()
OptionMenu()
MenuDropdown()
MenuDropdown()
What is a namespace in Python?
1 Mark(s)
Your Answer:
A container for holding identifiers (names)
A container for holding identifiers (names)
A module in Python
A module in Python
A reserved keyword
A reserved keyword
A built-in function
A built-in function
Which built-in function is used to find the smallest item in an iterable?
1 Mark(s)
Your Answer:
min()
min()
smallest()
smallest()
minimum()
minimum()
small()
small()
The class ___ are obtained when we divide the sums of the lower and upper class limits by 2?
1 Mark(s)
Your Answer:
Limit
Limit
Points
Points
Marks
Marks
Class boundary
Class boundary
What does the '//' operator do when used with negative numbers?
1 Mark(s)
Your Answer:
Returns the positive quotient
Returns the positive quotient
Returns the negative quotient
Returns the negative quotient
Rounds down to the nearest integer
Rounds down to the nearest integer
Rounds up to the nearest integer
Rounds up to the nearest integer
What does encapsulation refer to in object-oriented programming?
1 Mark(s)
Your Answer:
It defines a new class
It defines a new class
It creates abstract objects
It creates abstract objects
It hides complex implementation details and only exposes essential features
It hides complex implementation details and only exposes essential features
It abstracts the data
It abstracts the data
How do parameterized queries help prevent SQL injection?
1 Mark(s)
Your Answer:
By encrypting database queries
By encrypting database queries
By removing SQL keywords
By removing SQL keywords
By sanitizing user input
By sanitizing user input
By executing multiple queries at once
By executing multiple queries at once
Which technology is commonly used for streamlining the data velocity aspect of big data, allowing for real-time data collection and analysis?
1 Mark(s)
Your Answer:
Data lakes
Data lakes
Data warehouses
Data warehouses
Internet of Things (IoT)
Internet of Things (IoT)
Apache Kafka
Apache Kafka
what is the probability of a type II error when α=0.05 ?
1 Mark(s)
Your Answer:
0.025
0.025
0.95
0.95
0.05
0.05
Cannot be determined without more information
Cannot be determined without more information
What will be the output of the following Python code? i = 1 while True: if i%0O7 == 0: break print(i) i += 1
1 Mark(s)
Your Answer:
1 2 3 4 5 6
1 2 3 4 5 6
1 2 3 4 5 6 7
1 2 3 4 5 6 7
error
error
none of the mentioned
none of the mentioned
Which statistical method is used to determine the order of differencing in an ARIMA model?
1 Mark(s)
Your Answer:
Augmented Dickey-Fuller test
Augmented Dickey-Fuller test
Seasonal Decomposition of Time Series
Seasonal Decomposition of Time Series
Ljung-Box test
Ljung-Box test
PACF (Partial Autocorrelation Function)
PACF (Partial Autocorrelation Function)
Which method is used to remove the first occurrence of a specific element in a list or tuple?
1 Mark(s)
Your Answer:
remove()
remove()
delete()
delete()
erase()
erase()
discard()
discard()
What will be the output of the following Python code snippet? print('xyyxyyxyxyxxy'.replace('xy', '12', 0))
1 Mark(s)
Your Answer:
xyyxyyxyxyxxy
xyyxyyxyxyxxy
12y12y1212x12
12y12y1212x12
12yxyyxyxyxxy
12yxyyxyxyxxy
xyyxyyxyxyx12
xyyxyyxyxyx12
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
What will be the output of the following Python code? print("abcdef".center(10, '12'))
1 Mark(s)
Your Answer:
12abcdef12
12abcdef12
abcdef1212
abcdef1212
1212abcdef
1212abcdef
error
error
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.