WorksheetsMachine Learning Quiz
Total questions: 20
Worksheet time: 10mins
What is the main goal of Machine Learning?
To write programs with fixed rules
To enable systems to learn from data and improve automatically
To replace databases with models
To avoid using algorithms
Which of the following is NOT a type of Machine Learning?
Supervised Learning
Unsupervised Learning
Reinforcement Learning
Comparative Learning
Why do we need Artificial Intelligence?
To store data permanently
To make machines intelligent and solve complex problems
To replace spreadsheets
To stop using programming languages
Which of the following is a mutable data type in Python?
Tuple
String
List
Integer
What is the correct order of Machine Learning process?
Collect Data → Train Model → Preprocess → Deploy
Preprocess → Collect Data → Train Model → Evaluate
Collect Data → Preprocess → Train Model → Evaluate
Train Model → Collect Data → Preprocess → Deploy
In Linear Regression, the dependent variable is also called:
Predictor
Target
Input
Feature
Which function is used to create the main window in Tkinter?
Tk()
Window()
Frame()
Main()
A model that performs well on training data but poorly on test data is known as:
Underfitted
Overfitted
Well-trained
Generalized
Which of the following is NOT a method to detect outliers?
Z-Score
IQR (Interquartile Range)
Histogram
Linear Regression
One Hot Encoding is mainly used for:
Converting categorical variables into multiple binary columns
Standardizing numeric values
Scaling data between 0 and 1
Detecting missing values
Which scaling method transforms data into a fixed range [0,1]?
Standardization
Min-Max Scaling
Maximum Absolute Scaling
Normalization with Z-score
Which algorithm is mainly used for classification?
Linear Regression
Logistic Regression
K-Means
PCA
Q13. In a pizza price prediction model, the "size of pizza" is an example of:
A) Dependent Variable
B) Independent Variable
C) Target Variable
D) Response Variable
Q14. Polynomial Regression is useful when:
A) Data follows a straight-line relationship
B) Data has a non-linear relationship
C) Data has no relationship
D) We want to ignore features
Q15. Which of the following describes an underfitted model?
A) Performs well on both training and testing data
B) Performs well on training data but poorly on test data
C) Performs poorly on both training and test data
D) Performs well only on unseen data
Q16. Which statistical method is commonly used to detect outliers?
A) Mean Absolute Error
B) Z-Score
C) Cross Validation
D) Gradient Descent
Q17. Label Encoding is best suited when:
A) Categories have no order
B) Categories have a natural order (e.g., Small, Medium, Large)
C) Data is continuous
D) Data is missing
Q18. Standardization (Z-score scaling) transforms data into:
A) Range [0, 1]
B) Range [-1, 1]
C) Mean = 0 and Standard Deviation = 1
D) Range [0, ∞]
Q19. Which of the following is a clustering algorithm?
A) K-Means
B) Logistic Regression
C) Naïve Bayes
D) Decision Tree
Q20. Which of the following tasks belongs to Natural Language Processing (NLP)?
A) Image Classification
B) Sentiment Analysis
C) Stock Price Prediction
D) Anomaly Detection
