MAD101_-_SU_2024_-_3_2279.webp
ngoclan1231

MAD101_-_SU_2024_-_3_2279.webp

Kizspy | Question: 15
(Choose 1 answer)
(See picture)
A. None of the other choices is correct
B. The first location of the smallest element in the list of integers
C. The smallest element in the list of integers
D. The last location of the smallest element in the list of integers
What is the output of the algorithm?
procedure tt (a1, a2, , an: integers)
d := a1 for i:=1 to n do if da; then d := a;k := n while (k >= 1) and (ar > d)k: k-1
Print(k)

Thông tin

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

Share this media

Back
Bên trên Bottom