Free Practice Quiz Question List

2 Datasets and Features Online Quiz Questions

Use this free practice quiz with 20 questions to review 2 Datasets and Features, test your knowledge, and prepare for your next test or exam.

20 questions
01
Choose one
1 point

A housing dataset has one row for each home, with columns for size, neighborhood, and sale price. What is one sample in this dataset?

  1. A

    One individual home represented by a row

  2. B

    The size value recorded for a home

  3. C

    The column containing neighborhood names

  4. D

    The sale price the model is meant to predict

02
True or false
1 point

A dataset can be accurate yet still be a poor choice if it does not reflect the real-world setting where the model will be used.

  1. A

    True

  2. B

    False

03
Fill in the blank
1 point

A model needs to use neighborhood names as input features. The categories may need to become usable by the model.

04
Written response
1 point

A housing dataset contains only homes from expensive neighborhoods, while a model will be used for homes across many neighborhoods. What data-quality property is most directly lacking?

05
Choose one
1 point

The exact outcome a model should predict is unavailable, so a team chooses a related measurable outcome as its label. Which conclusion about that label is most appropriate?

  1. A

    Treat it as identical to the intended outcome because it is recorded in the dataset

  2. B

    Recognize that it is an approximation that may not match the intended outcome

  3. C

    Use it only as a feature and never as a prediction target

  4. D

    Discard all samples that do not have the exact outcome

06
True or false
1 point

A team includes a feature that is recorded only after the event the model is supposed to predict. That feature is suitable for making the prediction because it is present in the dataset.

  1. A

    True

  2. B

    False

07
Choose all
1 point

A team is validating a housing dataset before modeling. Select all checks that belong in this inspection.

  1. A

    Check whether rows and columns have the intended meanings

  2. B

    Check types, units, plausible ranges, and missing values

  3. C

    Choose the model architecture before inspecting the data

  4. D

    Check for duplicate samples and inconsistent labels

08
Written response
1 point

After a team decides how to transform its model inputs, what data should receive those same transformations when the model is used?

09
Fill in the blank
1 point

When appropriate, a team may missing values using a suitable method.

10
Choose one
1 point

A team will evaluate a model using a test set and must scale a numerical feature. Which procedure avoids letting test data influence preprocessing?

  1. A

    Use the entire dataset to learn scaling values before splitting it

  2. B

    Learn scaling values from the test set so they match evaluation data

  3. C

    Split into training and test sets, learn scaling values from training data, and apply them to test data

  4. D

    Scale the training set but leave the test set in its original units

11
Choose all
1 point

A dataset has incorrect entries and missing values that cannot all be recovered. Select all appropriate ways to handle these problems during preparation.

  1. A

    Correct erroneous values when possible

  2. B

    Leave all errors unchanged so the model can learn from them

  3. C

    If correction is not possible, consider removing affected samples

  4. D

    If appropriate, fill missing values and record important preparation choices

12
Open ended
1 point

A housing dataset has neighborhood names as categories, missing size values, and inconsistent units. Describe how to prepare these data for prediction while preventing test-set leakage.

13
Choose one
1 point

During review, a team finds a home record whose sale price was copied from a different home. Which data-quality problem does this illustrate?

  1. A

    A duplicate sample

  2. B

    A missing feature value

  3. C

    A category that needs encoding

  4. D

    A mislabeled example

14
Choose one
1 point

In the housing example, which attribute is the label when the model is intended to predict a home's sale price?

  1. A

    Size

  2. B

    Sale price

  3. C

    Neighborhood

  4. D

    Number of bedrooms

15
Choose one
1 point

A team collects audio clips to build a model. Which statement best describes whether this collection can be a dataset?

  1. A

    A dataset must have rows and columns, so an audio collection is not a dataset.

  2. B

    Audio can be a dataset only if every recording has a numerical label.

  3. C

    An audio collection can be a dataset even if it is not arranged as a table.

  4. D

    Audio recordings are features, but cannot be samples.

16
Choose one
1 point

A team is validating a housing dataset before modeling. Which review is most appropriate?

  1. A

    Check column meanings, types, units, plausible ranges, missing values, duplicates, and label consistency.

  2. B

    Check only whether every column contains numbers.

  3. C

    Remove all rows that differ from the most common row.

  4. D

    Use the test set to decide which values and categories are acceptable.

17
Choose one
1 point

A dataset contains missing values and values known to be erroneous. Which preparation approach best follows sound data-handling practices?

  1. A

    Replace all missing values with zero and leave erroneous values unchanged.

  2. B

    Remove every sample containing a value outside the usual range without checking it.

  3. C

    Ignore missing and erroneous values whenever a dataset is large.

  4. D

    Correct erroneous values when possible; otherwise consider removing affected samples. Fill missing values with a suitable method when appropriate, and record important choices.

18
True or false
1 point

A model uses a property value that is recorded only after the sale, even though it is supposed to predict the sale price beforehand. This can make the model's results misleading.

  1. A

    True

  2. B

    False

19
Written response
1 point

A model cannot directly use neighborhood names in their current form, so the team converts the categories into numerical representations. What is this process called?

20
Written response
1 point

A team uses the test set to calculate the average that will fill missing values, then reports test performance. What evaluation problem can this cause?