WGU D278 Scripting and Programming
|OA| Objective Assessment| 70 Actual
Questions and Answers Latest Updated
(Graded A+)
Correct
100%
Incorrect
of 70
Your answers
Term
A car drove 200 miles using 10 gallons of fuel. Which operation
should be used to compute the miles per gallon, which is 20?
Give this one a try later!
, addition multiplication
Don't know?
2 of 70
Term
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
Give this one a try later!
3, 2, 1, 0 2, 1, 0
3, 2, 1, 0, -1 3, 2, 1
Don't know?
3 of 70
Term
,A function returns a number x cubed. For example, if x is 3, the
function returns 3 * 3 * 3, or 27. What should be the input to the
function?
Give this one a try later!
x, x 27
x x, x, x
Don't know?
4 of 70
Term
Which phase of a waterfall approach would create a sequence
diagram that specifies the required order of events between
completed program components?
Give this one a try later!
analysis design
testing implementation
, Don't know?
5 of 70
Term
What is the purpose of parentheses () in a programming expression?
Give this one a try later!
to print expressions to group expressions
to run expressions to compose expressions
Don't know?
6 of 70
Term
After a programmer is done writing a program, another person runs
the program hundreds of times, each time with different input,
checking that each run yields correct output. Which phase of a
waterfall approach is the person carrying out?
Give this one a try later!
|OA| Objective Assessment| 70 Actual
Questions and Answers Latest Updated
(Graded A+)
Correct
100%
Incorrect
of 70
Your answers
Term
A car drove 200 miles using 10 gallons of fuel. Which operation
should be used to compute the miles per gallon, which is 20?
Give this one a try later!
, addition multiplication
Don't know?
2 of 70
Term
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
Give this one a try later!
3, 2, 1, 0 2, 1, 0
3, 2, 1, 0, -1 3, 2, 1
Don't know?
3 of 70
Term
,A function returns a number x cubed. For example, if x is 3, the
function returns 3 * 3 * 3, or 27. What should be the input to the
function?
Give this one a try later!
x, x 27
x x, x, x
Don't know?
4 of 70
Term
Which phase of a waterfall approach would create a sequence
diagram that specifies the required order of events between
completed program components?
Give this one a try later!
analysis design
testing implementation
, Don't know?
5 of 70
Term
What is the purpose of parentheses () in a programming expression?
Give this one a try later!
to print expressions to group expressions
to run expressions to compose expressions
Don't know?
6 of 70
Term
After a programmer is done writing a program, another person runs
the program hundreds of times, each time with different input,
checking that each run yields correct output. Which phase of a
waterfall approach is the person carrying out?
Give this one a try later!