• wonderlic tests
  • EXAM REVIEW
  • NCCCO Examination
  • Summary
  • Class notes
  • QUESTIONS & ANSWERS
  • NCLEX EXAM
  • Exam (elaborations)
  • Study guide
  • Latest nclex materials
  • HESI EXAMS
  • EXAMS AND CERTIFICATIONS
  • HESI ENTRANCE EXAM
  • ATI EXAM
  • NR AND NUR Exams
  • Gizmos
  • PORTAGE LEARNING
  • Ihuman Case Study
  • LETRS
  • NURS EXAM
  • NSG Exam
  • Testbanks
  • Vsim
  • Latest WGU
  • AQA PAPERS AND MARK SCHEME
  • DMV
  • WGU EXAM
  • exam bundles
  • Study Material
  • Study Notes
  • Test Prep

WGU Foundations of Computer Science Practice Exam

Latest WGU Jan 12, 2026 ★★★★☆ (4.0/5)
Loading...

Loading document viewer...

Page 0 of 0

Document Text

WGU Foundations of Computer Science Practice Exam 11 studiers recently Leave the first rating Students also studied Terms in this set (70) Science Computer Science Save Foundations of Computer Science 37 terms elayna_kempPreview WGU Foundations of Computer Scie...242 terms dead-but-determined Preview Foundations of Computer Science Fi...220 terms mablauvelt18Preview Chapte 14 terms rac What is the expected output of the following code?numpy_array[numpy_array > 23] where numpy_array =

([21,20,21,24,22])

Array([24])

  • multiple choice options
  • Which feature in Windows 11 allows the user to replace an updated driver with the previously installed version?Responses Roll back driver

  • multiple choice options
  • Which entry is a way to select the second row of a 2D NumPy array named "data"?

data[1, :]

  • multiple choice options
  • Which data structure stores a collection of items in key- value pairs?Hash Tables

  • multiple choice options
  • What is the purpose of the comma in the following code snippet? ```pythonimport numpy as npnp_x =

np.array(x)np_x[:, 0]```

It separates the rows and columns in the array.

  • multiple choice options
  • Which file system is commonly used in Windows and supports file permissions?

    NTFS

  • multiple choice options
  • What is one advantage of FreeBSD over Linux? The advanced security

  • multiple choice options
  • Which notation describes the complexity of n operations within a pair of nested loops?O(n^2)

  • multiple choice options

What happens if the search value is less than the current node's data during a search operation?The current node becomes current node's left child.

  • multiple choice options

How can a user subset the last row of a 2D NumPy array? array[-1, :]

  • multiple choice options
  • Which values are contained in the left subtree in a binary search tree?Values less than the parent node

  • multiple choice options
  • What command in the command prompt in Windows allow a user to display the file list of their current directory?

    DIR

  • multiple choice options
  • How is the NumPy package imported into a Python session?import numpy as np

  • multiple choice options
  • What does array[1, 1] return in a 2D NumPy array? The element in the second row and second column

  • multiple choice options
  • What should be done if the node to be deleted in a binary search tree has no children?Delete it.

  • multiple choice options
  • How can a Python list be built?With square brackets

  • multiple choice options
  • Which character is used to indicate the beginning of a list?[

  • multiple choice options
  • Which function would allow the user to calculate a number squared?pow()

  • multiple choice options
  • What is the type of operating system found on a kiosk, bank cash machine, or industrial machine?Embedded OS

  • multiple choice options
  • Which sequence reflects the order of visitation for an in- order traversal of a binary tree?Left subtree, current node, right subtree

  • multiple choice options
  • What is the first step in the insertion sort algorithm? Compare the first and second elements

  • multiple choice options
  • Which type of access control model is often based on the individual job functionality?Role-based

  • multiple choice options
  • What does the shape' attribute of a NumPy array represent?The dimensions of the array

  • multiple choice options

Which Python code will print the results of 3 subtracted from 5?print(5 - 3)

  • multiple choice options
  • What is the correct way to select the element in the third row and fourth column of a 2D array named "data"?data[2, 3]

  • multiple choice options
  • What indicates the type of file or the application that can be used to access it?File extension

  • multiple choice options
  • What will be the result of adding an integer to a string in Python?An error

  • multiple choice options
  • Which Python statement correctly assigns the value 99 to a variable?x = 99

  • multiple choice options
  • Which Python method will replace the first letter of a string with a capital letter and convert all other letters to lowercase?capitalize()

  • multiple choice options
  • What is the result of creating files in a read-only folder? Files will inherit the permissions of the parent folder

  • multiple choice options
  • What are smallest units of storage that can be stored on any storage medium from a general user's perspective?Files

  • multiple choice options
  • What is the pointer looking for as it moves through the list in a selection sort?The lowest value

  • multiple choice options
  • Which sorting algorithm uses a process of a procedure repeating itself, which is known as recursion?Merge sort

  • multiple choice options
  • Which component of the operating system is responsible for acting as the interface between applications and the hardware itself?The kernel

  • multiple choice options
  • What is the correct way to create a NumPy array with values ranging from 2 to 10 in increments of 2?np.array([2, 4, 6, 8, 10])

  • multiple choice options
  • What is NumPy?A Python array package

  • multiple choice options
  • What does the shape attribute of a numpy array indicate? The number of rows and columns in the array

  • multiple choice options
  • What is the result of adding two NumPy arrays together using the '+' operator?An element-wise sum of the arrays.

  • multiple choice options

What does the NumPy package provide an alternative to in Python?Lists

  • multiple choice options
  • What is the result of subsetting a 2D numpy array with a boolean array of the same shape?A new array with elements where the boolean array is true

  • multiple choice options
  • What is the relative level of complexity when comparing Linear search to Binary search?Binary search is much more efficient than Linear search.

  • multiple choice options
  • What is the purpose of the second input in the method stateNames.replace("ca", "CA")?To specifies the new value

  • multiple choice options
  • Which sorting algorithm works by using a divide and conquer strategy where the list is divided into parts then sub-parts?Merge sort

  • multiple choice options
  • How many children can each node have in a binary tree? Zero, one, or two

  • multiple choice options
  • What is the time complexity of a selection sort algorithm? O(n^2)

  • multiple choice options
  • What Python code would return the median height in `np_stats` where `np_stats = np.array([[6.1,200],[5.5,130],

[5.9,155]])`?

np.median(np_stats[:, 0])

  • multiple choice options
  • Which of NumPy method is an example used to find the standard deviation of values in the NumPy array np?

np.std(surveys[:,0])

  • multiple choice options
  • How can a 2D NumPy array be created from a list of lists in Python?np.array([[1, 2], [3, 4]])

  • multiple choice options
  • Which type of data structure could be Singly or Doubly? Linked List

  • multiple choice options
  • What happens when two Python lists are added together using the '+' operator?The elements are pasted together, generating a longer list.

  • multiple choice options

What is the result of print(msg[-10:-7]) be when msg =

"Updating Now"?"dat"

  • multiple choice options
  • Which name from myData, clients2024, my_data, and New Data would be invalid to use as a Python variable?New Data

  • multiple choice options
  • Which statement is used to reference a package in Python?import

  • multiple choice options

User Reviews

★★★★☆ (4.0/5 based on 1 reviews)
Login to Review
S
Student
May 21, 2025
★★★★☆

With its in-depth analysis, this document helped me ace my presentation. Definitely a outstanding choice!

Download Document

Buy This Document

$11.00 One-time purchase
Buy Now
  • Full access to this document
  • Download anytime
  • No expiration

Document Information

Category: Latest WGU
Added: Jan 12, 2026
Description:

WGU Foundations of Computer Science Practice Exam 11 studiers recently Leave the first rating Students also studied Terms in this set Science Computer Science Save Foundations of Computer Science 3...

Unlock Now
$ 11.00