Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

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

    Measure and mark the lumber cuts that need to be made.

    Buy the needed materials.

    Determine the needed materials.

    Cut the lumber to the proper dimensions.

    Assemble the pieces and paint.Which two steps of the algorithm should be switched to make the algorithm successful?

A.

1 and 3

B.

1 and 2

C.

2 and 3

D.

2 and 4

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

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.

One requirement for the language of a protect is that it is based on a series of method calls.

When type of language is characterized in this way?

A.

Static

B.

Compiled

C.

Functional

D.

Markup

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.

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

Choose 2 answers.

A.

^

B.

*

C.

+

D.

$

E.

/

F.

%

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

A.

Implementation

B.

Analysis

C.

Design

D.

Testing

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?

A.

variable int gpa

B.

constant float gpa

C.

constant int gpa

D.

variable float gpa

Which snippet represents the loop condition expression in the given code?

A.

Integer f = 1

B.

Put f to output

C.

F < 27

D.

F = f + 2

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

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.

Which kind of languages are C, C++ and Java?

A.

Markup

B.

Compiled

C.

Interpreted

D.

Machine code