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

NDE Scripting-and-Programming-Foundations Full Course Free

WGU Scripting and Programming Foundations Exam Questions and Answers

Question 21

Review the following sequence diagram:

What does a sequence diagram do?

Options:

A.

Shows interactions awl indicates an order of events

B.

Shows interactions but does not specify an order of events

C.

Shows sialic elements of software

D.

Shows an order of events but does not specify all interactions

Question 22

Given integer x = 12 and integer y = 4. What is the value of the expression x - y * 2?

Options:

A.

4

B.

6

C.

8

D.

14

Question 23

What is the proper way to declare a student’s grade point average throughout the term if this item is needed in several places in a program?

Options:

A.

Variable float gpa

B.

Constant float gpa

C.

Variable int gpa

D.

Constant int gpa

Question 24

What is a characteristic of an interpreted language?

Options:

A.

Generates syntax errors during compilation.

B.

Can be run by a user one statement at a time.

C.

Has a programmer writing machine code.

D.

Is restricted to running on one machine.