Pass the WGU Courses and Certificates Scripting-and-Programming-Foundations Questions and answers with CertsForce

Viewing page 3 out of 3 pages
Viewing questions 21-30 out of questions
Questions # 21:

A software team has been commissioned to create an animation application. Which event takes place during the analysis phase in the agile approach?

Options:

A.

Sending the application to customers for additional evaluation after new features are added


B.

Deciding to add five new capabilities to the animation application based on customer feedback


C.

Writing the code for five new capabilities


D.

Deciding that new capabilities in the animation application will be written as functions without the needs of any new objects


Expert Solution
Questions # 22:

An algorithm should output "OK" if a number is between 98.3 and 98.9, else the output is "Not OK." Which test is a valid test of the algorithm?

Options:

A.

Input 98.6. Ensure output is "Not OK."


B.

Input 98.6. Ensure output is "OK."


C.

Input 99.9. Ensure output is "OK."


D.

Input 99.9. Ensure output is "98.9."


Expert Solution
Questions # 23:

What does a function definition consist of?

Options:

A.

The function’s name, inputs, outputs, and statements


B.

A list of all other functions that call the function


C.

An invocation of a function’s name


D.

The function’s argument values


Expert Solution
Questions # 24:

A software developer determines the mathematical operations that a calculator program should support When two waterfall approach phases are involved?

Options:

A.

Design and Testing


B.

Implementation and testing


C.

Design and implementation


D.

Analysis and design


Expert Solution
Questions # 25:

Oder the tasks needed to safely replace a lamp's light bulb from first (1) to last (4).

Select your answer from the pull down list.

Question # 25


Expert Solution
Questions # 26:

Which data type should be used to hold the value of a person’s body temperature in Fahrenheit?

Options:

A.

Integer


B.

String


C.

Float


D.

Boolean


Expert Solution
Questions # 27:

What is the outcome for the given algorithm? Round to the nearest tenth, if necessary.

NumList = [1, 3, 6, 6, 7, 3]

x = 0

Count = 0

for Number in NumList

x = x + Number

Count = Count + 1

x = x / Count

Put x to output

Options:

A.

5.0


B.

6.0


C.

6.1


D.

8.4


Expert Solution
Questions # 28:

Which phase of a Waterfall approach defines specifics on how to build a program?

Options:

A.

Design


B.

Testing


C.

Analysis


D.

Implementation


Expert Solution
Questions # 29:

Consider the given function:

function K(string s1, string s2)

Put s1 to output

Put " and " to output

Put s2 to output

What is the total output when K("sign", "horse") is called 2 times?

Options:

A.

sign and horse and sign and horse


B.

sign and horsesign and horse


C.

sign and horse


D.

sign and horse


E.

sign and horse sign and horse


Expert Solution
Questions # 30:

Which characteristic distinguishes a markup language from other languages?

Options:

A.

It supports decomposing programs into custom types that often combine with other variable types into more concepts.


B.

It allows variables to change type during execution.


C.

It requires fewer variables and variable conversions than other languages because the types can change during execution.


D.

It does not perform complex algorithms, but instead describes the content and formatting of webpages and other documents.


Expert Solution
Viewing page 3 out of 3 pages
Viewing questions 21-30 out of questions