Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

WGU D278 – Scripting & Programming Foundations Final Exam (2024/2025) | Complete Exam Material with Verified Answers

Puntuación
-
Vendido
-
Páginas
31
Grado
A+
Subido en
09-08-2025
Escrito en
2025/2026

This document contains the complete WGU D278 Scripting & Programming Foundations Final Exam for the academic year 2024/2025. It includes over 170 actual exam questions with verified correct answers, covering key concepts such as algorithms, control structures, data types, functions, pseudocode, programming paradigms, and software development methodologies (waterfall and agile). The material also addresses compiled vs. interpreted languages, markup languages, and the use of programming libraries, ensuring a thorough preparation resource for achieving top scores.

Mostrar más Leer menos
Institución
Scripting
Grado
Scripting

Vista previa del contenido

+
A
WGU D278 – Scripting & Programming
Foundations Final Exam (2024/2025) | 170+
Actual Questions & Verified Answers | 100%
Correct | Grade A+ | Instant Download



What is the loop variable initialization in the following pseudocode?
y=0
s = 100.0
while y < 10
s = s + (s * 5.0) y = y + 1
Ay=0
By=y+1
C s = 100.0
D s = s + ( s * 5.0)
- ANSWER: A




1
Smart Study HQ

, Order the steps needed to output the minimum of x and y from first (1) to last (4).
Select your answers from the pull-down list.
A Declare variable min
B Put min to output
C min = x
D If y < min, set min = y
- ANSWER: ACDB


Order the steps needed to calculate speed in miles per hour given a start and end
location and time traveled in hours from first (1) to last (4).
Select your answers from the pull-down list.
A Put speedMph to output
B Declare variables distMiles and speedMph
C distMiles = endLocation – startLocation
D speedMph = distMiles / timeHours
- ANSWER: BCDA


Order the tasks needed to create a pyramid (large on bottom, small on top) on a
table from first (1) to last (4).
Select your answers from the pull-down list.
A Place largest shape.
B Clear table.
C Place smallest shape.
D Place middle-sized shape.
- ANSWER: BADC




2
Smart Study HQ

, What does the following algorithm determine? if x == y
z = 1 else
z=0
A Whether x and y are the same
B Whether x and y are negative
C Whether x is 1
D Whether x is 0
- ANSWER: A


What does the following algorithm accomplish?
x = Get next input if x == -1
Put "Goodbye" to output
A Outputs -1 when user types any input
B Outputs "x" when user types -1
C Outputs -1 when x is positive
D Outputs Goodbye when user types -1
- ANSWER: D


What does an output of 1 indicate for the following algorithm running on a five-
element list of integers?
i=0
x = 0 while i < 5
if list[i] < 0 x = 1
i=i+1
Put x to output
A All integers are positive.
B All integers are negative.
C At least one integer is negative.
D At least one integer is positive.

3
Smart Study HQ

, - ANSWER: C


When should a programmer develop an algorithm to solve a problem?
A Before knowing the problem.
B Before writing a program to solve the problem.
C While writing a program to solve the problem.
D After writing a program to solve the problem .
- ANSWER: B




Which text represents an algorithm?
A Cats and dogs have tails.
B Insert key, turn key, open door.
C The forecast for tomorrow is rain.
D A box has balls, bats, and hats.
- ANSWER: B


Which operator should be used to determine if a number is evenly divisible by 5?
A+
B-
C*
D%
- ANSWER: %




4
Smart Study HQ

Escuela, estudio y materia

Institución
Scripting
Grado
Scripting

Información del documento

Subido en
9 de agosto de 2025
Número de páginas
31
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$17.79
Accede al documento completo:

¿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

Conoce al vendedor

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.
SmartStudyHQ University Of Missouri
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
11
Miembro desde
11 meses
Número de seguidores
3
Documentos
45
Última venta
1 semana hace
SmartStudyHub

Welcome to Smart Study Hub – your go-to destination for high-quality summaries, test banks, and verified Q&amp;As in nursing, law, and business. I personally used these materials and passed with an A+, so you can trust they're effective and exam-focused. Whether you're preparing for critical exams or need reliable study support, every document is crafted to help you learn faster, retain more, and perform at your best. Study smarter, not harder.

Lee mas Leer menos
5.0

3 reseñas

5
3
4
0
3
0
2
0
1
0

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