WGU D278 Scripting and Programming Foundations
Comprehensive Exam Questions and Verified Answers with
Expert Explanations || 2026 – 2027 Update (PDF)|| 100%
Guaranteed Pass
Grade37 Stuvia
This Document Contains:
❖WGU D278 Scripting and Programming Foundations
❖Comprehensive Exam Questions and Verified Answers with Expert
Explanations
❖2026 – 2027 Update (PDF)
❖100% Guaranteed Pass
, WGU D278 Scripting and Programming Foundations Comprehensive Exam
Questions and Verified Answers with Expert Explanations || 2026 – 2027 Update
(PDF)|| 100% Guaranteed Pass
What does a programmer do first to use an existing programming library?
Include the library.
What relationship is common among a programming library's functions?
Functions all relate to the same purpose.
What is an advantage of using a programming library?
The code has already been tested.
Which language is dynamically typed?
Python.
Which language is not built on object-oriented design principles?
C.
Which characteristic describes a language that supports creating items with
internal data and operations?
Object-oriented.
Which kind of language should a programmer use to report an error if an integer
variable is assigned a string?
Statically typed.
Which characteristic describes a markup language?
, Tags surround text to indicate formatting.
What is a characteristic of a compiled language?
Converts to machine language before running.
What is a characteristic of an interpreted language?
Runs easily on different kinds of machines.
What is an advantage of interpreted programs?
They can be modified at run time.
Which characteristic specifically describes interpreted languages?
They can run one statement at a time.
Which operation should be used to compute miles per gallon from 200 miles and
10 gallons?
Division.
Which operator determines if a number is evenly divisible by 5?
The modulus operator (%).
Which data type should hold a person's height in meters?
Float.
Which data type should hold the names of all past U.S. presidents?
String array.
How should the item that holds the number of seconds in a minute be declared?
Constant integer secondsPerMinute.
How should the item that holds the minimum age to run for U.S. president be
declared?
Constant integer minAge.