Data Science · Scikit-learn The train_test_split function from scikit-learn is used to: A fit a regression model to the data B divide data into training and testing subsets Correct answer C encode categorical variables as numbers D scale features to a common numeric range MCQSEXAM Show answer Read explanation
Data Science · Pandas Which method writes a DataFrame to a CSV file? A save_csv() B export_csv() C to_csv() Correct answer D write_csv() MCQSEXAM Show answer Read explanation
Data Science · Pandas The merge() function in pandas is used to: A filter rows by a given condition B rename the columns of a DataFrame C calculate summary statistics for columns D combine two DataFrames on a common key Correct answer MCQSEXAM Show answer Read explanation
Data Science · Pandas What does the shape attribute of a DataFrame return? A the data types of columns B the number of missing values C a tuple of rows and columns Correct answer D the column names MCQSEXAM Show answer Read explanation
Data Science · Pandas Which pandas method returns the frequency of each unique value in a Series? A unique() B nunique() C value_counts() Correct answer D count_values() MCQSEXAM Show answer Read explanation
Data Science · Pandas The groupby() method in pandas is used to: A merge two DataFrames on a common key B split data into groups and apply an aggregation Correct answer C convert one column type into another numeric type D sort the rows of a DataFrame by value MCQSEXAM Show answer Read explanation
Data Science · Pandas The main difference between loc and iloc is that: A loc works only on Series B iloc cannot select rows C loc uses labels while iloc uses integer positions Correct answer D loc uses positions while iloc uses labels MCQSEXAM Show answer Read explanation
Data Science · Pandas By default, how many rows does DataFrame.head() return? A five Correct answer B ten C one D all rows MCQSEXAM Show answer Read explanation
Data Science · Pandas Which pandas function reads a CSV file into a DataFrame? A open_csv() B load_csv() C import_csv() D read_csv() Correct answer MCQSEXAM Show answer Read explanation
Data Science · Pandas A pandas Series is: A a one-dimensional labelled array Correct answer B a two-dimensional table C a collection of DataFrames D a database connection MCQSEXAM Show answer Read explanation
Data Science · Pandas A pandas DataFrame is best described as: A a two-dimensional labelled data structure Correct answer B a one-dimensional array of labelled values C a Python dictionary of lists D a single column of tabular data MCQSEXAM Show answer Read explanation
Data Science · Pandas Which pandas method removes the rows of a DataFrame that contain missing values? A isna() B notna() C fillna() D dropna() Correct answer MCQSEXAM Show answer Read explanation
Data Science · Time Series Analysis After fitting an ARIMA model, the Ljung–Box test is applied to the residuals to check whether: A The series contains a unit root B They are normally distributed overall C Their autocorrelations are jointly zero Correct answer D Their mean is exactly equal to zero MCQSEXAM Show answer Read explanation
Data Science · Time Series Analysis A 'seasonal naive' forecast for next January's sales would simply use: A Zero, as no data exists yet B The average of all past months C Last January's actual sales Correct answer D Last December's actual sales MCQSEXAM Show answer Read explanation
Data Science · Time Series Analysis Holt's linear method extends simple exponential smoothing by adding: A A moving-average error B A trend component Correct answer C An exogenous variable D A seasonal component MCQSEXAM Show answer Read explanation
Data Science · Power BI Power BI deployment pipelines are used to: A Convert DAX measures into SQL queries B Promote content from dev to test to prod Correct answer C Copy data from Excel into a semantic model D Publish reports to the public web MCQSEXAM Show answer Read explanation
Data Science · Power BI The DAX function LOOKUPVALUE is mainly used to: A Return a value from a table that matches given criteria Correct answer B Create a permanent relationship between two tables C Count how often a value appears in a column D Remove duplicate values from a lookup column MCQSEXAM Show answer Read explanation
Data Science · Power BI What does creating a 'What-if' parameter in Power BI Desktop produce? A A slider, a value table and a measure Correct answer B A new connection to a data source C A scheduled email of the dashboard D A copy of the whole report page MCQSEXAM Show answer Read explanation
Data Science · Power BI The Key Influencers visual in Power BI helps users: A Set user permissions for each dataset B Schedule automatic data refresh times C Design custom colour themes for reports D Identify factors that drive a chosen outcome Correct answer MCQSEXAM Show answer Read explanation
Data Science · Power BI Which Power BI visual lets users break a measure down across dimensions in any order, with AI-suggested splits? A Funnel chart B Ribbon chart C Waterfall chart D Decomposition tree Correct answer MCQSEXAM Show answer Read explanation
Data Science · Power BI In Power Query, 'Append Queries' is used to: A Create a relationship in the model B Join tables side by side on a key C Delete matching rows from both tables D Stack rows from similar tables Correct answer MCQSEXAM Show answer Read explanation
Data Science · Power BI In Power Query, the 'Unpivot Columns' operation: A Splits one column by a delimiter B Turns rows of values into separate columns C Removes duplicate rows from a table D Turns several columns into attribute–value rows Correct answer MCQSEXAM Show answer Read explanation
Data Science · Power BI Why should a custom calendar table be marked as a date table in Power BI? A So dates display in the local language B So it refreshes faster than other tables C So it can be hidden from report users D So time-intelligence functions use it reliably Correct answer MCQSEXAM Show answer Read explanation
Data Science · Power BI Which DAX function counts the number of rows in a table? A COUNTA B COUNTBLANK C COUNTROWS Correct answer D ROWCOUNT MCQSEXAM Show answer Read explanation
Data Science · Power BI In DAX, what does ALLEXCEPT(Sales, Sales[Region]) do inside CALCULATE? A Removes all filters except the Region filter Correct answer B Returns all rows where Region is blank C Keeps every filter except the Region filter D Removes only the filter on the Region column MCQSEXAM Show answer Read explanation