Spring Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

What Python code would return the value 2 from np_2d, where np_2d = np.array([[1, 2, 3, 4], [10, 20, 30, 40]])?

A.

np_2d[0,1][1]

B.

np_2d[0,1]

C.

np_2d[2]

D.

np_2d[2, 0]

What is the expected output of calling .shape on a NumPy 2D array?

A.

The type of elements in the array

B.

The number of rows and columns in the 2D array

C.

The sum of the dimensions of the array

D.

The total number of elements in the array

Which character is used to indicate a range of values to be sliced into a new list?

A.

","

B.

"+"

C.

"="

D.

":"

How can someone subset the last two rows and columns of a 2D NumPy array?

A.

array[-2:, :]

B.

array[-1:, -1:]

C.

array[-2:, -2:]

D.

array[:, -2:]

Which aspect of a security policy would define the ramifications of abusing company resources?

A.

Network Security Policy

B.

Physical Security Policy

C.

Acceptable Use Policy

D.

Data Retention Policy

What statistical measure can be used to detect outliers in a dataset using NumPy?

A.

Variance

B.

Standard deviation

C.

Median absolute deviation

D.

Mode

What happens if you try to create a NumPy array with different types?

A.

The array will be created, but calculations will not be possible.

B.

The array will contain a single type, converting all elements to that type.

C.

The array will be created with no issues.

D.

The array will be split into multiple arrays, one for each type.

Which principle can be used to implement an algorithm to calculate factorial or Fibonacci sequence?

A.

Procedural programming

B.

Iterative programming

C.

Recursion programming

D.

Object-oriented programming

How can a user subset a NumPy array bmi to only include values over 23?

A.

bmi.get_values(>23)

B.

bmi.where(bmi > 23)

C.

bmi.select(23)

D.

bmi[bmi > 23]

Which Windows 11 tool enables a user to manually add a Bluetooth device if it does not automatically configure when first connected?

A.

Network center

B.

Task scheduler

C.

Windows defender

D.

Device manager