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

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

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

What are Python functions that belong to specific Python objects?

Options:

A.

Modules


B.

Methods


C.

Scripts


D.

Libraries


Expert Solution
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"


Expert Solution
Questions # 13:

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


Expert Solution
Questions # 14:

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


Expert Solution
Questions # 15:

Which action is taken if the first number is the lowest value in a selection sort?

Options:

A.

The first number is increased by one.


B.

The first number is duplicated.


C.

It swaps the selected element with the last unsorted element.


D.

It swaps the selected element with the first unsorted element.


Expert Solution
Questions # 16:

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

Options:

A.

Tuple


B.

List


C.

Array


D.

Dictionary


Expert Solution
Questions # 17:

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

Options:

A.

bmi.get_values(>23)


B.

bmi.where(bmi > 23)


C.

bmi.select(23)


D.

bmi[bmi > 23]


Expert Solution
Questions # 18:

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()


Expert Solution
Questions # 19:

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)


Expert Solution
Questions # 20:

What is another term for the inputs into a function?

Options:

A.

Variables


B.

Procedures


C.

Outputs


D.

Arguments


Expert Solution
Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions