Exam Code: Foundations-of-Computer-Science
Exam Questions: 71
WGU Foundations of Computer Science (D792)
Updated: 25 Jul, 2026
Viewing Page : 1 - 8
Practicing : 1 - 5 of 71 Questions
Question 1

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

Options :
Answer: D

Question 2

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

Options :
Answer: A

Question 3

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 :
Answer: B

Question 4

What code would print a subarray of the first 5 elements in numpy_array? 

Options :
Answer: C

Question 5

What is the time complexity of a quicksort algorithm? 

Options :
Answer: B

Viewing Page : 1 - 8
Practicing : 1 - 5 of 71 Questions

© Copyrights FreePDFQuestions 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreePDFQuestions). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreePDFQuestions.