MAD101_-_SP_2025_-_Block_5_-_1_3846.webp
S

MAD101_-_SP_2025_-_Block_5_-_1_3846.webp

☑Kizspy.me
(Choose 1 answer)
Given the algorithm to find the maximum element of
☐ A
a list (See picture)
If the input is the sequence 4. 1, 5, 2, 3, 9, 7, then
all the values of the variable Max
Procedure Max (a1, a2,...,an: integers)
Max:=a₁
fori: = 2 to n do
if Max <a, then Max: = a₁
are
A. 1, 4, 5, 2, 9.7
B. 4. 1,5,9
Back
Next
C. 4, 5,9
D. 4.5, 9.7
FUO.sh
the exam.

Thông tin

Category
MAD101
Thêm bởi
singing_bird
Ngày thêm
Lượt xem
5,029
Lượt bình luận
12
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom