1. Home
  2. All MCQs

All MCQs with Answers · Page 1405

45,334 multiple choice questions from every subject, newest first. Switch on practice mode to hide the answers and test yourself.

Newest first

Why is NATURAL JOIN considered risky in production queries?

  1. It requires both tables to have identical column order for it to work
  2. It performs a cross join whenever the tables share no column name at all
  3. It joins on every same-named column, so a new column silently changes it Correct answer
  4. It joins only on primary keys, which the optimiser may guess incorrectly
MCQSEXAM Read explanation

SelectKBest is configured with score_func=chi2 and fitted on a design matrix that contains negative values. What happens?

  1. It raises an error, because chi-squared scoring needs non-negative features Correct answer
  2. It silently takes absolute values before computing the chi-squared scores
  3. It works but ranks the negative features last regardless of their true signal
  4. It standardises the features first, which makes every value non-negative
MCQSEXAM Read explanation