Month End Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

NDE Scripting-and-Programming-Foundations Passing Score

WGU Scripting and Programming Foundations Exam Questions and Answers

Question 29

A particular sorting takes integer list 10,8 and incorrectly sorts the list to 6, 10, 8.

What is true about the algorithm’s correctness for sorting an arbitrary list of three integers?

Options:

A.

The algorithm only works for 10,6, 8

B.

The algorithm is correct

C.

The algorithm's correctness is unknown

D.

The algorithm is incorrect

Question 30

What is a characteristic of an interpreted language?

Options:

A.

Is restricted to running on one machine

B.

Generates syntax errors during compilation

C.

Can be run by a user one statement at a time

D.

Has a programmer writing machine code

Question 31

What would a string be used to store?

Options:

A.

A true/false indication of whether a number is composite.

B.

A positive number between 2 and 3.

C.

The word "positive."

D.

A positive whole number.

Question 32

What is an argument?

Options:

A.

A piece of information provided in a function call

B.

A declared piece of information within a function

C.

A piece of information assigned to a function's output

D.

An input named in the definition of a function