Free WGU Foundations-of-Computer-Science Practice Test & Real Exam Questions

  • Exam Code/Number: Foundations-of-Computer-Science
  • Exam Name/Title: WGU Foundations of Computer Science
  • Certification Provider: WGU
  • Corresponding Certification: Courses and Certificates
  • Exam Questions: 72
  • Updated On: Jun 03, 2026
m = 30
n = 30
What will be the output of print(id(m), id(n)) after executing the following code?
Correct Answer: A Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
What statistical measure can be used to detect outliers in a dataset using NumPy?
Correct Answer: C Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
What happens if you try to create a NumPy array with different types?
Correct Answer: B Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which method allows a user to convert a string value to all capital letters in Python?
Correct Answer: B Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
What will the expression fam[3:6] return?
Correct Answer: A Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
print(20 # 5)
What will the output be of this line?
Correct Answer: C Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which statement describes the relationship between trees and graphs?
Correct Answer: B Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
How is the NumPy package imported into a Python session?
Correct Answer: C Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).