Please log in to purchase this document.

D278 WGU SCRIPTING AND PROGRAMMING

Questions & answers Sep 7, 2025
Loading...

Loading document viewer...

Page 0 of 0

Document Text

D278 WGU SCRIPTING AND PROGRAMMING

FOUNDATIONS EXAM (ACTUAL 2025/2026) 170

QUESTIONS WITH 100% VERIFIED ANSWERS

GRADED A+| BRAND NEW!!!

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

A car drove 200 miles using 10 gallons of fuel.

Which operation should be used to compute the miles per gallon, which is 20?A Addition B Subtraction C Multiplication D Division - <<>>Division

A variable should hold a person's height in meters.

Which data type should the variable be?A Integer 1 / 3

B Float C String D Boolean - <<>>Float

A variable should hold the names of all past U.S. presidents.

What is the return value of a function?A Output of a function B Call to run the function C Data passed to the function D Variable in the declaration of the function - <<>>A

A program should continue accepting input numbers, adding each to a sum, until a 0 is input.

Which control structure should be used?A If statement B For loop C Multiple if statements D While loop - <<>>D

  • / 3

Joe is building an online game. He wants to provide a riddle and have the player guess the answer. The game needs to prompt the user to enter the answer, check to see if it the input provided does not match the correct answer, and continue prompting the user until the answer entered matches the correct answer.

Which control structure supports Joe's needs?A For loop B While loop C Do-while loop D If-else branch - <<>>C

What is put to output by the following pseudocode?

x = 3 do Put x to output Put " " to output x = x - 1 while x > 0

A 3 2 1 0

B 3 2 1 0 -1

C 2 1 0

  • / 3

Download Document

Buy This Document

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

Document Information

Category: Questions & answers
Added: Sep 7, 2025
Description:

D278 WGU SCRIPTING AND PROGRAMMING FOUNDATIONS EXAM (ACTUAL) 170 QUESTIONS WITH 100% VERIFIED ANSWERS GRADED A+| BRAND NEW!!! Which operator should be used to determine if a number is evenly divisi...

Get this document $30.00