MAD101_-_Test2_-_SU_2024_2075.webp
minhkhai99

MAD101_-_Test2_-_SU_2024_2075.webp

Question: 2
(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
minhkhai99
Ngày thêm
Lượt xem
3,508
Lượt bình luận
14
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom