• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 23 páginas
Examen

Wgu D278 Scripting And Programming Foundations - Advanced Practice Exam Questions With Verified Answers 2026/2027

Document preview thumbnail
Vista previa 3 fuera de 23 páginas

Wgu D278 Scripting And Programming Foundations - Advanced Practice Exam Questions With Verified Answers 2026/2027

Vista previa del contenido

WGU D278 SCRIPTING AND
PROGRAMMING FOUNDATIONS -
ADVANCED PRACTICE EXAM
QUESTIONS WITH VERIFIED ANSWERS
2026/2027


1. An algorithm is defined as a series of well-defined steps for solving a problem. Which

characteristic is essential for an algorithm to be considered robust?

A. It must produce the same output for the same input every time.


B. It must include at least one loop structure.


C. It must be written in a specific high-level programming language.


D. It must be capable of running without any hardware constraints.


Answer: A


Conceptual Explanation: Determinism is a key characteristic of algorithms; they must

provide consistent results given the same starting conditions.


2. In the Software Development Life Cycle (SDLC), which phase primarily focuses on

determining what the system should do from a user perspective?

A. Implementation


B. Design

,C. Analysis


D. Maintenance


Answer: C


Conceptual Explanation: The Analysis phase involves gathering requirements and

defining the system’s purpose and constraints.


3. Which flowchart symbol is used to represent a decision point that branches into two or

more paths?

A. Rectangle


B. Oval


C. Diamond


D. Parallelogram


Answer: C


Conceptual Explanation: A diamond shape represents a conditional or decision node in a

flowchart.


4. A developer is writing pseudocode: ‘Set x to 10; Set y to 20; Set x to x + y; Set y to x - y; Set

x to x - y;’. What are the final values of x and y?

A. x = 10, y = 20


B. x = 30, y = 30


C. x = 20, y = 10

, D. x = 10, y = 10


Answer: C


Conceptual Explanation: This is a standard swap algorithm using arithmetic: x becomes

30, then y becomes 30-20=10, then x becomes 30-10=20.


5. Which of the following describes a compiled language correctly?

A. The code is executed line-by-line by a separate program at runtime.


B. It is strictly used for web scripting like HTML.


C. It does not require any translation before running on a CPU.


D. The code is converted entirely into machine code before execution.


Answer: D


Conceptual Explanation: Compilers translate the entire source code into machine-

executable binary files before the program runs.


6. What is the primary purpose of a ‘Constant’ in programming?

A. To store data that changes frequently during execution.


B. To serve as a placeholder for user input.


C. To represent values that remain unchanged throughout the program’s life.


D. To manage memory allocation for dynamic arrays.


Answer: C

Información del documento

Subido en
15 de octubre de 2026
Número de páginas
23
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$15.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Fyndlay
3.6
(79)
Vendido
444
Seguidores
82
Artículos
22336
Última venta
1 día hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes