Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = getmirror

Pass the WGU Courses and Certificates Foundations-of-Computer-Science Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam Foundations-of-Computer-Science Premium Access

View all detail and faqs for the Foundations-of-Computer-Science exam


560 Students Passed

86% Average Score

92% Same Questions
Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions
Questions # 1:

What is the built-in data structure that implements a hash table in Python?

Options:

A.

Tuple

B.

List

C.

Array

D.

Dictionary

Questions # 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]

Questions # 3:

What is another term for the inputs into a function?

Options:

A.

Variables

B.

Procedures

C.

Outputs

D.

Arguments

Questions # 4:

What is the time complexity of a quicksort algorithm?

Options:

A.

O(n)

B.

O(n log n)

C.

O(log n)

D.

O(1)

Questions # 5:

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

Options:

A.

"True"

B.

"true"

C.

True

D.

true

Questions # 6:

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

Options:

A.

type()

B.

GetVar()

C.

Show()

D.

Data()

Questions # 7:

What stores the location of the next node in a linked list?

Options:

A.

The pointer

B.

The index

C.

The value

D.

The header

Questions # 8:

Which line of code below contains an error in the use of NumPy?

Options:

A.

wgu_list = np.quicksort(arr)

B.

print(wgu_list)

C.

import numpy as np

D.

arr = np.array([3, 2, 0, 1])

Questions # 9:

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.

Questions # 10:

Which type of files are meant to be inaccessible to standard users, but can be critical in terms of functionality?

Options:

A.

Extension files

B.

Log files

C.

System files

D.

Backup files

Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.