- Home
- MCQs by exam
- Interviews
Interviews MCQs · Page 9
231 multiple choice questions typical of the Interviews exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
sort rows by a chosen column
-
B
return different values based on conditions
Correct answer
-
C
create a new table inside the database schema
-
D
join two tables on a common column
-
A
WITH
Correct answer
-
B
LET
-
C
TEMP
-
D
AS
-
A
removes duplicate rows
-
B
sorts the result
-
C
joins tables horizontally
-
D
keeps duplicate rows
Correct answer
-
A
count the distinct values appearing in a column
-
B
rank ties with equal numbers as equal
-
C
sum a numeric column across all rows
-
D
assign a sequential number to rows within a partition
Correct answer
-
A
SORT BY
-
B
ARRANGE BY
-
C
ORDER BY
Correct answer
-
D
GROUP BY
-
A
the largest value in a column
-
B
the number of rows in the result
Correct answer
-
C
the sum of a numeric column
-
D
the number of distinct values
-
A
only the matching rows from both tables
-
B
all rows of the right table only
-
C
all rows of the left table plus matches from the right
Correct answer
-
D
the union of both tables with no duplicates kept
-
A
only rows present in the right-hand table
-
B
all rows of the left table only
-
C
only rows with matching values in both tables
Correct answer
-
D
all rows of both tables combined together
-
A
rename columns
-
B
filter groups after aggregation
Correct answer
-
C
filter individual rows before grouping
-
D
sort the result set
-
A
filter individual rows by a condition
-
B
sort the result set in ascending order
-
C
aggregate rows that share a value into groups
Correct answer
-
D
join two tables on a common key
-
A
normalise numeric variables to a fixed range
-
B
remove duplicate rows from the input dataset
-
C
split the dataset into separate training and test subsets
-
D
convert categorical variables into binary indicator columns
Correct answer
-
A
plots learning curves after the training run completes
-
B
chains preprocessing steps and a final estimator as one object
Correct answer
-
C
automatically tunes every hyperparameter in the search space
-
D
stores the dataset in memory for repeated reuse later
-
A
scale numeric features to a common range between zero and one
-
B
impute missing values in the dataset carefully
-
C
reduce the number of columns in the frame
-
D
search over hyperparameter combinations with cross-validation
Correct answer
-
A
dimensionality reduction
-
B
unsupervised clustering
Correct answer
-
C
supervised classification
-
D
regression
-
A
(TP + TN) / total
-
B
TP / (TP + FN)
Correct answer
-
C
TP / (TP + FP)
-
D
TN / (TN + FP)
-
A
(TP + TN) / total
-
B
FP / (FP + TN)
-
C
TP / (TP + FP)
Correct answer
-
D
TP / (TP + FN)
-
A
number of false positives
-
B
ratio of true positives to all positives
-
C
proportion of correctly predicted instances
Correct answer
-
D
average of precision and recall
-
A
values between 0 and 1
-
B
a median of zero
-
C
no missing values
-
D
zero mean and unit variance
Correct answer
-
A
generates predictions on new data points
-
B
evaluates the model on the test data
-
C
splits the data into training and test sets
-
D
learns the model parameters from the training data
Correct answer
-
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
-
A
save_csv()
-
B
export_csv()
-
C
to_csv()
Correct answer
-
D
write_csv()
-
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
-
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
-
A
unique()
-
B
nunique()
-
C
value_counts()
Correct answer
-
D
count_values()
-
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