Summer Sale - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65percent

Welcome To DumpsPedia

Foundations-of-Computer-Science Sample Questions Answers

Questions 4

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

Options:

A.

Variance

B.

Standard deviation

C.

Median absolute deviation

D.

Mode

Buy Now
Questions 5

Which brand of Type 1 hypervisor is commonly used to create virtual machines?

Options:

A.

VMware ESXi

B.

Parallels Desktop

C.

VirtualBox

D.

VMware Workstation

Buy Now
Questions 6

Which protocol provides encryption while email messages are in transit?

Options:

A.

FTP

B.

HTTP

C.

TLS

D.

IMAP

Buy Now
Questions 7

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

Options:

A.

print()

B.

compute()

C.

result()

D.

solve()

Buy Now
Questions 8

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

Buy Now
Questions 9

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

Options:

A.

"Omar"

B.

"Alex"

C.

"Anika"

D.

"Li"

Buy Now
Questions 10

Which sorting algorithm works by finding the smallest or largest element in an unsorted part of a list and moving it to the sorted part of the list?

Options:

A.

Radix sort

B.

Heap sort

C.

Quicksort

D.

Selection sort

Buy Now
Questions 11

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

Buy Now
Questions 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

Buy Now
Questions 13

What is another term for the inputs into a function?

Options:

A.

Variables

B.

Procedures

C.

Outputs

D.

Arguments

Buy Now
Questions 14

What are Python functions that belong to specific Python objects?

Options:

A.

Modules

B.

Methods

C.

Scripts

D.

Libraries

Buy Now
Questions 15

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

Buy Now
Questions 16

What happens if one element of a NumPy array is changed to a string?

Options:

A.

All elements in the array are coerced to strings.

B.

The operation is not allowed and raises an error.

C.

All elements in the array are coerced to integers.

D.

The array becomes a list of the original integers.

Buy Now
Questions 17

How does the data type of a variable get set in Python?

Options:

A.

It is explicitly declared by the programmer.

B.

It is chosen randomly.

C.

It is always set to string by default.

D.

It is determined by the value assigned to it.

Buy Now
Questions 18

What is the alternative way to access the third element of the first row in np_2d?

Options:

A.

np_2d[1, 3]

B.

np_2d[2, 0]

C.

np_2d[3, 1]

D.

np_2d[0, 2]

Buy Now
Questions 19

Which Python function is used to display the data type of a given variable?

Options:

A.

type()

B.

GetVar()

C.

Show()

D.

Data()

Buy Now
Questions 20

Which Python function would be used to check the data type of a variable bmi?

Options:

A.

check(bmi)

B.

datatype(bmi)

C.

typeof(bmi)

D.

type(bmi)

Buy Now
Questions 21

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]

Buy Now
Exam Code: Foundations-of-Computer-Science
Exam Name: WGU Foundations of Computer Science
Last Update: Aug 26, 2026
Questions: 70

PDF + Testing Engine

$59.99 $171.4

Testing Engine

$44.99 $128.55

PDF (Q&A)

$49.99 $142.82