MAD101_-_Test2_-_SU_2024_2075.webp
minhkhai99

MAD101_-_Test2_-_SU_2024_2075.webp

Question: 116
(Choose 1 answer)
(See picture)
A. 10
B. 8
C. 7
D. 5
Given the algorithm.
procedure la (a1, a2,..., an integers)m: = a1;t: = 0 for i:= 2 to n if (a; ≥ m) then m:=a;t:= t + 1
E. None of the other choices is correct
If input is the list
[1, 2, 3, 6, 7, 7, 4, 8, 8, 6]
then how many additions are used?

Thông tin

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

Share this media

Back
Bên trên Bottom