Programming - Foundations includes accurate and
verified questions covering Python fundamentals,
control structures (if/else, loops), functions, data types,
input/output operations, basic debugging, and
problem-solving logic. Designed to evaluate readiness
for the D278 Objective Assessment in WGU’s IT and
computer science programs.
A programmer wants a compiler to report an error if an integer
variable is assigned with a string. Which kind of language should
the programmer use? - ANSWER--Statically typed
A language uses tags around text to indicate how that text should
be formatted. Which characteristic describes a language having
such tags? - ANSWER--Markup
What is a characteristic of a compiled language? - ANSWER--
Converts to machine language before running
What is a characteristic of an interpreted language? - ANSWER--
Runs easily on different kinds of machines
What is an advantage of interpreted programs? - ANSWER--They
can be modified at run time.
,WGU D278 Objective Assessment for Scripting and
Programming - Foundations includes accurate and
verified questions covering Python fundamentals,
control structures (if/else, loops), functions, data types,
input/output operations, basic debugging, and
problem-solving logic. Designed to evaluate readiness
for the D278 Objective Assessment in WGU’s IT and
computer science programs.
Which characteristic specifically describes a markup language? -
ANSWER--Tags surround text to describe desired formatting.
Which characteristic specifically describes interpreted languages?
- ANSWER--They can be run one statement at a time.
Which characteristic specifically describes interpreted languages?
- ANSWER--They can run on any machine having the right
interpreter.
What is the purpose of a variable? - ANSWER--
How do you save a value to a variable? - ANSWER--
What is a programming expression? - ANSWER--
What is an identifier? - ANSWER--
, WGU D278 Objective Assessment for Scripting and
Programming - Foundations includes accurate and
verified questions covering Python fundamentals,
control structures (if/else, loops), functions, data types,
input/output operations, basic debugging, and
problem-solving logic. Designed to evaluate readiness
for the D278 Objective Assessment in WGU’s IT and
computer science programs.
What constitutes a valid identifier? - ANSWER--
What is a literal? - ANSWER--
What is an operator? - ANSWER--
What precedence rules does programming use? - ANSWER--
How does an integer differ from a float? - ANSWER--Integer
variables are typically used for values that are counted, like 42
cars, 10 pizzas, or -95 days.
Floating-point variables are typically used for values that are
measured, like 98.6 degrees, 0.00001 meters, or -666.667 grams.
Floating-point variables are also used when dealing with fractions
of countable items, such as the average number of cars per
household