• ¿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 29 páginas
Examen

D278 WGU SCRIPTING AND PROGRAMMING FOUNDATIONS EXAM ACTUAL EXAM WITH OVER 170 QUESTIONS WITH 100- VERIFIED CORRECT ANSWERS ALREADY GRADED A+BRAND NEW!!!

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

D278 WGU SCRIPTING AND PROGRAMMING FOUNDATIONS EXAM ACTUAL EXAM WITH OVER 170 QUESTIONS WITH 100- VERIFIED CORRECT ANSWERS ALREADY GRADED A+BRAND NEW!!!

Vista previa del contenido

1| P a g e || || || ||




D278 WGU SCRIPTING AND PROGRAMMING || || || || ||




FOUNDATIONS EXAM|ACTUALEXAM WITH | | | | ||




OVER 170 QUESTIONS WITH 100% VERIFIED || || || || || ||




CORRECT ANSWERS ALREADY GRADED A+| || || | || ||




BRAND NEW!!! ||




What is the loop variable initialization inthe followingpseudocode?
|| || | || || | | | |




y= 0 || ||




s = 100.0
|| ||




while y < 10 || | ||




s = s + (s *5.0) y
|| | || | || | || ||




=y+1 || || ||




Ay= 0 || || ||




B y= y+ 1 || || || || ||




C s = 100.0 || || ||




D s = s + ( s * 5.0) - ANSWER: A
|| || || || || || || | || || ||




Order the steps needed to output the minimumof x and y from first (1) to last (4).
| || || || || || || | | | || || || || || || ||




Select your answers from the pull-down list. | | || | || ||




ADeclare variable min
| || ||




B Put min to output
|| || | ||




C min = x || | ||




D If y < min, set min = y - ANSWER: ACDB
|| | || || || || | || || || ||

,2| P a g e || || || ||




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
| || | ||




BDeclare 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. | | || | || ||




APlace largest shape.
| || |




B Clear table
|| ||




C Place smallest shape.
| | |




D Place middle-sized shape. - ANSWER: BADC
| || | || | |




What does the following algorithmdetermine? if
| | || | | || ||




x == y
|| ||




z =1 | | ||




else
z=0 || ||




A Whether x and y are the same
| || | || | || ||

, 3| P a g e || || || ||




B Whether x and y are negative
| || | || | ||




C Whether x is 1
|| || || ||




D Whether x is 0 - ANSWER: A
|| || || || || || ||




What does the following algorithmaccomplish? | | || | |




x=Getnext 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 || || ||




whilei<5 | | |




iflist[i]<0 x | | | || ||




=1 ||




i= i+ 1 | || || ||




Put x to output || | ||

Información del documento

Subido en
29 de mayo de 2025
Número de páginas
29
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$18.79

¿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.
Ruiz
3.2
(15)
Vendido
105
Seguidores
2
Artículos
14181
Última venta
1 mes 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