MAD101_-_SP_2024_-_Block_5_-_FE_1940.webp
night_owl1

MAD101_-_SP_2024_-_Block_5_-_FE_1940.webp

Answer (Choose 1 answer)
Given the algorithm to find the maximum element of 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 are
၁ C
A. 1. 4. 5. 2, 9, 7
Β. 4. 1, 5, 9
C. 4.5.9
D. 4, 5, 9,7
Procedure Max (a1,a2,..., an: integers)
Max: =a1
fori: 2 to n do if Max < a; then Max: = a₁
FUO
9

Thông tin

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

Image metadata

Filename
MAD101_-_SP_2024_-_Block_5_-_FE_1940.webp
File size
180.7 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom