1|Page
WGU D278 Objective Assessment for Scripting and
Programming - Foundations Exam A+ Grade ||Just Out!!!
A company has a new project it wishes to implement to track
and analyze employee and customer interactions. The company
leadership determines that the system should support direct
data entry as well as automated data capture of phone calls and
emails. Which phase of the waterfall process is occurring? -
ANSWER-Analysis
A programmer shows a program's first version to a customer.
The customer provides feedback, which causes the programmer
to change the goals of the program. In which phase of an agile
approach are goals changed based on customer feedback? -
ANSWER-Analysis
A programmer shows a program's first version to a customer.
Based on feedback, the programmer begins writing a second
version of the program. In which phase of an agile approach
does the writing of a second version of the program occur? -
ANSWER-Implementation
A programmer shows a program's first version to a customer.
Based on feedback, the programmer creates a second version,
and then has a colleague run the second version on numerous
,2|Page
inputs to ensure outputs are correct. Which phase of an agile
approach is that colleague carrying out? - ANSWER-Testing
A programmer is currently programming the fourth version of a
program. Each version has additional features to satisfy more
customers. In which phase of an agile approach does the
programming of the fourth version occur? - ANSWER-
Implementation
Order the statements needed to output the minimum of x and y
from first (1) to last (4). Select your answer from the pull down
list. - ANSWER-Declare variable min
min = x
If y < min, set min = y
Put min to output
Given a start and end location and time traveled in hours, order
the statements needed to calculate speed in miles per hour
from first (1) to last (4). Select your answers from the pull-down
list. - ANSWER-Declare variables distMiles and speedMph
distMiles = endLocation - startLocation
speedMph = distMiles / timeHours
Put speedMph to output
, 3|Page
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
answer from the pull down list. - ANSWER-Clear table.
Place largest shape.
Place middle-sized shape.
Place smallest shape.
What does the following algorithm determine?if x == y z = 1else
z = 0 - ANSWER-Whether x and y are the same
What does the following algorithm accomplish?x = Get next
inputif x == -1 Put "Goodbye" to output - ANSWER-Outputs
Goodbye when user types -1
What does an output of 1 indicate for the following algorithm
running on a five-element list of integers?i = 0x = 0while i < 5 if
list[i] < 0 x = 1 i = i + 1Put x to output - ANSWER-At least one
integer is negative.
A car drove 200 miles using 10 gallons of fuel. Which operation
should be used to compute the miles per gallon, which is 20? -
ANSWER-Division
WGU D278 Objective Assessment for Scripting and
Programming - Foundations Exam A+ Grade ||Just Out!!!
A company has a new project it wishes to implement to track
and analyze employee and customer interactions. The company
leadership determines that the system should support direct
data entry as well as automated data capture of phone calls and
emails. Which phase of the waterfall process is occurring? -
ANSWER-Analysis
A programmer shows a program's first version to a customer.
The customer provides feedback, which causes the programmer
to change the goals of the program. In which phase of an agile
approach are goals changed based on customer feedback? -
ANSWER-Analysis
A programmer shows a program's first version to a customer.
Based on feedback, the programmer begins writing a second
version of the program. In which phase of an agile approach
does the writing of a second version of the program occur? -
ANSWER-Implementation
A programmer shows a program's first version to a customer.
Based on feedback, the programmer creates a second version,
and then has a colleague run the second version on numerous
,2|Page
inputs to ensure outputs are correct. Which phase of an agile
approach is that colleague carrying out? - ANSWER-Testing
A programmer is currently programming the fourth version of a
program. Each version has additional features to satisfy more
customers. In which phase of an agile approach does the
programming of the fourth version occur? - ANSWER-
Implementation
Order the statements needed to output the minimum of x and y
from first (1) to last (4). Select your answer from the pull down
list. - ANSWER-Declare variable min
min = x
If y < min, set min = y
Put min to output
Given a start and end location and time traveled in hours, order
the statements needed to calculate speed in miles per hour
from first (1) to last (4). Select your answers from the pull-down
list. - ANSWER-Declare variables distMiles and speedMph
distMiles = endLocation - startLocation
speedMph = distMiles / timeHours
Put speedMph to output
, 3|Page
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
answer from the pull down list. - ANSWER-Clear table.
Place largest shape.
Place middle-sized shape.
Place smallest shape.
What does the following algorithm determine?if x == y z = 1else
z = 0 - ANSWER-Whether x and y are the same
What does the following algorithm accomplish?x = Get next
inputif x == -1 Put "Goodbye" to output - ANSWER-Outputs
Goodbye when user types -1
What does an output of 1 indicate for the following algorithm
running on a five-element list of integers?i = 0x = 0while i < 5 if
list[i] < 0 x = 1 i = i + 1Put x to output - ANSWER-At least one
integer is negative.
A car drove 200 miles using 10 gallons of fuel. Which operation
should be used to compute the miles per gallon, which is 20? -
ANSWER-Division