Practice Free PCAD-31-02 Exam Online Questions
Question #41
What is the main reason to remove duplicate records before performing analysis?
- A . It helps increase sample size
- B . It ensures training data is intentionally overfitted
- C . It reduces redundancy that can skew statistical metrics
- D . It avoids converting data to JSON format
Correct Answer: C
Question #42
What object-oriented principle allows a child class to reuse and extend the behavior of a parent class in a Python data modeling scenario?
- A . Encapsulation
- B . Abstraction
- C . Inheritance
- D . Composition
Correct Answer: C
Question #43
What is the outcome of the following code?
data = [5, 10, 15]
result = [x**2 for x in data if x > 5]
print(result)
- A . [25, 100, 225]
- B . [100, 225]
- C . [10, 15]
- D . [25, 100]
Correct Answer: B
Question #44
Which practices are essential to ensure a fair evaluation of a machine learning model’s performance? (choose two)
- A . Randomizing the test dataset labels
- B . Using cross-validation to assess generalizability
- C . Splitting data into training and test sets
- D . Training on the entire dataset including test records
Correct Answer: BC
Question #45
Which features are commonly supported by both Matplotlib and Seaborn for customizing visualizations? (choose two)
- A . Adding plot titles and axis labels
- B . Automatic plot animations
- C . Changing plot color palettes
- D . Inserting audio annotations
Correct Answer: AC
