Weekend Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

Scripting-and-Programming-Foundations Questions and Answers

Question # 6

Which kind of languages are C and Java?

A.

Machine code

B.

Compiled

C.

Interpreted

D.

Markup

Full Access
Question # 7

A particular sorting algorithm takes integer list [10, 6, 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?

A.

The algorithm is incorrect.

B.

The algorithm only works for [10, 6, 8].

C.

The algorithm’s correctness is unknown.

D.

The algorithm is correct.

Full Access
Question # 8

Which snippet represents the loop variable update statement in the given code?

integer h = 7

while h < 30

Put h to output

h = h + 2

A.

h < 30

B.

h = h + 2

C.

Put h to output

D.

integer h = 7

Full Access
Question # 9

The steps in an algorithm to build a picnic table are given.

1) Measure and mark the lumber cuts that need to be made

2) Buy the needed materials

3) Determine the needed materials

4) Cut the lumber to the proper dimensions

5) Assemble the pieces and paint.

Which two steps of the algorithm should be switched to make the algorithm successful?

A.

2 and 3

B.

1 and 3

C.

2 and 4

D.

1 and 2

Full Access
Question # 10

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

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.

Full Access
Question # 11

A software developer determines the mathematical operations that a calculator program should support When two waterfall approach phases are involved?

A.

Design and Testing

B.

Implementation and testing

C.

Design and implementation

D.

Analysis and design

Full Access
Question # 12

What does a function definition consist of?

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

Full Access
Question # 13

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. Which two phases of the Agile approach are being carried out?

A.

Analysis and design

B.

Design and implementation

C.

Analysis and implementation

D.

Design and testing

Full Access
Question # 14

One requirement for the language of a project is that it is based on a series of cells. Which type of language is characterized in this way?

A.

Functional

B.

Static

C.

Markup

D.

Compiled

Full Access