- Home
- MCQs by exam
- PPSC IT
PPSC IT MCQs · Page 17
577 multiple choice questions typical of the PPSC IT exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
False, but the row is returned
-
B
An error during execution
-
C
Unknown, so no row is returned
Correct answer
-
D
True, whenever x is NULL
-
A
It refers to a column of the outer row
Correct answer
-
B
It returns exactly one column
-
C
It appears only in the FROM clause
-
D
It joins two copies of one table
-
A
Primary key order
-
B
Ascending
Correct answer
-
C
Descending
-
D
Insertion order
-
A
The sum of all its arguments
-
B
NULL if any argument is NULL
-
C
The first argument that is not NULL
Correct answer
-
D
The last argument that is not NULL
-
A
Combines columns, not rows
-
B
Removes duplicate rows
Correct answer
-
C
Keeps duplicate rows
-
D
Sorts by the first column
-
A
Physical sorting of the table rows
-
B
A default value for new rows
-
C
Uniqueness with no NULL values
Correct answer
-
D
Uniqueness while allowing NULLs
-
A
RANK gives tied rows different ranks
-
B
DENSE_RANK leaves gaps after ties
-
C
DENSE_RANK ignores the ORDER BY
-
D
RANK leaves gaps after ties
Correct answer
-
A
GROUP BY
Correct answer
-
B
ORDER BY
-
C
WHERE
-
D
LIMIT
-
A
It ignores them entirely
Correct answer
-
B
It treats them as zeros
-
C
It returns NULL for the column
-
D
It raises an error on NULL
-
A
Keeps only rows with NULLs
-
B
Removes duplicate result rows
Correct answer
-
C
Sorts the result rows
-
D
Counts repeated rows
-
A
The right row with NULLs on the left
-
B
Nothing; the row is dropped
-
C
The left row with NULLs on the right
Correct answer
-
D
Only rows that found a match
-
A
Rows where the column is NULL
Correct answer
-
B
Rows that duplicate earlier ones
-
C
Rows rejected by the WHERE clause
-
D
Rows whose value is zero
-
A
WHERE may test aggregate values
-
B
WHERE is applied after ORDER BY
-
C
WHERE filters rows before grouping
Correct answer
-
D
WHERE filters groups after grouping
-
A
Number of trees using a feature
-
B
Statistical p-value of each feature
-
C
Original scale of each feature
-
D
Relative contribution of each feature
Correct answer
-
A
Minus one to zero
-
B
Zero to one
Correct answer
-
C
Minus one to one
-
D
Zero to a hundred
-
A
The count of support vectors
-
B
The tuned hyperparameters
-
C
Mean accuracy on the passed data
Correct answer
-
D
The training time in seconds
-
A
GaussianNB
-
B
LinearSVC
Correct answer
-
C
LogisticRegression
-
D
RandomForestClassifier
-
A
StandardScaler
-
B
SimpleImputer
-
C
LabelEncoder
Correct answer
-
D
OneHotEncoder
-
A
Mean squared difference from truth
-
B
Share of predictions that are correct
Correct answer
-
C
Average of the predicted probabilities
-
D
Area under the ROC curve
-
A
Recomputes the metric on the grid mean
-
B
Refits the best estimator on all data
Correct answer
-
C
Repeats the search over a wider grid
-
D
Keeps every fold model for later use
-
A
The mean score only
-
B
The fitted estimators
-
C
A confusion matrix per fold
-
D
One score for each fold
Correct answer
-
A
It picks the algorithm for the user
-
B
It refits the scaler inside each fold
Correct answer
-
C
It runs the model on a GPU faster
-
D
It removes the need for a test set
-
A
Scales it into the range 0 to 1
-
B
Removes its constant values
-
C
Encodes it as dummy columns
-
D
Centres it to mean 0, variance 1
Correct answer
-
A
No, the original order is kept
-
B
Only when random_state is given
-
C
Only for regression targets
-
D
Yes, shuffle defaults to True
Correct answer
-
A
the training accuracy as a floating-point value
-
B
the estimator itself, so that calls can be chained
Correct answer
-
C
a fitted copy, leaving the original unchanged
-
D
a dictionary of the learned parameters