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 18
Exam Duration:
00:53:00
Data Science Mock Test 18
: Question
1
of 59
All Index numbers are not suitable for all _________________?
1 Mark(s)
Your Answer:
Kind
Kind
Chain relative
Chain relative
Purpose
Purpose
Price
Price
We must arrange the data before calculating _________?
1 Mark(s)
Your Answer:
Mean
Mean
Median
Median
Mode
Mode
G.M.
G.M.
The sum of squared deviation is least from_________________?
1 Mark(s)
Your Answer:
Median
Median
Mean
Mean
Mode
Mode
Standard Deviation
Standard Deviation
Which NLP technique involves analyzing and extracting structured information from documents and web pages?
1 Mark(s)
Your Answer:
Named Entity Recognition
Named Entity Recognition
Information Extraction
Information Extraction
Text Classification
Text Classification
Dependency Parsing
Dependency Parsing
What is the result of (2 + 3) * (5 - 1) ?
1 Mark(s)
Your Answer:
14
14
20
20
16
16
18
18
Is the following Python code valid? a={3,4,{7,5}} print(a[2][0])
1 Mark(s)
Your Answer:
Yes, 7 is printed
Yes, 7 is printed
Error, elements of a set can't be printed
Error, elements of a set can't be printed
Error, subsets aren't allowed
Error, subsets aren't allowed
Yes, {7,5} is printed
Yes, {7,5} is printed
Which of the following precedence order is correct in Python?
1 Mark(s)
Your Answer:
Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
The advantage of using a model-based approach is that is more closely tied to the model performance.
1 Mark(s)
Your Answer:
True
True
False
False
What is the purpose of the @staticmethod decorator in Python classes?
1 Mark(s)
Your Answer:
It defines a method that belongs to the class rather than an instance
It defines a method that belongs to the class rather than an instance
It defines a static attribute
It defines a static attribute
It defines a global function
It defines a global function
It defines a constructor
It defines a constructor
Which emerging trend in data science focuses on the application of AI and data analytics to improve mental health diagnosis and treatment?
1 Mark(s)
Your Answer:
Industrial process optimization
Industrial process optimization
Logistics optimization
Logistics optimization
Mental health AI
Mental health AI
Predictive maintenance
Predictive maintenance
Which method is used to remove an element from a set?
1 Mark(s)
Your Answer:
set.remove()
set.remove()
set.pop()
set.pop()
set.delete()
set.delete()
set.discard()
set.discard()
How does the headless browser mode in Selenium work?
1 Mark(s)
Your Answer:
It runs a browser with a visible user interface
It runs a browser with a visible user interface
It runs a browser without a visible user interface
It runs a browser without a visible user interface
It runs a browser with extra features
It runs a browser with extra features
It runs a browser with a virtual environment
It runs a browser with a virtual environment
What is the primary purpose of the "clip" method in Pandas when working with numerical data?
1 Mark(s)
Your Answer:
Grouping and aggregating data
Grouping and aggregating data
Sorting data
Sorting data
Filtering data
Filtering data
Clip values outside a specified range
Clip values outside a specified range
An index number is used______________?
1 Mark(s)
Your Answer:
To measure changes in quantity
To measure changes in quantity
To measure changes in price
To measure changes in price
To measure changes in a variable over time
To measure changes in a variable over time
To measure changes in demand
To measure changes in demand
What is the result of 10 - 3 + 2 ?
1 Mark(s)
Your Answer:
5
5
9
9
-9
-9
-1
-1
What is the main advantage of using polymorphism in object-oriented programming?
1 Mark(s)
Your Answer:
It allows objects of different classes to be treated uniformly
It allows objects of different classes to be treated uniformly
It simplifies syntax
It simplifies syntax
It reduces code size
It reduces code size
It makes code run faster
It makes code run faster
What will be the output of the following Python function? def f(p, q): return p%q f(0, 2) f(2, 0)
1 Mark(s)
Your Answer:
0 0
0 0
Zero Division Error Zero Division Error
Zero Division Error Zero Division Error
0 Zero Division Error
0 Zero Division Error
Zero Division Error 0
Zero Division Error 0
The shape of normal curve depends upon ?
1 Mark(s)
Your Answer:
None
None
Mean
Mean
Quartile
Quartile
Standard Deviation
Standard Deviation
Mean Deviation
Mean Deviation
What will be the output of the following Python code, if the sys module has already been imported? sys.stdout.write("hello world")
1 Mark(s)
Your Answer:
helloworld
helloworld
hello world10
hello world10
hello world11
hello world11
error
error
What is the return type of function id?
1 Mark(s)
Your Answer:
int
int
float
float
bool
bool
dict
dict
What is the primary benefit of using "dashboards" in data reporting?
1 Mark(s)
Your Answer:
Consolidating multiple visuals
Consolidating multiple visuals
Adding decorative elements
Adding decorative elements
Making charts more complex
Making charts more complex
Slowing down data analysis
Slowing down data analysis
What will be the output of the following Python code? '{a}, {0}, {abc}'.format(10, a=2.5, abc=[1, 2])
1 Mark(s)
Your Answer:
Error
Error
'2.5, 10, [1, 2]'
'2.5, 10, [1, 2]'
2.5, 10, 1, 2
2.5, 10, 1, 2
'10, 2.5, [1, 2]'
'10, 2.5, [1, 2]'
tidyr is a reframing of . . . . . . . . designed to accompany the tidy data framework.
1 Mark(s)
Your Answer:
reshape5
reshape5
dplyr
dplyr
reshape2
reshape2
all of the mentioned
all of the mentioned
What is the result of 2 ** 3 % 3 ?
1 Mark(s)
Your Answer:
2
2
0
0
1
1
3
3
The distribution function F(X) is represent by_______________?
1 Mark(s)
Your Answer:
P(X=x)
P(X=x)
P(X
P(X
P(X>x)
P(X>x)
P(X≤x)
P(X≤x)
Which of these is the definition for packages in Python?
1 Mark(s)
Your Answer:
A set of main modules
A set of main modules
A folder of python modules
A folder of python modules
A number of files containing Python definitions and statements
A number of files containing Python definitions and statements
A set of programs making use of Python modules
A set of programs making use of Python modules
Which of the statements about dictionary values if false?
1 Mark(s)
Your Answer:
More than one key can have the same value
More than one key can have the same value
The values of the dictionary can be accessed as dict[key]
The values of the dictionary can be accessed as dict[key]
Values of a dictionary must be unique
Values of a dictionary must be unique
Values of a dictionary can be a mixture of letters and numbers
Values of a dictionary can be a mixture of letters and numbers
The expression 2**2**3 is evaluates as: (2**2)**3.
1 Mark(s)
Your Answer:
True
True
False
False
What is the Selenium library used for in web scraping?
1 Mark(s)
Your Answer:
Handling HTTP requests
Handling HTTP requests
Creating APIs
Creating APIs
Scraping static websites
Scraping static websites
Automating browser actions
Automating browser actions
The Spearman Rank-Correlation test requires that the______________?
1 Mark(s)
Your Answer:
Data must be measured on the same scale
Data must be measured on the same scale
Data should be of ordinal scale at least
Data should be of ordinal scale at least
Data must be distribution at least approximately as a t-distribution
Data must be distribution at least approximately as a t-distribution
Data must be from two independent samples
Data must be from two independent samples
How do you bind an event to a widget in Tkinter?
1 Mark(s)
Your Answer:
bind(event, function)
bind(event, function)
event.bind(widget, function)
event.bind(widget, function)
widget.bind(event, function)
widget.bind(event, function)
widget(event, function)
widget(event, function)
Which EDA technique is commonly used to visualize the relationship between two continuous variables through a 2D plot?
1 Mark(s)
Your Answer:
Scatter Plot
Scatter Plot
Box Plot
Box Plot
Histogram
Histogram
Bar Chart
Bar Chart
What is the purpose of a correlation matrix in EDA?
1 Mark(s)
Your Answer:
To visualize the distribution of data
To visualize the distribution of data
To display relationships between variables
To display relationships between variables
To identify missing values
To identify missing values
To calculate summary statistics
To calculate summary statistics
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
The process of systematic arrangement of data into rows and columns is called _________?
1 Mark(s)
Your Answer:
Bar chart
Bar chart
Classification
Classification
Tabulation
Tabulation
None of these
None of these
To which of the following the "in" operator can be used to check if an item is in it?
1 Mark(s)
Your Answer:
Lists
Lists
Dictionary
Dictionary
Set
Set
All of the mentioned
All of the mentioned
What will be the output of the following Python code? >>>my_tuple = (1, 2, 3, 4) >>>my_tuple.append( (5, 6, 7) ) >>>print len(my_tuple)
1 Mark(s)
Your Answer:
1
1
2
2
5
5
Error
Error
The median of F,K,E, Q, U, E, N, C,Y, is ________?
1 Mark(s)
Your Answer:
EUP
EUP
LEY
LEY
EUQ
EUQ
EFP
EFP
Which of these is not true about recursion?
1 Mark(s)
Your Answer:
Making the code look clean
Making the code look clean
A complex task can be broken into sub-problems
A complex task can be broken into sub-problems
Recursive calls take up less memory
Recursive calls take up less memory
Sequence generation is easier than a nested iteration
Sequence generation is easier than a nested iteration
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
What is the primary goal of a density plot in EDA?
1 Mark(s)
Your Answer:
To visualize the distribution of data
To visualize the distribution of data
To display relationships between variables
To display relationships between variables
To identify missing values
To identify missing values
To calculate summary statistics
To calculate summary statistics
What is a common method to store scraped data?
1 Mark(s)
Your Answer:
Printing data to the console
Printing data to the console
Sending data via email
Sending data via email
Storing data in CSV or JSON files
Storing data in CSV or JSON files
Uploading data to social media
Uploading data to social media
What will be the output of the following Python code? x = (i for i in range(3)) for i in x: print(i)
1 Mark(s)
Your Answer:
0 1 2
0 1 2
error
error
0 1 2 0 1 2
0 1 2 0 1 2
none of the mentioned
none of the mentioned
What is the primary goal of Information Retrieval in NLP?
1 Mark(s)
Your Answer:
To recognize and classify named entities (e.g., names, locations)
To recognize and classify named entities (e.g., names, locations)
To identify the sentiment of a text
To identify the sentiment of a text
To retrieve relevant documents based on user queries
To retrieve relevant documents based on user queries
To perform tokenization
To perform tokenization
What tool is commonly used for distributed data processing and large-scale data analysis in data science?
1 Mark(s)
Your Answer:
Apache Hadoop
Apache Hadoop
Jupyter Notebook
Jupyter Notebook
Git
Git
MySQL
MySQL
A listing of the possible outcomes of an experiment and their corresponding probability is called:______________?
1 Mark(s)
Your Answer:
Random Variable
Random Variable
Contingency table
Contingency table
Bayesian table
Bayesian table
Probability distribution
Probability distribution
Frequency distribution
Frequency distribution
What will be the output shape of the following Python code? import turtle t=turtle.Pen() for i in range(1,4): t.forward(60) t.left(90)
1 Mark(s)
Your Answer:
Rectangle
Rectangle
Trapezium
Trapezium
Triangle
Triangle
Square
Square
In data science, what is the term for using historical data to understand patterns and make informed decisions in business?
1 Mark(s)
Your Answer:
Descriptive Analytics
Descriptive Analytics
Predictive Analytics
Predictive Analytics
Prescriptive Analytics
Prescriptive Analytics
Diagnostic Analytics
Diagnostic Analytics
An Index number of an average quality of wheat in Lahore__________ Index?
1 Mark(s)
Your Answer:
Volume Index Number
Volume Index Number
value Index Number
value Index Number
Quantity Index Number
Quantity Index Number
Weighted Index Number
Weighted Index Number
How do you change the file position to an offset value from the start?
1 Mark(s)
Your Answer:
fp.seek(offset, 0)
fp.seek(offset, 0)
fp.seek(offset, 1)
fp.seek(offset, 1)
fp.seek(offset, 2)
fp.seek(offset, 2)
none of the mentioned
none of the mentioned
Which technology is commonly used for distributed data processing and can handle both batch and stream data processing?
1 Mark(s)
Your Answer:
Apache Kafka
Apache Kafka
Apache HBase
Apache HBase
Apache Spark
Apache Spark
Apache Hive
Apache Hive
What is the primary goal of data anonymization in data ethics?
1 Mark(s)
Your Answer:
To increase data accessibility
To increase data accessibility
To protect sensitive information
To protect sensitive information
To improve data quality
To improve data quality
To reduce computational complexity
To reduce computational complexity
Which data collection method involves selecting a sample from a larger population and collecting data from the sample only?
1 Mark(s)
Your Answer:
Experiments
Experiments
Observational Studies
Observational Studies
Surveys
Surveys
Sampling
Sampling
The most frequent value in data is called ________________?
1 Mark(s)
Your Answer:
Mean
Mean
Mode
Mode
Median
Median
H.M.
H.M.
The output of the function len(sys.argv) is . . . . . . . .
1 Mark(s)
Your Answer:
Error
Error
1
1
0
0
Junk value
Junk value
In the context of data ethics, what does "data anonymization" refer to?
1 Mark(s)
Your Answer:
Creating data backups
Creating data backups
Sharing data publicly
Sharing data publicly
Adding personal identifiers to data
Adding personal identifiers to data
Removing or altering personal identifiers from data to protect privacy
Removing or altering personal identifiers from data to protect privacy
Why is it important to consider "ethics" and "bias" when working on a data science capstone project?
1 Mark(s)
Your Answer:
Ensure fair and responsible outcomes
Ensure fair and responsible outcomes
Add complexity to the project
Add complexity to the project
Replace data exploration
Replace data exploration
Choose the mentor
Choose the mentor
What is the primary goal of Machine Translation in NLP?
1 Mark(s)
Your Answer:
To recognize and classify named entities (e.g., names, locations)
To recognize and classify named entities (e.g., names, locations)
To identify the sentiment of a text
To identify the sentiment of a text
To perform tokenization
To perform tokenization
To translate text from one language to another
To translate text from one language to another
What will be the output of the following Python code? def example(L): ''' (list) -> list ''' i = 0 result = [] while i
1 Mark(s)
Your Answer:
Return a list containing every third item from L starting at index 0
Return a list containing every third item from L starting at index 0
Return an empty list
Return an empty list
Return a list containing every third index from L starting at index 0
Return a list containing every third index from L starting at index 0
Return a list containing the items from L starting from index 0, omitting every third item
Return a list containing the items from L starting from index 0, omitting every third item
Previous
Mark For Review & Next
Next
Clear Answer
Finish
© Copyright © 2020 ALGOPK . All Rights Reserved.