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

ExamsBrite Dumps

WGU Foundations of Computer Science Question and Answers

WGU Foundations of Computer Science

Last Update Feb 28, 2026
Total Questions : 70

We are offering FREE Foundations-of-Computer-Science WGU exam questions. All you do is to just go and sign up. Give your details, prepare Foundations-of-Computer-Science free exam questions and then go for complete pool of WGU Foundations of Computer Science test questions that will help you more.

Foundations-of-Computer-Science pdf

Foundations-of-Computer-Science PDF

$36.75  $104.99
Foundations-of-Computer-Science Engine

Foundations-of-Computer-Science Testing Engine

$43.75  $124.99
Foundations-of-Computer-Science PDF + Engine

Foundations-of-Computer-Science PDF + Testing Engine

$57.75  $164.99
Questions 1

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

Options:

A.  

array[-2:, :]

B.  

array[-1:, -1:]

C.  

array[-2:, -2:]

D.  

array[:, -2:]

Discussion 0
Questions 2

What is the name of the tool that can allow a device to run more than one operating system at a time as virtual machines?

Options:

A.  

System Restore

B.  

Partition Manager

C.  

Hypervisor

D.  

Bootloader

Discussion 0
Questions 3

What type of encryption is provided by encryption utilities built into the file system?

Options:

A.  

Encryption in motion

B.  

Encryption authentication

C.  

Encryption at rest

D.  

Encryption steganography

Discussion 0
Questions 4

What is the purpose of user management and access control in a networked environment?

Options:

A.  

To ensure all users have the same level of access to resources

B.  

To establish permissions and monitor resource usage

C.  

To provide unlimited access to all network resources

D.  

To restrict all users from accessing confidential documents

Discussion 0
Questions 5

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

Discussion 0
Questions 6

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.

Discussion 0
Questions 7

What is traversal in the context of trees and graphs?

Options:

A.  

The process of changing the value of nodes

B.  

The process of removing all nodes

C.  

The process of connecting all nodes

D.  

The process of visiting all nodes

Discussion 0
Questions 8

What is the first step in the selection sort algorithm?

Options:

A.  

Find the highest value and the lowest value in the list.

B.  

Swap the first and last elements.

C.  

Determine the lowest value starting from the first position.

D.  

Sort the list in descending order.

Discussion 0
Questions 9

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

Options:

A.  

","

B.  

"+"

C.  

"="

D.  

":"

Discussion 0
Questions 10

Given the following code, what is the expected output?

Options:

A.  

[10, 20, 30, 40]

B.  

[1, 10]

C.  

[1, 2, 3, 4]

D.  

array([10, 20, 30, 40])

Discussion 0
Questions 11

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

Options:

A.  

np_2d[0,1][1]

B.  

np_2d[0,1]

C.  

np_2d[2]

D.  

np_2d[2, 0]

Discussion 0
Questions 12

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

Options:

A.  

"Omar"

B.  

"Alex"

C.  

"Anika"

D.  

"Li"

Discussion 0
Questions 13

What is the main advantage of using NumPy arrays over regular Python lists for data analysis?

Options:

A.  

NumPy arrays can bring different types into the array at the same time.

B.  

NumPy arrays can only hold elements of the same type.

C.  

NumPy arrays can perform calculations over entire collections of values.

D.  

NumPy arrays can concatenate lists by default.

Discussion 0
Questions 14

What is the purpose of the pointer element of each node in a linked list?

Options:

A.  

To keep track of the list size

B.  

To store the data value

C.  

To indicate the next node

D.  

To indicate the current position

Discussion 0
Questions 15

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

Discussion 0
Questions 16

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

Options:

A.  

"True"

B.  

"true"

C.  

True

D.  

true

Discussion 0
Questions 17

Which method converts the default smallest-to-largest index order of a list to instead be the opposite?

Options:

A.  

reverse()

B.  

sortDescending()

C.  

flip()

D.  

invert()

Discussion 0
Questions 18

Which protocol provides encryption while email messages are in transit?

Options:

A.  

FTP

B.  

HTTP

C.  

TLS

D.  

IMAP

Discussion 0
Questions 19

Which type of data structure is the only focus of a binary search?

Options:

A.  

Ordered list

B.  

Linked list

C.  

Stack

D.  

Queue

Discussion 0
Questions 20

m = 30

n = 30

What will be the output of print(id(m), id(n)) after executing the following code?

Options:

A.  

Two identical numbers

B.  

Two different numbers

C.  

0 0

D.  

Error

Discussion 0
Questions 21

What is an ndarray in Python?

Options:

A.  

A built-in Python data array used to store collections of items.

B.  

A native Python object that represents a tree-like hierarchical data structure.

C.  

An n-dimensional array object provided by the NumPy library.

D.  

A module that provides network socket functions similar to XML.

Discussion 0