Foundations-of-Computer-Science Exam Papers - Original Foundations-of-Computer-Science Questions

BONUS!!! Download part of Pass4Leader Foundations-of-Computer-Science dumps for free: https://drive.google.com/open?id=12EbzS9SZHyZliv6fYNGGC4pHtq69LTU7

The advent of our Foundations-of-Computer-Science study guide with three versions has helped more than 98 percent of exam candidates get the certificate successfully. Rather than insulating from the requirements of the Foundations-of-Computer-Science real exam, our Foundations-of-Computer-Science practice materials closely co-related with it. And their degree of customer’s satisfaction is escalating. Besides, many exam candidates are looking forward to the advent of new Foundations-of-Computer-Science versions in the future.

WGU Foundations-of-Computer-Science Exam Syllabus Topics:

SectionWeightObjectives
Software Engineering & Programming Basics15%- Programming paradigms
- Software development lifecycle
- Basic syntax and control structures
- Testing and debugging fundamentals
Algorithms & Complexity25%- Sorting and searching algorithms
- Recursion and iterative structures
- Big O notation, time and space complexity
- Algorithm design and analysis
Discrete Mathematics & Logic25%- Proof techniques and mathematical induction
- Boolean algebra and digital logic
- Propositional and predicate logic
- Set theory, relations, functions
Computer Architecture & Organization15%- Von Neumann architecture
- Memory hierarchy and performance
- Instruction sets and execution cycles
- CPU, memory, I/O systems
Data Structures20%- Primitive and composite data types
- Trees, graphs, hash tables
- Data storage and retrieval principles
- Arrays, linked lists, stacks, queues

>> Foundations-of-Computer-Science Exam Papers <<

Original Foundations-of-Computer-Science Questions & New Foundations-of-Computer-Science Exam Testking

If you are a busy individual, you will have a short time to sit and study properly for the Foundations-of-Computer-Science exam. Finding the best route to quick learning is important because you are not a genius who can cover everything before the final attempt. You have to memorize real WGU Foundations of Computer Science (Foundations-of-Computer-Science) questions that will appear in the final Foundations-of-Computer-Science test. In this way, you can quickly prepare for the Foundations-of-Computer-Science examination.

WGU Foundations of Computer Science Sample Questions (Q17-Q22):

NEW QUESTION # 17
What is the expected output of calling .shape on a NumPy 2D array?

Answer: D

Explanation:
In NumPy, every ndarray has a shape attribute that describes the size of the array along each dimension. For a
2D array, shape returns a tuple with two integers: (number_of_rows, number_of_columns). For example, if a
= np.array([[1, 2, 3], [4, 5, 6]]), then a.shape is (2, 3), meaning 2 rows and 3 columns. This is a fundamental idea in matrix and array computing, because shape governs how indexing, slicing, broadcasting, and linear algebra operations behave.
Option A describes the dtype, which can be accessed with a.dtype, not a.shape. Option C is incorrect because shape provides per-dimension sizes, not their sum. Option D refers to the total number of elements, which NumPy provides via a.size (or equivalently np.prod(a.shape)).
Textbooks emphasize shape because many errors in numerical computing come from mismatched dimensions. For example, matrix multiplication requires compatible inner dimensions, and broadcasting rules depend on dimension sizes. By checking .shape, programmers can verify their data layout before applying algorithms, ensuring rows represent observations and columns represent features (or vice versa). Thus, for a 2D NumPy array, .shape indicates the number of rows and columns.


NEW QUESTION # 18
What are Python functions that belong to specific Python objects?

Answer: D

Explanation:
In object-oriented programming, amethodis a function that is associated with an object (or its class) and is called using the dot operator. In Python, everything is an object, and many operations are provided through methods. For example, "hello".upper() calls the upper method of a str object, and [1, 2, 3].append(4) calls the append method of a list object. Textbooks emphasize that methods operate on an object's internal state and typically receive the object itself as an implicit first argument (commonly named self in class definitions).
This is what distinguishes methods from standalone functions.
Modules, scripts, and libraries are different organizational concepts. Amoduleis a file containing Python code, including function and class definitions. Ascriptis a Python program intended to be run directly. A libraryis a collection of modules that provides reusable functionality. None of these terms specifically mean
"functions that belong to objects."
Understanding methods matters because it connects to encapsulation and abstraction: objects provide behaviors (methods) that manipulate their data in well-defined ways. This design enables clearer APIs and supports polymorphism, where different object types can expose methods with the same name but different implementations. In Python, method calls are central to working with built-in types (strings, lists, dictionaries) and with user-defined classes, making "methods" the correct term for functions that belong to specific objects.


NEW QUESTION # 19
What is the layer of programming between the operating system and the hardware that allows the operating system to interact with it in a more independent and generalized manner?

Answer: B

Explanation:
TheHardware Abstraction Layer (HAL)is a software layer that sits between the operating system kernel and the physical hardware. Its purpose is to hide hardware-specific details behind a consistent interface, allowing the OS to be more portable and easier to maintain across different hardware platforms. Textbooks explain that without abstraction, the OS would need extensive device- and architecture-specific code scattered throughout the kernel, making updates and cross-platform support far more difficult.
The HAL typically provides standardized functions for interacting with low-level components such as interrupts, timers, memory mapping, and device I/O. With a HAL, the OS can call general routines (for example, to configure an interrupt controller) while the HAL handles the platform-specific implementation.
This supports a key systems principle: separate policy (what the OS wants to do) from mechanism (how hardware accomplishes it).
The other options are not correct. A boot loader runs at startup to load the operating system into memory; it is not the general interface layer during normal operation. The task scheduler is a kernel subsystem that manages CPU time among processes, not a hardware-independence layer. The file system layer manages storage organization and access semantics; it is not the general abstraction for all hardware interactions.
Therefore, the programming layer that enables generalized OS interaction with hardware is the hardware abstraction layer.


NEW QUESTION # 20
What statistical measure can be used to detect outliers in a dataset using NumPy?

Answer: D

Explanation:
Outlier detection often relies on measuring how far values deviate from a "typical" center. While variance and standard deviation can be used in simple z-score based methods, they arenot robust: a few extreme outliers can inflate the mean and standard deviation, masking the very outliers you want to find. A widely taught robust alternative is themedian absolute deviation (MAD), which is based on the median rather than the mean and therefore resists distortion by extreme values.
MAD is computed by first taking the median of the data, then computing the absolute deviation of each point from that median, and finally taking the median of those deviations. Because medians are stable under extreme values, MAD provides a strong baseline for identifying unusually distant points. Many textbooks and data analysis references present MAD as a robust scale estimator for outlier detection, often combined with a threshold rule such as flagging points whose deviation exceeds a constant multiple of MAD (with a scaling factor sometimes used to make it comparable to standard deviation under normality assumptions).
In NumPy, you can implement MAD using np.median() and np.abs(). Mode is generally not useful for continuous numeric outlier detection, and variance/standard deviation are more sensitive to outliers than MAD. Thus, among the given options, the best statistical measure for detecting outliers robustly is the median absolute deviation.


NEW QUESTION # 21
Which file system is commonly used in Windows and supports file permissions?

Answer: D

Explanation:
Windows commonly uses the NTFS (New Technology File System) for internal drives and many external drives because it supports advanced features required for modern operating systems. One of the most important features is support forfile and folder permissionsvia Access Control Lists (ACLs). Permissions enable the OS to enforce security policies by controlling which users and groups can read, write, execute, modify, or delete specific resources. This is fundamental to multi-user security and is a standard topic in operating systems and security textbooks.
FAT32 is an older file system designed for simplicity and broad compatibility. It does not provide the same fine-grained permission model as NTFS, which is why it is often used for removable media where cross- platform compatibility matters more than access control. HFS+ is historically associated with Apple's macOS systems, and EXT4 is widely used on Linux. While these file systems have their own permission and feature models, they are not the common Windows default for permission-managed storage in typical Windows deployments.
NTFS also supports journaling (improving reliability after crashes), large file sizes, quotas, compression, and encryption features (through Windows facilities). In enterprise environments, NTFS permissions integrate with Windows authentication and directory services, enabling centralized user management. Therefore, for Windows systems requiring file permissions, NTFS is the correct answer.


NEW QUESTION # 22
......

WGU study dumps training Q&As Are Based On The Real Exam. Best Foundations-of-Computer-Science study material make you pass exam easily. WGU Foundations of Computer Science dump PDF Questions collection for Practice..latest Foundations-of-Computer-Science Test Engine are avaliable. Hot WGU Foundations of Computer Science questions to pass the exam in First Attempt Easily. High quality Foundations-of-Computer-Science relevant exam dumps. Best practice for you.

Original Foundations-of-Computer-Science Questions: https://www.pass4leader.com/WGU/Foundations-of-Computer-Science-exam.html

2026 Latest Pass4Leader Foundations-of-Computer-Science PDF Dumps and Foundations-of-Computer-Science Exam Engine Free Share: https://drive.google.com/open?id=12EbzS9SZHyZliv6fYNGGC4pHtq69LTU7