Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Machine Learning part 1

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is the main goal of machine learning?

a)

To manually program all decision rules

b)

To enable computers to learn from data

c)

To increase hardware performance

d)

To collect raw data only

2.

How does deep learning differ from traditional machine learning?

a)

It uses pre-defined rules

b)

It uses multi-layer neural networks to learn features automatically

c)

It does not require training data

d)

It cannot process large data

3.

Big Data is important in ML because it helps to:

a)

Reduce storage requirements

b)

Provide large-scale data for model training

c)

Remove the need for preprocessing

d)

Avoid computation

4.

In the context of datasets, features are:

a)

Output labels

b)

Input variables or attributes describing samples

c)

File formats

d)

Data errors

5.

Data preprocessing primarily involves:

a)

Randomizing the dataset

b)

Cleaning and normalizing data for better model performance

c)

Removing all numeric columns

d)

Reducing the number of algorithms

6.

Which tool is primarily used for classical machine learning tasks?

a)

WEKA

b)

TensorFlow

c)

Hadoop

d)

AWS

7.

Which of the following is not a machine learning library?

a)

Pandas

b)

NumPy

c)

PowerPoint

d)

Sklearn

8.

The difference between supervised and unsupervised learning is that:

a)

Supervised learning uses labeled data, while unsupervised does not

b)

Unsupervised learning is slower

c)

Both use the same data type

d)

Only supervised learning can cluster data

9.

What does the term sample refer to in a dataset?

a)

The entire dataset

b)

A single observation or data instance

c)

The model parameters

d)

A column header

10.

In cybersecurity, datasets like NSL-KDD and UNSW-NB15 are used for:

a)

Network intrusion detection and analysis

b)

Sentiment analysis

c)

Image recognition

d)

Speech-to-text

11.

In a dataset matrix, rows correspond to:

a)

Features

b)

Samples or observations

c)

Labels

d)

Hyperparameters

12.

The code np.loadtxt(dataset, delimiter=",", skiprows=1) does what?

a)

Loads an image file

b)

Loads CSV data while skipping the header row

c)

Visualizes data

d)

Removes missing values

13.

What are the three main dataset formats used in ML for cybersecurity?

a)

.docx, .ppt, .pdf

b)

.csv, .arff, .libsvm

c)

.zip, .rar, .tar

d)

.exe, .dll, .bat

14.

The main difference between regular data science and cybersecurity data science is:

a)

The algorithms used

b)

The data type and how it is represented

c)

The tools available

d)

The size of datasets only

15.

In a matrix representation of data, columns represent:

a)

Samples

b)

Features or attributes

c)

Labels only

d)

Model parameters