HomeSubjectsUniversityBlogAbout

Feature Engineering

Topic in AI / Machine Learning & Data Analytics

210 total MCQsShowing 30 with explanations10 Easy10 Medium10 Hard

About This Topic

Feature engineering is the creation, transformation and selection of input variables so that a model can capture the patterns relevant to its prediction task. Questions ask about binning continuous values, log and polynomial transforms, interaction features and extracting date parts or lag values for time-series forecasting. Categorical encoding is tested through one-hot, ordinal, frequency and target encoding and their risks. Selection items compare filter methods such as correlation and chi-square, wrapper methods like recursive feature elimination, and embedded methods like Lasso. A recurring theme is target leakage, where a feature secretly contains information about the label that will not exist at prediction time.

Below are 30 practice questions from a pool of 210 Feature Engineering MCQs, one of 17 topics in AI / Machine Learning & Data Analytics. Each shows the correct answer with an explanation; when you are ready, take a timed quiz to test recall under exam conditions.

Practice Questions

Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.

Feature EngineeringEasy

Q1. What is feature engineering?

  1. A.Building custom computer hardware for faster processing
  2. B.Creating new features from existing data to improve model performance✓ Correct
  3. C.Deleting all features from the dataset before model training
  4. D.Only using the original raw data without any transformations

Explanation

Feature engineering is the process of creating, transforming, or selecting features from raw data to improve ML model performance.

Report an error in this question

Feature EngineeringEasy

Q2. Why might you create interaction features?

  1. A.To remove extreme outlier values from data
  2. B.To normalize data to a standard range
  3. C.To capture relationships between two or more features✓ Correct
  4. D.To reduce the overall size of the dataset

Explanation

Interaction features capture the combined effect of two or more features that may not be apparent when considering them individually.

Report an error in this question

Feature EngineeringEasy

Q3. What does dropping a feature mean?

  1. A.Removing a feature from the dataset✓ Correct
  2. B.Transforming a feature with a log
  3. C.Adding a brand new feature column
  4. D.Scaling a feature to unit range

Explanation

Dropping a feature means removing it from the dataset, typically because it is irrelevant, redundant, or harmful to model performance.

Report an error in this question

Feature EngineeringMedium

Q4. What is the purpose of polynomial features?

  1. A.To remove unnecessary features✓ Correct
  2. B.To normalize the data values
  3. C.To handle all missing values
  4. D.To capture non-linear relationships by creating powers and interactions of features

Explanation

Polynomial features create new features by raising existing features to powers and computing their interactions, enabling linear models to capture non-linear patterns.

Report an error in this question

Feature EngineeringMedium

Q5. What is the Variance Inflation Factor (VIF)?

  1. A.An indicator for missing feature values
  2. B.A measure of multicollinearity between features
  3. C.A metric for overall model accuracy
  4. D.A particular feature scaling method✓ Correct

Explanation

VIF measures how much a feature's variance is inflated due to correlation with other features. High VIF (>5-10) indicates problematic multicollinearity.

Report an error in this question

Feature EngineeringEasy

Q6. What is feature selection?

  1. A.Training the model on the full dataset
  2. B.Choosing the most relevant features for the model✓ Correct
  3. C.Deleting the entire dataset from storage
  4. D.Creating new derived features from raw data

Explanation

Feature selection identifies and keeps only the most relevant features, removing irrelevant or redundant ones to improve model performance.

Report an error in this question

Feature EngineeringEasy

Q7. What is a numerical feature?

  1. A.A feature with categorical text categories✓ Correct
  2. B.A feature containing image data
  3. C.A feature containing audio data
  4. D.A feature with continuous or discrete numeric values

Explanation

Numerical features represent quantifiable measurements with continuous (e.g., height) or discrete (e.g., count) numeric values.

Report an error in this question

Feature EngineeringMedium

Q8. What is the purpose of log transformation on features?

  1. A.To deliberately add more noise to features
  2. B.To reduce skewness and handle multiplicative relationships✓ Correct
  3. C.To intentionally increase the skewness of data
  4. D.To remove all features entirely from the dataset

Explanation

Log transformation reduces right skewness, compresses large values, and can linearize multiplicative relationships between features and the target.

Report an error in this question

Feature EngineeringEasy

Q9. What is a datetime feature?

  1. A.A feature representing dates and times
  2. B.A purely categorical feature only✓ Correct
  3. C.A strictly binary feature only
  4. D.A purely numerical feature only

Explanation

Datetime features contain date/time information from which useful features like day of week, month, hour, or is_weekend can be extracted.

Report an error in this question

Feature EngineeringEasy

Q10. What is a feature?

  1. A.A specific type of learning algorithm✓ Correct
  2. B.A particular model training method
  3. C.An input variable used by the model for prediction
  4. D.The output produced by a trained model

Explanation

A feature is an individual measurable property or attribute of the data used as input for a machine learning model.

Report an error in this question

Feature EngineeringEasy

Q11. What is binning?

  1. A.Removing selected features from the dataset
  2. B.Adding new synthetic features to the data
  3. C.Converting continuous features into discrete intervals✓ Correct
  4. D.Sorting data records by a column value

Explanation

Binning (discretization) groups continuous values into discrete intervals or bins, like converting age into age groups.

Report an error in this question

Feature EngineeringMedium

Q12. What is target encoding?

  1. A.Encoding categories using one-hot vector representation✓ Correct
  2. B.Replacing categories with the mean of the target variable for that category
  3. C.Removing all categorical features from dataset
  4. D.Encoding using binary representation of categories

Explanation

Target encoding replaces each category with the mean of the target variable for observations in that category, useful for high-cardinality features.

Report an error in this question

Feature EngineeringEasy

Q13. What is a binary feature?

  1. A.A continuous numeric feature
  2. B.A missing feature value
  3. C.A feature with many distinct categories✓ Correct
  4. D.A feature with only two possible values (0 or 1)

Explanation

A binary feature takes only two values, typically 0 and 1, representing the presence or absence of a characteristic.

Report an error in this question

Feature EngineeringMedium

Q14. What is a lag feature in time series?

  1. A.A feature with all of its values missing
  2. B.A feature created from previous time steps' values✓ Correct
  3. C.A feature that holds only binary zero-one
  4. D.A feature that is computationally slow to run

Explanation

Lag features use values from previous time steps as input features, capturing temporal dependencies in time series data.

Report an error in this question

Feature EngineeringEasy

Q15. Feature extraction involves:

  1. A.Deleting features from a dataset
  2. B.Deriving new features from raw data✓ Correct
  3. C.Renaming features in a table
  4. D.Copying features between datasets

Explanation

Feature extraction creates new features from raw data, such as extracting day of week from a date or word counts from text.

Report an error in this question

Feature EngineeringMedium

Q16. Why is feature scaling important for KNN?

  1. A.KNN only works well with categorical type features✓ Correct
  2. B.KNN uses distance calculations that are affected by feature magnitudes
  3. C.Feature scaling actually slows down KNN
  4. D.KNN actually ignores all feature scales

Explanation

KNN relies on distance metrics, so features with larger scales would dominate distance calculations, making scaling essential for fair comparison.

Report an error in this question

Feature EngineeringHard

Q17. What is the Boruta algorithm for feature selection?

  1. A.A multi-layer feedforward deep neural network architecture for prediction
  2. B.A gradient-based linear regression method for continuous value estimation
  3. C.A wrapper method using shadow features and Random Forest to find relevant features✓ Correct
  4. D.A density-based unsupervised clustering algorithm for grouping similar data

Explanation

Boruta creates shadow (randomized) copies of all features, trains a Random Forest, and compares each feature's importance to the best shadow feature to determine relevance.

Report an error in this question

Feature EngineeringHard

Q18. What is the difference between wrapper, filter, and embedded feature selection?

  1. A.Wrappers evaluate subsets with a model; filters use stats; embedded methods learn during training✓ Correct
  2. B.Filters use trained models to evaluate each candidate feature subset iteratively
  3. C.Wrappers are always strictly the best approach for every feature selection problem
  4. D.They are all identical approaches that produce the exact same feature subset selections

Explanation

Filter methods use statistical measures independently of the model; wrapper methods evaluate feature subsets using a model; embedded methods perform selection during model training (e.g., Lasso).

Report an error in this question

Feature EngineeringMedium

Q19. What is feature hashing?

  1. A.Encrypting feature values for secure storage and privacy compliance
  2. B.Mapping high-dimensional features to a fixed-size vector using a hash function✓ Correct
  3. C.Sorting features in the dataset by their statistical importance
  4. D.Removing duplicate feature entries from the data table columns

Explanation

Feature hashing maps a large number of features to a fixed-size vector using hash functions, useful for high-dimensional sparse data like text.

Report an error in this question

Feature EngineeringMedium

Q20. What are rolling window features?

  1. A.Features that are created without any time component at all
  2. B.Simple binary indicator features only
  3. C.Static features with no temporal aspect✓ Correct
  4. D.Features computed from a sliding window over time series data like rolling mean

Explanation

Rolling window features compute statistics (mean, std, etc.) over a sliding window of past observations, capturing recent trends in time series data.

Report an error in this question

Feature EngineeringMedium

Q21. What is domain knowledge in feature engineering?

  1. A.Using only fully automated feature methods
  2. B.Deliberately ignoring the problem context entirely
  3. C.Creating features completely at random each time✓ Correct
  4. D.Using expertise about the problem area to create meaningful features

Explanation

Domain knowledge leverages understanding of the specific problem area to engineer features that capture meaningful patterns, often outperforming automated approaches.

Report an error in this question

Feature EngineeringMedium

Q22. What is the purpose of the chi-squared test in feature selection?

  1. A.To test the independence between categorical features and the target
  2. B.To normalize all features to a common range✓ Correct
  3. C.To impute missing values in the features
  4. D.To create entirely new features from scratch

Explanation

The chi-squared test measures the independence between categorical features and the target variable; features with high chi-squared values are more informative.

Report an error in this question

Feature EngineeringHard

Q23. What is feature crossing in deep learning?

  1. A.Combining two or more features to create a new feature capturing their interaction✓ Correct
  2. B.Normalizing features to have zero mean and unit variance
  3. C.Removing individual features from the dataset one at a time
  4. D.Visualizing features using scatter plots and histograms

Explanation

Feature crossing creates new features by combining existing ones (e.g., latitude x longitude), helping models learn interactions that may not be captured individually.

Report an error in this question

Feature EngineeringHard

Q24. What is the difference between forward and backward feature selection?

  1. A.Forward starts empty and adds features; backward starts with all and removes features
  2. B.Forward selection actually removes features one at a time from model
  3. C.Backward selection actually adds features one at a time to the model
  4. D.Forward and backward selection are completely identical methods✓ Correct

Explanation

Forward selection starts with no features and iteratively adds the most useful one. Backward elimination starts with all features and iteratively removes the least useful one.

Report an error in this question

Feature EngineeringHard

Q25. What is mutual information in feature selection?

  1. A.A measure of the dependency between two variables based on information theory✓ Correct
  2. B.The linear correlation coefficient between two variables
  3. C.The overall variance of a single variable in a dataset
  4. D.The arithmetic mean of a single variable in a dataset

Explanation

Mutual information measures how much knowing one variable reduces uncertainty about another, capturing both linear and non-linear dependencies.

Report an error in this question

Feature EngineeringHard

Q26. How does LASSO perform feature selection?

  1. A.By using only simple correlation analysis
  2. B.By removing features entirely at random
  3. C.By ranking all features only by variance✓ Correct
  4. D.By driving some feature coefficients exactly to zero through L1 regularization

Explanation

LASSO's L1 penalty can shrink coefficients exactly to zero, effectively performing automatic feature selection by eliminating irrelevant features.

Report an error in this question

Feature EngineeringHard

Q27. What is the curse of dimensionality's impact on feature engineering?

  1. A.More features require exponentially more data to avoid sparsity✓ Correct
  2. B.The number of dimensions has no effect on model training
  3. C.Fewer features always cause the model to severely underfit
  4. D.More features always improve the model performance metrics

Explanation

As dimensions increase, data becomes sparse and distance metrics become less meaningful, requiring exponentially more samples to maintain statistical significance.

Report an error in this question

Feature EngineeringHard

Q28. What is permutation importance?

  1. A.Simply ranking features by their alphabetical column order
  2. B.A method for sorting features by their variance values
  3. C.A data augmentation technique for expanding training data
  4. D.Measuring importance by shuffling each feature and observing the drop in performance✓ Correct

Explanation

Permutation importance measures how much model performance decreases when a feature's values are randomly shuffled, indicating that feature's contribution to predictions.

Report an error in this question

Feature EngineeringHard

Q29. What is automated feature engineering (e.g., Featuretools)?

  1. A.Generating features completely at random without any data context
  2. B.Deleting features from the dataset to reduce dimensionality
  3. C.Relying exclusively on manual hand-crafted feature creation processes
  4. D.Using algorithms to auto-generate features from relational data via deep feature synthesis✓ Correct

Explanation

Automated feature engineering tools like Featuretools use deep feature synthesis to automatically create features by applying transformation and aggregation primitives across related tables.

Report an error in this question

Feature EngineeringHard

Q30. What is the concept of information leakage in feature engineering?

  1. A.Features that are redundant copies of other existing features
  2. B.Features that have missing values in some of their data records
  3. C.Features containing target info that would not be available at prediction time✓ Correct
  4. D.Features that contain a large amount of measurement noise

Explanation

Information leakage occurs when features inadvertently contain information about the target that wouldn't exist in real-world prediction scenarios, leading to over-optimistic performance.

Report an error in this question

Ready to test yourself on Feature Engineering?

Take a timed quiz drawn from 210+ questions on this topic. No signup required — your progress saves in your browser.

Start Feature Engineering Quiz