WGU Foundations of Computer Science - Foundations-of-Computer-Science Exam Practice Test
Question 1
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?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 2
Which aspect is excluded from a NumPy array's structure?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 3
What is the correct way to represent a boolean value in Python?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 4
What are Python functions that belong to specific Python objects?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
The np_2d array stores information about multiple family members. Each row represents a different person, and the columns store family member attributes in the following order:
Age (years)
Weight (pounds)
Height (inches)
How is the weight of all family members selected from the np_2d array?
Age (years)
Weight (pounds)
Height (inches)
How is the weight of all family members selected from the np_2d array?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 6
What is the time complexity of a binary search algorithm?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
What is the alternative way to access the third element of the first row in np_2d?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 8
Which Python function would be used to check the data type of a variable bmi?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).

