Summer Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dealsixty

Scripting-and-Programming-Foundations Exam Dumps - WGU NDE Questions and Answers

Question # 4

A programming team is using the Waterfall design approach to create an application. Which deliverable would be produced during the design phase?

Options:

A.

The programming paradigm to be used

B.

A list of additional features to be added during revision

C.

A report of customer satisfaction

D.

A written description of the goals for the project

Buy Now
Question # 5

What is one task that could be accomplished using a while loop?

Options:

A.

When the user inputs a number, the program outputs "True" when the number is a multiple of 10.

B.

The user inputs an integer, and the program prints out whether the number is even or odd and whether the number is positive, negative, or zero.

C.

After inputting two numbers, the program prints out the larger of the two.

D.

A user is asked to enter a password repeatedly until either a correct password is entered or five attempts have been made.

Buy Now
Question # 6

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

Options:

A.

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

B.

The language is optimized for recursive programming.

C.

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

D.

The language treats programs as evaluating mathematical functions.

Buy Now
Question # 7

What is put to output by the following flowchart, if the input is 3.5?

Options:

A.

Backlog

B.

Interview

C.

Return

D.

interviewBacking

Buy Now
Question # 8

Which two operators can be used for checking divisibility of a number?

Choose 2 answers.

Options:

A.

^

B.

*

C.

+

D.

$

E.

/

F.

%

Buy Now
Question # 9

A program calculates the average miles per gallon given miles traveled and gas consumed. How should the item that holds the miles per gallon be declared?

Options:

A.

Variable float milesTraveled

B.

Constant float milesPerGallon

C.

Constant float milesTraveled

D.

Variable float milesPerGallon

Buy Now
Question # 10

What does a function definition consist of?

Options:

A.

The function's argument values

B.

An invocation of a function's name

C.

A list of all other functions that call the function

D.

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

Buy Now
Question # 11

A team of programmers describes the objects and functions in a program that compresses files before splitting the objects.

Which two waterfall approach phases are involved?

Options:

A.

Analysis and implementation

B.

Design and testing

C.

Implementation and testing

D.

Design and implementation

Buy Now
Question # 12

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.

Buy Now
Question # 13

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

Buy Now
Exam Name: WGU Scripting and Programming Foundations Exam
Last Update: Apr 29, 2025
Questions: 138
Scripting-and-Programming-Foundations pdf

Scripting-and-Programming-Foundations PDF

$34  $84.99
Scripting-and-Programming-Foundations Engine

Scripting-and-Programming-Foundations Testing Engine

$38  $94.99
Scripting-and-Programming-Foundations PDF + Engine

Scripting-and-Programming-Foundations PDF + Testing Engine

$54  $134.99