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

Passed Exam Today Scripting-and-Programming-Foundations

WGU Scripting and Programming Foundations Exam Questions and Answers

Question 9

What would a string be used to store?

Options:

A.

A positive whole number

B.

The word "positive"

C.

A true/false indication of whether a number is composite

D.

A positive number between 2 and 3

Question 10

What does the following algorithm determine?

Options:

A.

Whether x is even

B.

Whether x is evenly divisible by 2 or 3

C.

Whether x is odd

D.

Whether x r> negative. 0,

Question 11

What is an example of an algorithm?

Options:

A.

The sign of two integers determines the sign of the product.

B.

The list contains apples, bananas, and oranges.

C.

A webpage uses an HTML file type.

D.

Unplug the device, wait 30 seconds, and restart the device.

Question 12

Which is one characteristic of an object-oriented language that is not a characteristic of a procedural or functional language?

Options:

A.

The language is optimized for recursive programming.

B.

The language is based on the concept of modular programming and the calling of a subroutine.

C.

The language treats programs as evaluating mathematical functions.

D.

The language supports decomposing a program into objects that interact with one another.