Respuesta :

Below is the pseudocode of the "test" algorithm:

algorithm "test"

var

A: VECTOR [1..3,1..3] OF WHOLE

C, L, M: WHOLE

start

RANDOM 1,50

FOR L OF 1 ATE 3 KNIFE

FOR C OF 1 ATE 3 KNIFE

READ (A [L, C])

SE (L = 1) E (C = 1) ENTAO

M <-A [L, C]

END IF

IF A [L, C]> M ENTAO

M <-A [L, C]

END IF

FIMPARA

FIMPARA

WRITING ("**** MATRIX A ****")

FOR L OF 1 ATE 3 KNIFE

FOR C OF 1 ATE 3 KNIFE

WRITE (A [L, C]: 4)

FIMPARA

WRITING

FIMPARA

WRITING (M)

final algorithm

On this algorithm, analyze the following sentences:

I. A is a matrix whose elements are integers generated randomly.

II. A is an order 3 matrix.

III. At the end of its execution, the algorithm prints the smallest value of the matrix.

IV. At the end of its execution, the algorithm prints the largest value of the matrix.

Now, mark the alternative that presents the CORRECT answer.

Alternatives:

The)

Only affirmative III is correct.

B)

Affirmations I and II are correct.

w)

Affirmations I, II and III are correct.

(d)

Affirmations I, II and IV are correct.

and)

All statements are correct.

ACCESS MORE