logo

Crowdly

Browser

Add to Chrome

CMP6238 Applied AI for Cyber Security A S1 2026/7

Looking for CMP6238 Applied AI for Cyber Security A S1 2026/7 test answers and solutions? Browse our comprehensive collection of verified answers for CMP6238 Applied AI for Cyber Security A S1 2026/7 at moodle.bcu.ac.uk.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Discuss the differences between labelled and unlabelled data, focusing on their roles in supervised and unsupervised machine learning. Provide examples of applications in cybersecurity where each type is used, and explain the challenges associated with labelling data in this field.

View this question

Given a cybersecurity dataset with an imbalance ratio of 95:5 (normal activity to attack data).

1. Assume the dataset initially has 95,000 samples of normal activity. Calculate how many synthetic attack samples are needed to achieve a balanced dataset (ratio of 50:50).

2. Explain how balancing the dataset might impact the model's performance.

View this question

You are training a linear regression model to predict a continuous target variable yy from a single feature xx. The model has the form:

y=w⋅x+by = w \cdot x + b

where:

  • ww is the weight (slope),
  • bb is the bias (intercept).

Suppose you have a dataset with two points: (x1,y1)=(2,4)(x_1, y_1) = (2, 4) and (x2,y2)=(3,7)(x_2, y_2) = (3, 7). Find the values of ww and bb that minimize the mean squared error for this dataset.

View this question

Which of the following are examples of

categorical data?

0%
0%
0%
100%
View this question

A company wants to analyse customer behaviour to identify potential segments for targeted marketing. They have a labeled dataset with customer purchase history, demographics, and customer satisfaction ratings. However, they also want to discover unknown patterns within the data for future strategies. Which of the following approaches would best meet both objectives?

0%
0%
100%
View this question

In Pandas, if you want to select all rows where the values in the column 'A' are greater than the mean value of that column, which of the following statements is correct?

0%
0%
100%
0%
View this question

If you have a NumPy array arr with shape (100, 1) and want to reshape it to a shape that matches (10, 10), which statement is true?

0%
0%
100%
0%
View this question

Describe the role of data preprocessing steps in machine learning workflows, and explain how improper preprocessing can lead to biases in model performance, particularly in high-stakes applications like spam detection or intrusion detection.

View this question

Which of the following is NOT a correct way to handle missing data in a Pandas DataFrame?

100%
0%
0%
0%
View this question

How would you access the second element of the first row in a 2D NumPy array called array_2d?

100%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle.bcu.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome