Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to AI and Machine Learning

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

What is the definition of Artificial Intelligence?

a)

Artificial Intelligence refers to the use of robots in manufacturing processes.

b)

Artificial Intelligence is the ability of machines to perform physical tasks only.

c)

Artificial Intelligence is the simulation of human intelligence processes by machines, especially computer systems.

d)

Artificial Intelligence is a type of software that only plays games.

2.

List some common techniques used in AI.

a)

blockchain technology

b)

Machine learning, natural language processing, computer vision, neural networks

c)

data mining

d)

cloud computing

3.

How is knowledge represented in Predicate Logic?

a)

Knowledge is represented using predicates, quantifiers, and logical connectives.

b)

Knowledge is represented solely by statements without any logical structure.

c)

Knowledge is represented using only numbers and symbols.

d)

Knowledge is represented through images and diagrams.

4.

What are simple facts in logic?

a)

Simple facts in logic are always true statements.

b)

Simple facts in logic are basic statements that can be true or false.

c)

Simple facts in logic are complex theories.

d)

Simple facts in logic are opinions that vary by person.

5.

Define computable functions and predicates.

a)

Computable functions can only be defined for integer inputs.

b)

Computable functions are only theoretical constructs without practical applications.

c)

Computable functions are functions that can be calculated by an algorithm, while predicates are functions that return true or false based on input conditions.

d)

Predicates are always complex mathematical equations.

6.

What is the difference between procedural and declarative knowledge?

a)

Procedural knowledge is knowing how to do something; declarative knowledge is knowing facts or information.

b)

Procedural knowledge is only applicable in programming; declarative knowledge is for everyday use.

c)

Procedural knowledge is theoretical; declarative knowledge is practical.

d)

Procedural knowledge is about memorizing facts; declarative knowledge is about skills.

7.

Explain the concept of Logic Programming.

a)

Logic programming is a method for designing user interfaces.

b)

Logic programming is a type of object-oriented programming.

c)

Logic programming is a programming paradigm that uses formal logic to express programs as a set of relations and derives conclusions through logical inference.

d)

Logic programming focuses on procedural steps to solve problems.

8.

What are the mathematical foundations necessary for Machine Learning?

a)

Number Theory

b)

Geometry

c)

Linear Algebra, Calculus, Probability and Statistics, Information Theory

d)

Set Theory

9.

What is the idea behind machines learning from data?

a)

Machines learn by memorizing all data without analysis.

b)

Machines only learn from structured data without patterns.

c)

The idea behind machines learning from data is to identify patterns and make predictions based on those patterns.

d)

The goal is to eliminate all human input in decision-making.

10.

Differentiate between regression and classification problems.

a)

Regression is used for clustering; classification is used for regression analysis.

b)

Regression predicts continuous values; classification predicts discrete categories.

c)

Regression deals with time series data; classification deals with spatial data.

d)

Regression predicts binary outcomes; classification predicts numerical values.

11.

What is the difference between supervised and unsupervised learning?

a)

Supervised learning uses labeled data for training, while unsupervised learning uses unlabeled data to find patterns.

b)

Supervised learning is used for clustering, while unsupervised learning is used for classification.

c)

Supervised learning requires no data for training, while unsupervised learning requires labeled data.

d)

Supervised learning can only be applied to images, while unsupervised learning can be applied to text.

12.

Describe the model representation for linear regression with a single variable.

a)

y = mx + b + d

b)

y = β0 - β1x + ε

c)

y = α + βx

d)

y = β0 + β1x + ε

13.

What is the cost function in single variable linear regression?

a)

Absolute Error (AE)

b)

Logarithmic Loss (LL)

c)

Hinge Loss (HL)

d)

Mean Squared Error (MSE)

14.

Explain the concept of Gradient Descent for Linear Regression.

a)

Gradient Descent is a method to increase the cost function in linear regression.

b)

Gradient Descent is a one-time calculation used to set model parameters in linear regression.

c)

Gradient Descent is an iterative optimization algorithm used to minimize the cost function in linear regression by adjusting model parameters in the direction of the steepest descent.

d)

Gradient Descent is a technique that only applies to polynomial regression, not linear regression.

15.

How is Gradient Descent applied in practice?

a)

Gradient Descent is used to increase a loss function by randomly changing model parameters.

b)

Gradient Descent is applied by selecting random data points without any calculations.

c)

Gradient Descent is used to minimize a loss function by iteratively updating model parameters.

d)

Gradient Descent is a method for visualizing data distributions without adjusting parameters.

16.

What is Logistic Regression and how is it used for classification?

a)

Logistic Regression predicts outcomes based on time series data.

b)

Logistic Regression is a clustering algorithm for multi-class outcomes.

c)

Logistic Regression is a classification algorithm used to predict binary outcomes based on predictor variables.

d)

Logistic Regression is used for linear regression analysis.

17.

What is the hypothesis representation in Logistic Regression?

a)

h(x) = 1 / (1 + e^(-θ^T * x))

b)

h(x) = 1 / (1 + e^(θ * x))

c)

h(x) = e^(θ^T * x)

d)

h(x) = θ^T * x

18.

Define the decision boundary in the context of Logistic Regression.

a)

The decision boundary is the point where the model's accuracy is maximized.

b)

The decision boundary is the threshold for feature scaling in the dataset.

c)

The decision boundary in Logistic Regression is the line (or hyperplane) where the predicted probability of the classes is equal, typically at 0.5.

d)

The decision boundary is the area where no predictions can be made.

19.

What is the problem of overfitting in machine learning?

a)

Overfitting is the problem where a model performs well on training data but poorly on unseen data due to excessive complexity.

b)

Overfitting happens when a model is trained on too much data, leading to confusion.

c)

Overfitting is when a model performs poorly on both training and unseen data due to lack of data.

d)

Overfitting occurs when a model is too simple and cannot capture the underlying patterns.

20.

Discuss the importance of advanced optimization techniques in machine learning.

a)

Advanced optimization techniques improve model training efficiency, enhance performance, and help prevent overfitting in machine learning.

b)

These techniques have no impact on overfitting or model accuracy.

c)

They are only useful for deep learning models, not for traditional algorithms.

d)

Advanced optimization techniques slow down model training and reduce performance.

21.

What role do hyperparameters play in machine learning models?

a)

Hyperparameters are parameters that are learned from the training data.

b)

Hyperparameters are set before the training process and control the learning process.

c)

Hyperparameters have no effect on model performance.

d)

Hyperparameters are only relevant in unsupervised learning.

22.

What is the purpose of cross-validation in machine learning?

a)

Cross-validation is used to increase the size of the training dataset.

b)

Cross-validation helps in assessing how the results of a statistical analysis will generalize to an independent dataset.

c)

Cross-validation is a method to optimize hyperparameters only.

d)

Cross-validation is used to visualize data distributions.

23.

What is the significance of feature scaling in machine learning?

a)

Feature scaling is a method to reduce the number of features in a dataset.

b)

Feature scaling is only important for tree-based algorithms.

c)

Feature scaling ensures that all features contribute equally to the distance calculations in algorithms.

d)

Feature scaling is unnecessary and can be ignored in all cases.

24.

What is the role of regularization in machine learning models?

a)

Regularization is a technique to visualize the model's performance.

b)

Regularization is used to increase the complexity of the model.

c)

Regularization helps to prevent overfitting by adding a penalty for larger coefficients.

d)

Regularization is only applicable in unsupervised learning.

25.

What is the significance of the learning rate in Gradient Descent?

a)

The learning rate is a fixed value that cannot be adjusted during training.

b)

The learning rate is only relevant in supervised learning.

c)

The learning rate has no effect on the convergence of the model.

d)

The learning rate determines how quickly the model converges to the minimum of the cost function.

26.

What is the purpose of feature selection in machine learning?

a)

Feature selection is only important for deep learning models.

b)

Feature selection is a method to visualize data distributions.

c)

Feature selection helps to improve model performance by removing irrelevant or redundant features.

d)

Feature selection is used to increase the number of features in a dataset.

27.

How does the bias term affect the performance of a machine learning model?

a)

The bias term is irrelevant in deep learning architectures.

b)

The bias term is only used in linear regression models.

c)

The bias term allows the model to fit the data better by shifting the activation function.

d)

The bias term has no effect on the model's performance.

28.

What is the significance of the confusion matrix in evaluating classification models?

a)

The confusion matrix is only applicable to regression models.

b)

The confusion matrix is used to visualize the training process of a model.

c)

The confusion matrix is a method for feature selection.

d)

The confusion matrix provides a summary of prediction results on a classification problem.

29.

What are the key differences between classification and regression algorithms in machine learning?

a)

Classification algorithms are always more complex than regression algorithms.

b)

Classification algorithms are only used for binary outcomes, while regression algorithms can handle multiple classes.

c)

Classification algorithms predict discrete labels, while regression algorithms predict continuous values.

d)

Classification algorithms require more data than regression algorithms.

30.

What is the role of regularization in machine learning models?

a)

Regularization has no impact on model performance.

b)

Regularization is only applicable in unsupervised learning.

c)

Regularization helps to prevent overfitting by adding a penalty for larger coefficients.

d)

Regularization is used to increase the complexity of the model.