Practice Library

All MCQs

Browse exam-wise, subject-wise, and country-wise MCQs with explanations.

Easy

Converting ages into groups such as 0–17, 18–35, and 36+ is called:

Choose an option to check your answer.

Medium

Which encoding can preserve the order of education levels such as primary, secondary, and university?

Choose an option to check your answer.

Easy

Which encoding is appropriate for an unordered variable with categories Lahore, Karachi, and Islamabad?

Choose an option to check your answer.

Medium

What does a bag-of-words representation usually record?

Choose an option to check your answer.

Easy

A transaction timestamp is transformed into hour of day, day of week, and month. This is:

Choose an option to check your answer.

Easy

Adding `age²` to a model is an example of:

Choose an option to check your answer.

Medium

A model includes `price × advertising` as a new variable. What kind of feature is this?

Choose an option to check your answer.

Easy

What is feature generation?

Choose an option to check your answer.

Easy

What is a feature in a machine-learning dataset?

Choose an option to check your answer.

Medium

How can unequal class priors help a Naive Bayes model handle class imbalance?

Choose an option to check your answer.

Hard

What is a potential limitation when two Naive Bayes features carry nearly the same information?

Choose an option to check your answer.

Medium

Why can Naive Bayes work well for high-dimensional text classification?

Choose an option to check your answer.