Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

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

Exam Scripting-and-Programming-Foundations All Questions
Exam Scripting-and-Programming-Foundations Premium Access

View all detail and faqs for the Scripting-and-Programming-Foundations exam

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

Which expression evaluates to 3.7 if float x = 17.0?

Options:

A.

X + 2 / 10

B.

(2 + x) / 10.0

C.

X + 2.0 / 10

D.

2 + x / 10

Expert Solution
Questions # 22:

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

Options:

A.

variable int gpa

B.

constant float gpa

C.

constant int gpa

D.

variable float gpa

Expert Solution
Questions # 23:

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.

Expert Solution
Questions # 24:

A software developer creates a list of all objects and functions that will be used in a board game application and then begins to write the code for each object.

Options:

A.

Analysis and implementation

B.

Analysis and design

C.

Design and implementation

D.

Design and testing

Expert Solution
Questions # 25:

What is the Agile phase that results in a list of objects to be written?

Options:

A.

Design

B.

Testing

C.

Implementation

D.

Analysis

Expert Solution
Questions # 26:

Which two types of operators are found in the code snippet not (g != S)?

Options:

A.

Equality and arithmetic

B.

Assignment and arithmetic

C.

Equality and logical

D.

Logical and arithmetic

Expert Solution
Questions # 27:

Which characteristic specifically describes an object-oriented language?

Options:

A.

Supports creating programs as a set of functions

B.

Requires a compiler to convert to machine code

C.

Can be run on any machine that has an interpreter

D.

Supports creating program as item that have data plus operations

Expert Solution
Questions # 28:

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

Choose 2 answers.

Options:

A.

^

B.

*

C.

+

D.

$

E.

/

F.

%

Expert Solution
Questions # 29:

A sequence diagram is shown:

Question # 29

What is the purpose of a sequence diagram?

Options:

A.

It depicts program operations, branches, and loops.

B.

It outlines the needed computations.

C.

It illustrates the communication steps for a particular software scenario.

D.

It outlines the potential actions of a user

Expert Solution
Questions # 30:

Which phase of an Agile approach would create a function that calculates shipping costs based on an item’s weight and delivery zip code?

Options:

A.

Testing

B.

Analysis

C.

Implementation

D.

Design

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