Spring Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Free and Premium WGU Foundations-of-Computer-Science Dumps Questions Answers

WGU Foundations of Computer Science Questions and Answers

Question 1

Which aspect is excluded from a NumPy array’s structure?

Options:

A.

The data pointer

B.

The shape of the array

C.

The data type or dtype pointer

D.

The encryption key of the array

Buy Now
Question 2

How is a NumPy array named data with 6 elements reshaped into a 2x3 array?

Options:

A.

np.reshape(data, (2, 3))

B.

np_reshape(list, (2, 3))

C.

data.set_shape(2, 3)

D.

data_reshape[2, 3]

Question 3

What is the only content that will display if the List folder contents permission is not enabled for a particular folder in Windows 11?

Options:

A.

The folder’s author

B.

The folder’s creation date

C.

Files with Write permission

D.

Files with Read permission

Question 4

Which protocol provides encryption while email messages are in transit?

Options:

A.

FTP

B.

HTTP

C.

TLS

D.

IMAP

Question 5

What is a correct call to the linear search defined as def linear_search(customersList, search_value): ?

Options:

A.

find_linear(customersList)

B.

print(linear_search(customersList, search_value))

C.

linear_search()(customersList)

D.

search_linear(customersList, search_value)

Question 6

Which statement describes the relationship between trees and graphs?

Options:

A.

Trees do not have levels.

B.

Trees can have cycles.

C.

Trees can have unconnected nodes.

D.

Trees cannot have cycles.

Question 7

What is the slicing outcome of client_locations[1:3] from client_locations = ["TX", "AZ", "UT", "NY"]?

Options:

A.

["TX", "AZ"]

B.

["AZ", "UT"]

C.

["UT", "NY"]

D.

["TX", "UT"]

Question 8

What is the likely cause if a default Python configuration does not recognize a NumPy array as an allowed data structure?

Options:

A.

The NumPy package is not present.

B.

The array module is not imported.

C.

The Python interpreter is misconfigured.

D.

The Python version is outdated.

Question 9

What will be the result of performing the slice fam[:3]?

Options:

A.

A list with the first three elements of fam

B.

A list with the first four elements of fam

C.

A list with the first two elements of fam

D.

A list with the last three elements of fam

Question 10

What is the output of print(employees[3]) when employees = ["Anika", "Omar", "Li", "Alex"]?

Options:

A.

"Omar"

B.

"Alex"

C.

"Anika"

D.

"Li"

Question 11

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

Options:

A.

Network Security Policy

B.

Physical Security Policy

C.

Acceptable Use Policy

D.

Data Retention Policy

Question 12

What is the expected output of numpy_array[1]?

Options:

A.

An error message in the array

B.

The second element of the array

C.

A display of the entire array

D.

The first element of the array

Question 13

Which Python command can be used to display the results of calculations?

Options:

A.

print()

B.

compute()

C.

result()

D.

solve()

Question 14

What is the correct way to convert an integer to a string in Python?

Options:

A.

tostring(variable)

B.

int_to_str(variable)

C.

string(variable)

D.

str(variable)

Question 15

What will the expression fam[3:6] return?

Options:

A.

A list with elements at index 4, 5, and 6

B.

A list with elements at index 3, 4, 5, and 6

C.

A list with elements at index 3, 4, and 5

D.

A list with elements at index 6

Question 16

What is a key advantage of using NumPy when handling large datasets?

Options:

A.

Built-in machine learning algorithms

B.

Automatic data cleaning

C.

Efficient storage and computation

D.

Interactive visualizations

Question 17

What is the correct way to represent a boolean value in Python?

Options:

A.

"True"

B.

"true"

C.

True

D.

true

Question 18

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

Options:

A.

np_2d[3, 1]

B.

np_2d[1, 3]

C.

np_2d[0, 4]

D.

np_2d[4, 1]

Question 19

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

Options:

A.

Procedural programming

B.

Iterative programming

C.

Recursion programming

D.

Object-oriented programming

Question 20

Which type of sorting algorithm starts at the first position and moves the pointer until the end of the list, determining the lowest value?

Options:

A.

Selection sort

B.

Incremental sort

C.

Progressive sort

D.

Pointer sort

Question 21

What is the component of the operating system that manages core system resources but allows no user access?

Options:

A.

The kernel

B.

The File Explorer

C.

User interface layer

D.

Device driver manager