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.
Answer:
960
Step-by-step explanation:
I=PRN
I=4000(6%)(4)
You first want to convert your 6% to a decimal, you do so by dividing. 6/100= 0.06. Now you multiply to find your interest.
I=4000(0.06)(4)
I=4000(0.24)
I=960
Pythagorean Theorm Unit? I got you!
It would be C, about 63.07
Answer:
The equation of the regression line for the following data is:
y=2.4x+120.1
Step-by-step explanation:
We are given a set of data values in table form as:
Day(x) Number of visitors(y)
1 120
2 124
3 130
4 131
5 135
6 132
7 135
Hence, when we draw a scatter plot with the help of these data points using the linear regression calculator we see that the regression line is a line with y-intercept as (0,120.1) and x-intercept as (-50.04,0)
Hence, the regression line for the following data is:
y=2.4x+120.1