1What is the primary goal of Predictive Analytics?
A.To describe what happened in the past
B.To predict future outcomes based on historical data
C.To prescribe the best course of action
D.To store large amounts of data
Correct Answer: To predict future outcomes based on historical data
Explanation:
Predictive analytics uses historical data and statistical algorithms to identify the likelihood of future outcomes.
Incorrect! Try again.
2Which of the following is NOT a phase in the standard predictive analytics lifecycle?
A.Hardware Manufacturing
B.Deployment
C.Data Preparation
D.Model Building
Correct Answer: Hardware Manufacturing
Explanation:
Hardware manufacturing is related to production, not the analytics lifecycle. The lifecycle typically includes problem definition, data prep, modeling, and deployment.
Incorrect! Try again.
3Descriptive Analytics differs from Predictive Analytics because Descriptive Analytics focuses on:
A.Creating machine learning models
B.Summarizing past events
C.Optimizing decision making
D.Forecasting future trends
Correct Answer: Summarizing past events
Explanation:
Descriptive analytics answers 'What happened?' by summarizing past data, whereas predictive analytics answers 'What could happen?'.
Incorrect! Try again.
4Which of the following is a common application of Predictive Analytics?
A.Creating a database schema
B.Real-time operating system scheduling
C.Generating an annual report
D.Credit scoring
Correct Answer: Credit scoring
Explanation:
Credit scoring predicts the likelihood of a borrower defaulting on a loan based on their history.
Incorrect! Try again.
5In the context of Machine Learning, what is 'Training Data'?
A.Data used to teach the algorithm patterns
B.Data that has been corrupted
C.Data used to evaluate the final model
D.Future data that has not occurred yet
Correct Answer: Data used to teach the algorithm patterns
Explanation:
Training data is the dataset used to fit the model parameters, allowing the algorithm to learn relationships.
Incorrect! Try again.
6Which type of analytics answers the question 'What should we do about it'?
A.Predictive Analytics
B.Prescriptive Analytics
C.Descriptive Analytics
D.Diagnostic Analytics
Correct Answer: Prescriptive Analytics
Explanation:
Prescriptive analytics suggests decision options to take advantage of a future opportunity or mitigate a future risk.
Incorrect! Try again.
7Machine Learning is best described as:
A.Data storage optimization
B.Hard-coding rules for every possible scenario
C.A subset of AI where computers learn from data without explicit programming
D.Strictly using statistical regression only
Correct Answer: A subset of AI where computers learn from data without explicit programming
Explanation:
ML focuses on algorithms that improve automatically through experience and data usage.
Incorrect! Try again.
8What is the 'Target Variable' in a predictive model?
A.The variable used to predict
B.The noise in the data
C.The index of the dataset
D.The variable being predicted
Correct Answer: The variable being predicted
Explanation:
The target variable (or dependent variable) is the outcome the model aims to predict.
Incorrect! Try again.
9Which of the following is a type of Supervised Learning?
A.Dimensionality Reduction
B.Regression
C.Association Rule Learning
D.Clustering
Correct Answer: Regression
Explanation:
Regression is a supervised learning task where the output variable is continuous.
Incorrect! Try again.
10In Supervised Learning, the dataset must contain:
A.Only input features
B.Only images
C.Unlabeled data
D.Labeled data (Input features and Output labels)
Correct Answer: Labeled data (Input features and Output labels)
Explanation:
Supervised learning requires ground truth (labels) to train the model to map inputs to outputs.
Incorrect! Try again.
11Unsupervised Learning differs from Supervised Learning because it:
A.Predicts a specific target
B.Is only used for text data
C.Finds hidden patterns in unlabeled data
D.Uses labeled data
Correct Answer: Finds hidden patterns in unlabeled data
Explanation:
Unsupervised learning deals with data that has no historical labels, focusing on discovering structure or clusters.
Incorrect! Try again.
12Predicting the price of a house based on its square footage is an example of:
A.Clustering
B.Reinforcement Learning
C.Regression
D.Classification
Correct Answer: Regression
Explanation:
Since price is a continuous numerical value, this is a regression problem.
Incorrect! Try again.
13Predicting whether an email is 'Spam' or 'Not Spam' is an example of:
A.Clustering
B.Classification
C.Regression
D.Principal Component Analysis
Correct Answer: Classification
Explanation:
The output is a categorical label (Spam/Not Spam), making it a classification problem.
Incorrect! Try again.
14Which of the following is an Unsupervised Learning algorithm?
A.Decision Trees
B.Linear Regression
C.Logistic Regression
D.K-Means Clustering
Correct Answer: K-Means Clustering
Explanation:
K-Means is used to group data points into clusters based on similarity, without pre-existing labels.
Incorrect! Try again.
15What is the main objective of Clustering?
A.To reduce the number of rows in a table
B.To predict a continuous value
C.To group similar data points together
D.To classify data into known categories
Correct Answer: To group similar data points together
Explanation:
Clustering identifies natural groupings in data such that items in the same group are more similar to each other than to those in other groups.
Incorrect! Try again.
16Reinforcement Learning involves an agent that learns by:
A.Mimicking a teacher
B.Cleaning database records
C.Analyzing static clusters
D.Interacting with an environment and receiving rewards or penalties
Correct Answer: Interacting with an environment and receiving rewards or penalties
Explanation:
Reinforcement learning is based on a reward-penalty system where an agent learns to maximize cumulative reward.
Incorrect! Try again.
17Which of the following is a common issue where a model performs well on training data but poorly on new data?
A.Underfitting
B.Overfitting
C.Normalization
D.Clustering
Correct Answer: Overfitting
Explanation:
Overfitting occurs when a model learns the noise and details of the training data to the extent that it negatively impacts the performance on new data.
Incorrect! Try again.
18What is the first step in Data Preprocessing?
A.Model Training
B.Feature Scaling
C.Hyperparameter Tuning
D.Data Cleaning
Correct Answer: Data Cleaning
Explanation:
Before scaling or training, data must be cleaned (handling missing values, noise, and inconsistencies).
Incorrect! Try again.
19Garbage In, Garbage Out (GIGO) implies that:
A.More data always results in better models
B.We should delete all data
C.Computer hardware needs regular cleaning
D.Poor quality input data leads to poor quality model output
Correct Answer: Poor quality input data leads to poor quality model output
Explanation:
The quality of the predictive model is directly constrained by the quality of the data used to train it.
Incorrect! Try again.
20Which technique is used to handle missing values in a dataset?
A.Overfitting
B.Clustering
C.Imputation
D.Regression
Correct Answer: Imputation
Explanation:
Imputation involves replacing missing data with substituted values (e.g., mean, median, or mode).
Incorrect! Try again.
21What is the purpose of 'Feature Scaling'?
A.To convert text to numbers
B.To remove missing values
C.To bring all features to a similar scale or range
D.To increase the number of features
Correct Answer: To bring all features to a similar scale or range
Explanation:
Feature scaling ensures that no single feature dominates the model due to having a larger magnitude (e.g., salary vs age).
Incorrect! Try again.
22Standardization (Z-score normalization) transforms data to have:
A.No negative numbers
B.A mean of 100
C.A mean of 0 and standard deviation of 1
D.A range between 0 and 1
Correct Answer: A mean of 0 and standard deviation of 1
Explanation:
Standardization rescales data so that it follows a standard normal distribution.
Incorrect! Try again.
23Which preprocessing technique is used to convert categorical variables into numerical format?
A.Encoding
B.Imputation
C.Scaling
D.Sampling
Correct Answer: Encoding
Explanation:
Encoding (like One-Hot Encoding or Label Encoding) converts text categories into numbers so algorithms can process them.
Incorrect! Try again.
24One-Hot Encoding helps in handling:
A.Missing values
B.Nominal categorical data
C.Continuous variables
D.Outliers
Correct Answer: Nominal categorical data
Explanation:
One-Hot Encoding creates binary columns for each category, which is ideal for nominal data where no order exists.
Incorrect! Try again.
25An outlier is defined as:
A.A missing value
B.A categorical variable
C.A data point that differs significantly from other observations
D.A value that is exactly the mean
Correct Answer: A data point that differs significantly from other observations
Explanation:
Outliers are extreme values that deviate remarkably from the rest of the dataset.
Incorrect! Try again.
26Which method is commonly used to detect outliers?
A.Confusion Matrix
B.Pie Chart
C.Gradient Descent
D.Box Plot
Correct Answer: Box Plot
Explanation:
Box plots visually display the distribution of data and identify outliers as points outside the whiskers (interquartile range).
Incorrect! Try again.
27Dimensionality Reduction aims to:
A.Increase the number of variables
B.Remove all categorical variables
C.Reduce the number of input variables while retaining important information
D.Create more rows in the dataset
Correct Answer: Reduce the number of input variables while retaining important information
Explanation:
It simplifies models, reduces computation time, and helps avoid the curse of dimensionality.
Incorrect! Try again.
28PCA (Principal Component Analysis) is a technique used for:
A.Supervised Classification
B.Data Imputation
C.Dimensionality Reduction
D.Reinforcement Learning
Correct Answer: Dimensionality Reduction
Explanation:
PCA transforms a large set of variables into a smaller one that still contains most of the information.
Incorrect! Try again.
29Why do we split data into Training and Testing sets?
A.To train two different models
B.To evaluate the model's performance on unseen data
C.To remove outliers
D.To make the dataset smaller
Correct Answer: To evaluate the model's performance on unseen data
Explanation:
The test set acts as a proxy for new, real-world data to check if the model generalizes well.
Incorrect! Try again.
30Underfitting occurs when:
A.The model is too complex
B.The model captures noise
C.The model is too simple to capture the underlying structure of the data
D.The training data is perfect
Correct Answer: The model is too simple to capture the underlying structure of the data
Explanation:
Underfitting happens when a model cannot learn the patterns in the training data, resulting in poor performance on both training and test data.
Incorrect! Try again.
31Which of the following is NOT a data preprocessing step?
A.Feature Selection
B.Hypothesis Testing
C.Data Transformation
D.Data Cleaning
Correct Answer: Hypothesis Testing
Explanation:
Hypothesis testing is a statistical method for inference, not typically considered a preprocessing step for preparing data for ML.
Incorrect! Try again.
32Min-Max Scaling transforms data into which range?
A.[-1, 1]
B.[0, 100]
C.[-infinity, +infinity]
D.[0, 1]
Correct Answer: [0, 1]
Explanation:
Min-Max scaling rescales the feature to a fixed range, typically 0 to 1.
Incorrect! Try again.
33In a dataset, a row usually represents:
A.An observation or instance
B.A label
C.A feature
D.A statistical summary
Correct Answer: An observation or instance
Explanation:
In tabular data, rows represent individual records (instances), and columns represent attributes (features).
Incorrect! Try again.
34Market Basket Analysis is an application of which learning type?
A.Association Rule Learning
B.Supervised Learning
C.Classification
D.Regression
Correct Answer: Association Rule Learning
Explanation:
It finds associations between items, such as 'people who buy bread also buy milk' (Unsupervised learning).
Incorrect! Try again.
35Which of the following describes 'Feature Selection'?
A.Scaling features
B.Selecting the most relevant features to improve model performance
C.Handling missing values
D.Creating new features from existing ones
Correct Answer: Selecting the most relevant features to improve model performance
Explanation:
Feature selection involves picking a subset of relevant features to reduce complexity and improve accuracy.
Incorrect! Try again.
36Noise in data refers to:
A.Missing values
B.Categorical labels
C.Duplicate rows
D.Meaningless or random variance in the data
Correct Answer: Meaningless or random variance in the data
Explanation:
Noise represents unwanted variation or random errors that obscure the true signal in the data.
Incorrect! Try again.
37Which of the following is a quantitative variable?
A.Color (Red/Blue)
B.Zip Code
C.Gender (Male/Female)
D.Age
Correct Answer: Age
Explanation:
Age is a numerical value that measures a quantity, whereas the others are categorical.
Incorrect! Try again.
38Label Encoding is best used when:
A.The categorical feature has no order
B.The data is continuous
C.There are missing values
D.The categorical feature is ordinal (has an inherent order)
Correct Answer: The categorical feature is ordinal (has an inherent order)
Explanation:
Label encoding assigns an integer to categories. If order matters (e.g., Low, Medium, High), this is appropriate. For nominal data, it may introduce false relationships.
Incorrect! Try again.
39The process of converting raw data into a clean dataset is often called:
A.Data Wrangling/Munging
B.Data Visualization
C.Data Mining
D.Data Architecture
Correct Answer: Data Wrangling/Munging
Explanation:
Data wrangling is the process of transforming and mapping data from one 'raw' data form into another format for analytics.
Incorrect! Try again.
40Which of these is a supervised learning algorithm used for classification?
A.K-Means
B.Apriori
C.PCA
D.Logistic Regression
Correct Answer: Logistic Regression
Explanation:
Despite its name, Logistic Regression is used for binary classification tasks.
Incorrect! Try again.
41If a dataset has duplicate records, the preprocessing step required is:
A.Encoding
B.Imputation
C.Deduplication
D.Normalization
Correct Answer: Deduplication
Explanation:
Deduplication removes identical rows to prevent bias in the model.
Incorrect! Try again.
42The 'Curse of Dimensionality' refers to problems caused by:
A.Too much processing power
B.Too many missing values
C.Too many features (variables) relative to the number of observations
D.Inaccurate labels
Correct Answer: Too many features (variables) relative to the number of observations
Explanation:
As the number of features increases, the data becomes sparse, making it difficult for models to find patterns without massive amounts of data.
Incorrect! Try again.
43Which variable type requires dummy variables creation during preprocessing?
A.Binary
B.Ordinal
C.Categorical
D.Numerical
Correct Answer: Categorical
Explanation:
Categorical variables (specifically nominal ones) often need to be converted into dummy variables (0/1 columns) to be used in mathematical models.
Incorrect! Try again.
44Semi-supervised learning uses:
A.A small amount of labeled data and a large amount of unlabeled data
B.Only unlabeled data
C.Only labeled data
D.Reinforcement signals
Correct Answer: A small amount of labeled data and a large amount of unlabeled data
Explanation:
This approach leverages the large volume of unlabeled data to improve learning accuracy when labeling data is expensive.
Incorrect! Try again.
45What is the result of 'Data Transformation'?
A.Data is converted into a format suitable for modeling
B.Data is collected
C.Data is visualized
D.Data is deleted
Correct Answer: Data is converted into a format suitable for modeling
Explanation:
Transformation includes smoothing, aggregation, generalization, normalization, etc., to make data model-ready.
Incorrect! Try again.
46Predicting the temperature for tomorrow is a:
A.Regression task
B.Preprocessing task
C.Classification task
D.Clustering task
Correct Answer: Regression task
Explanation:
Temperature is a continuous numerical variable, making this a regression problem.
Incorrect! Try again.
47Customer segmentation usually relies on which type of learning?
Segmentation groups customers with similar behaviors without predefined labels.
Incorrect! Try again.
48Which of the following represents 'Structured Data'?
A.Emails
B.Video files
C.Audio recordings
D.Relational database tables
Correct Answer: Relational database tables
Explanation:
Structured data is highly organized (rows/columns) and easily searchable in relational databases.
Incorrect! Try again.
49Balanced data refers to:
A.Data where the target classes are represented approximately equally
B.Data that has been scaled
C.Data where all values are the same
D.Data with no missing values
Correct Answer: Data where the target classes are represented approximately equally
Explanation:
Imbalanced data (e.g., 99% 'No', 1% 'Yes') causes bias; balanced data ensures the model learns all classes effectively.
Incorrect! Try again.
50Binning is a preprocessing technique used to:
A.Convert continuous variables into categorical intervals
B.Fill missing values
C.Remove outliers
D.Normalize data
Correct Answer: Convert continuous variables into categorical intervals
Explanation:
Binning (discretization) groups continuous values into 'bins' (e.g., Age 0-10, 11-20) to smooth data.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →