D278: Scripting and Programming Foundations WGU|
Pre-Assessment| Explore New 70|Questions and
Answers|2025 Update|100% Correct
Correct
Incorrect
D278 Pre-Assessment Scripting and Programming Foundations
70 Correct terms
Questions and answers
C Multiple if statements
,2/2/25, 1:31 AM D278 Pre-Assessment Scripting and Programming Foundations
Give this one a go later!
A D
C B
Don't know?
2 of 70
Term
Which language is not built on object-oriented design principles?
AC
B C++
C Java
D Python
Give this one a go later!
% A
B BCDA
Don't know?
3 of 70
,2/2/25, 1:31 AM D278 Pre-Assessment Scripting and Programming Foundations
Term
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
Give this one a go later!
D C
ACDB A
Don't know?
4 of 70
Term
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
, 2/2/25, 1:31 AM D278 Pre-Assessment Scripting and Programming Foundations
C distMiles = endLocation - startLocation
D speedMph = distMiles / timeHours
Give this one a go later!
A BADC
D BCDA
Don't know?
5 of 70
Term
Which characteristic specifically describes a markup language?
A Tags surround text to describe desired formatting.
B A program's execution marks output with numbers and strings.
C A compiler marks statements with 0's and 1's.
D An interpreter executes statements one at a time.
Give this one a go later!
D %
B A
Don't know?