Unit 5: Dimensionality Reduction and Neural Networks - Practice Quiz

INT234 — Predictive Analytics 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the main purpose of dimensionality reduction?

Dimensionality Reduction Easy
A. To reduce the number of features
B. To convert data into labels
C. To remove all target values
D. To increase the number of records

2 Which problem can dimensionality reduction help address?

Dimensionality Reduction Easy
A. The creation of missing values
B. The curse of dimensionality
C. The absence of target labels
D. The increase of duplicate records

3 A dataset has 50 features, and dimensionality reduction changes it to 10 features. What has happened?

Dimensionality Reduction Easy
A. The data has been converted to text
B. The target variable has been duplicated
C. The number of observations has increased
D. The feature space has been reduced

4 Which is a common benefit of using dimensionality reduction?

Dimensionality Reduction Easy
A. More unrelated features
B. Simpler data visualization
C. More missing data
D. Larger storage requirements

5 What type of information should a good dimensionality reduction method try to preserve?

Dimensionality Reduction Easy
A. Important patterns in the data
B. Formatting details in the data
C. Random noise in the data
D. Duplicate columns in the data

6 What does PCA stand for?

Principal Component Analysis (PCA) Easy
A. Primary Correlation Assignment
B. Predictive Classification Algorithm
C. Pattern Calculation Approach
D. Principal Component Analysis

7 In PCA, what are principal components?

Principal Component Analysis (PCA) Easy
A. Original rows of the dataset
B. Randomly selected input values
C. New directions of maximum variance
D. Names assigned to target classes

8 Which principal component usually captures the greatest amount of variance?

Principal Component Analysis (PCA) Easy
A. The first component
B. The final component
C. The random component
D. The second component

9 What does PCA typically produce from the original features?

Principal Component Analysis (PCA) Easy
A. A list of missing observations
B. A larger set of duplicate features
C. A smaller set of new features
D. A collection of class labels

10 Before applying PCA, why are features often standardized?

Principal Component Analysis (PCA) Easy
A. To remove every feature from the data
B. To place features on comparable scales
C. To increase the number of observations
D. To turn numerical values into labels

11 What measure is commonly used to decide how many PCA components to keep?

Principal Component Analysis (PCA) Easy
A. Number of class names
B. Count of empty cells
C. File size in megabytes
D. Explained variance

12 Are principal components usually correlated with one another?

Principal Component Analysis (PCA) Easy
A. No, they are always categorical
B. Yes, they must have the same values
C. Yes, they are always identical
D. No, they are generally uncorrelated

13 How does information generally move through a feedforward neural network?

Feedforward Neural Networks Easy
A. In random circular paths
B. From input to output
C. From output to input
D. Only between output neurons

14 Which layer receives the original features in a neural network?

Feedforward Neural Networks Easy
A. The input layer
B. The hidden layer
C. The output layer
D. The error layer

15 What is the main role of the output layer?

Feedforward Neural Networks Easy
A. To store the original dataset
B. To produce the network prediction
C. To remove all hidden neurons
D. To standardize every feature

16 What is the purpose of an activation function in a neural network?

Feedforward Neural Networks Easy
A. To sort the target values
B. To count the observations
C. To add nonlinearity
D. To rename the features

17 What does a neural network weight represent?

Feedforward Neural Networks Easy
A. The number of output classes
B. The strength of an input connection
C. The name of a hidden layer
D. The size of the training dataset

18 What is an MLP?

Multi-layer Perceptron (MLP) Easy
A. A method for sorting database rows
B. A neural network with multiple layers
C. A chart used for measuring variance
D. A technique for removing target labels

19 Which type of layer is found between the input and output layers of an MLP?

Multi-layer Perceptron (MLP) Easy
A. A label layer
B. A hidden layer
C. A sampling layer
D. A variance layer

20 What is one common use of an MLP?

Multi-layer Perceptron (MLP) Easy
A. Classification and regression
B. Database indexing only
C. File compression only
D. Image storage only

21 A dataset contains 200 variables, but many variables are highly correlated. What is the main benefit of applying dimensionality reduction before training a predictive model?

Dimensionality Reduction Medium
A. It replaces the need to split data into training and testing sets
B. It ensures that all original variables remain unchanged and equally influential
C. It guarantees that every prediction will be correct
D. It can reduce redundancy and computational cost

22 A model performs very well on training data but poorly on unseen data when trained with 500 features and only 100 observations. Which issue is dimensionality reduction most likely to help address?

Dimensionality Reduction Medium
A. Underfitting caused by excessive regularization
B. Class imbalance caused by unequal labels
C. Overfitting caused by excessive features
D. Data leakage caused by a randomized train-test split

23 Why should feature scaling often be performed before a distance-based dimensionality reduction method?

Dimensionality Reduction Medium
A. To increase the number of dimensions automatically
B. To convert every feature into a categorical variable
C. To prevent large-scale variables from dominating distances
D. To ensure that the reduced data has exactly zero variance

24 A two-dimensional dataset is reduced to one dimension, and the retained dimension explains 82% of the original variance. How should this result be interpreted?

Dimensionality Reduction Medium
A. The representation preserves exactly 82% of every data value
B. The discarded dimension contains no information under any condition
C. The representation preserves most variation in one dimension
D. The reduced feature must have a correlation of 0.82 with every original feature

25 In PCA, the first principal component is the direction that:

Principal Component Analysis (PCA) Medium
A. Captures the maximum variance in the data
B. Uses only the original feature with the greatest average value
C. Produces the largest prediction error for the target
D. Has the smallest possible number of observations

26 Before applying PCA to variables measured in dollars, kilograms, and centimeters, what is usually the most appropriate preprocessing step?

Principal Component Analysis (PCA) Medium
A. Remove the variable with the largest numerical values
B. Convert all variables into binary indicators
C. Sort the observations according to the target variable
D. Standardize the variables to comparable scales

27 Suppose the eigenvalues from a PCA are , , , and . What proportion of total variance is explained by the first two components?

Principal Component Analysis (PCA) Medium
A.
B.
C.
D.

28 A PCA model is fitted on a training set and then used to transform a test set. Which procedure avoids information leakage?

Principal Component Analysis (PCA) Medium
A. Fit scaling and PCA using training data only
B. Fit PCA separately on the training and test sets
C. Fit scaling and PCA using the combined dataset
D. Fit PCA on the test set and apply its components to training data

29 A principal component is written as . What does the coefficient indicate, assuming the input variables are standardized?

Principal Component Analysis (PCA) Medium
A. The percentage of variance explained by
B. The contribution weight of to the component
C. The correlation between and
D. The predicted value of for an observation with component score one

30 Why can PCA components sometimes be difficult to interpret in a business application?

Principal Component Analysis (PCA) Medium
A. Each component is always expressed in the original feature units
B. Each component may combine many original variables
C. PCA guarantees that every component corresponds to a known business concept
D. PCA can only be applied to one variable at a time

31 In a feedforward neural network, information flows from the input layer to the output layer without:

Feedforward Neural Networks Medium
A. Using weights to combine input values
B. Applying any mathematical transformation to inputs
C. Passing information backward through recurrent connections
D. Producing an output from the final layer

32 A neuron receives inputs and , with weights , , and bias . What is its pre-activation value?

Feedforward Neural Networks Medium
A.
B.
C.
D.

33 Which activation function is commonly used in the output layer of a binary classification network with one output neuron?

Feedforward Neural Networks Medium
A. ReLU
B. Softmax
C. Sigmoid
D. Linear

34 A neural network is used to predict house prices. Which output-layer activation and loss pairing is generally appropriate?

Feedforward Neural Networks Medium
A. ReLU activation with hinge loss for four classes
B. Sigmoid activation with categorical cross-entropy
C. Softmax activation with binary cross-entropy
D. Linear activation with mean squared error

35 During training, the loss decreases on the training set but increases on the validation set after several epochs. What is the most likely explanation?

Feedforward Neural Networks Medium
A. The network is beginning to overfit
B. The validation set is being used as the training target
C. The activation function has removed all nonlinear relationships
D. The network has no trainable parameters

36 What is the main advantage of using hidden layers with nonlinear activation functions in an MLP?

Multi-layer Perceptron (MLP) Medium
A. They eliminate the need for weights and biases
B. They ensure that all input variables receive identical coefficients
C. They allow the network to model nonlinear relationships
D. They guarantee that the training loss is always zero

37 An MLP has 4 input features, one hidden layer with 6 neurons, and 2 output neurons. Including biases, how many trainable parameters does it have?

Multi-layer Perceptron (MLP) Medium
A. 36
B. 42
C. 52
D. 44

38 For a three-class classification problem, an MLP has three output neurons. Which output configuration is most appropriate?

Multi-layer Perceptron (MLP) Medium
A. A ReLU output that returns only nonnegative class scores
B. Softmax outputs whose probabilities sum to one
C. Three independent sigmoid outputs that need not sum to one
D. A single linear output with unrestricted real values

39 Why is backpropagation important when training an MLP?

Multi-layer Perceptron (MLP) Medium
A. It converts continuous targets into categorical labels
B. It selects the number of input features without using validation data
C. It randomly removes neurons from every hidden layer
D. It computes gradients used to update network parameters

40 An MLP performs poorly on both the training and validation sets. Which change is most likely to address underfitting?

Multi-layer Perceptron (MLP) Medium
A. Evaluate the model on the training set repeatedly without changing it
B. Increase model capacity or reduce excessive regularization
C. Stop training earlier and use a smaller learning rate only
D. Add stronger regularization and reduce the number of hidden units

41 A dataset contains 500 features and 2,000 observations. The first 50 features are nearly exact linear combinations of the remaining features, while the target depends on a low-variance direction. Which strategy best reduces dimensionality while limiting the risk of discarding predictive information?

Dimensionality Reduction Hard
A. Remove features using only their marginal variance
B. Retain principal components explaining 95% of variance
C. Select features with the smallest pairwise correlations
D. Apply supervised dimensionality reduction using the target

42 A dimensionality-reduction pipeline is evaluated with five-fold cross-validation. Standardization and projection are fitted once on the complete dataset before the folds are created. What is the principal statistical problem?

Dimensionality Reduction Hard
A. The validation folds contain fewer observations
B. Information from validation folds leaks into training
C. The reduced features become perfectly orthogonal
D. The model loses access to the original features

43 A high-dimensional dataset has 10,000 features but only 80 observations. Which issue most directly makes an unconstrained nonlinear embedding unreliable for downstream prediction?

Dimensionality Reduction Hard
A. The embedding cannot represent nonlinear relationships
B. The reduced coordinates cannot be used by classifiers
C. The original features are necessarily statistically independent
D. The method may fit sampling noise and unstable neighborhoods

44 A compressed representation is used for a fraud classifier. The reconstruction error is very low, but validation AUC falls substantially compared with the original features. Which conclusion is most defensible?

Dimensionality Reduction Hard
A. The compressed representation contains no useful variance
B. The classifier must have been trained without regularization
C. The compression preserved most predictive information
D. Low reconstruction error does not guarantee target information retention

45 Two reduced representations have the same number of dimensions. Representation A preserves pairwise distances globally, while Representation B preserves local neighborhoods but distorts large-scale distances. Which task most favors Representation B?

Dimensionality Reduction Hard
A. Computing a globally faithful reconstruction
B. Recovering the original covariance matrix
C. Estimating global linear regression coefficients
D. Detecting local clusters and neighborhood anomalies

46 For centered data, the covariance matrix has eigenvalues , , and . How much total variance is explained by the first two principal components?

Principal Component Analysis (PCA) Hard
A.
B.
C.
D.

47 Two features measure the same physical quantity in meters and centimeters. PCA is applied to the raw covariance matrix rather than the correlation matrix. What is the main consequence?

Principal Component Analysis (PCA) Hard
A. The number of nonzero principal components necessarily doubles
B. The principal directions become invariant to unit changes
C. The covariance matrix becomes diagonal before decomposition
D. The centimeter feature dominates because of its scale

48 A standardized dataset has two nearly identical features. The first principal component has approximately equal loadings, while the second has opposite loadings and a tiny eigenvalue. What does the second component primarily represent?

Principal Component Analysis (PCA) Hard
A. The difference or measurement noise between features
B. The shared signal common to both features
C. The total variance contributed by both features
D. A direction guaranteed to predict the response

49 A PCA model is fitted to training data, and a new observation is projected using without subtracting the training mean. What error is introduced?

Principal Component Analysis (PCA) Hard
A. The principal axes lose their orthogonality
B. The new observation is projected relative to the wrong origin
C. The projection becomes supervised by the target
D. The eigenvalues are recomputed from one observation

50 A PCA component has loading vector . Which statement remains true if the algorithm returns instead of ?

Principal Component Analysis (PCA) Hard
A. Its explained variance changes sign
B. Its eigenvalue becomes negative
C. Its correlation with every feature remains identical
D. Its projected scores change sign but its subspace is unchanged

51 A feedforward network uses ReLU activations and no biases. For any input , it satisfies . Which architectural property explains this behavior?

Feedforward Neural Networks Hard
A. The use of squared-error loss
B. Positive homogeneity of linear layers and ReLU
C. Softmax normalization at the output
D. Orthogonality of all hidden-layer weights

52 A binary classifier outputs a sigmoid probability, but the positive class occurs in only 1% of cases. Which evaluation practice is most appropriate for assessing ranking quality under severe imbalance?

Feedforward Neural Networks Hard
A. Use precision-recall analysis and average precision
B. Use accuracy at the default threshold
C. Use mean squared error on class labels only
D. Use ROC AUC only with balanced test sampling

53 A neural network has a linear output layer and is trained with mean squared error. If every hidden activation is also linear, what is the maximum function class the network can represent?

Feedforward Neural Networks Hard
A. A polynomial of degree equal to network depth
B. Only a constant function
C. Any continuous nonlinear function
D. A single affine transformation of the input

54 During training, a hidden ReLU unit receives strongly negative pre-activations for every example in a minibatch and has zero gradient for its incoming weights. Which intervention most directly addresses this state?

Feedforward Neural Networks Hard
A. Increase the batch size while keeping all parameters fixed
B. Increase the output-layer learning rate only
C. Remove the loss function from the output layer
D. Replace ReLU with an activation allowing negative gradients

55 A network produces logits . Which statement correctly describes softmax probabilities and their behavior if the same constant is added to every logit?

Feedforward Neural Networks Hard
A. The largest probability is assigned to the third logit
B. The probabilities become equal after normalization
C. The logits must first be converted to negative values
D. The probabilities are unchanged by adding a common constant

56 An MLP has one hidden layer with two ReLU units and a linear output. Why can it represent a piecewise-linear function with more than two linear regions?

Multi-layer Perceptron (MLP) Hard
A. The output layer automatically adds nonlinear curvature
B. Each ReLU contributes a distinct activation boundary
C. The loss function creates additional hidden units
D. The input dimension determines exactly two regions

57 An MLP for multiclass classification uses two output neurons with independent sigmoid activations for three mutually exclusive classes. What is the fundamental modeling defect?

Multi-layer Perceptron (MLP) Hard
A. Two outputs cannot uniquely encode three exclusive classes
B. Independent sigmoids cannot model nonlinearity in hidden layers
C. The hidden layer must contain exactly three neurons
D. Sigmoid activations cannot produce values between zero and one

58 An MLP fits training data almost perfectly but performs poorly on a temporally later test set. The input includes a feature computed using records collected after each prediction time. What is the most likely cause?

Multi-layer Perceptron (MLP) Hard
A. Insufficient output-layer dimensionality
B. Vanishing gradients caused by the test set
C. Data leakage from a future-dependent feature
D. Underfitting caused by excessive regularization

59 Consider an MLP with input dimension , one hidden layer of units, and one scalar output. Every neuron has a bias. How many trainable parameters does it contain?

Multi-layer Perceptron (MLP) Hard
A.
B.
C.
D.

60 An MLP uses batch normalization before a ReLU layer. At inference time, which statistics should batch normalization use?

Multi-layer Perceptron (MLP) Hard
A. Statistics recomputed from the complete test set
B. Running training estimates of mean and variance
C. The current inference example's mean and variance
D. The target variable's mean and variance