MAD101_-_FA_2024_-_RE_3081.webp
Mỹ Linh1

MAD101_-_FA_2024_-_RE_3081.webp

Kizspy | Question: 15
(Choose 1 answer)
(See picture)
A. 3
B. 5
C. 4
D. 1
Ε. 0
F. None of the other choices is correct
FUOVERFL
Given the algorithm
Procedure tt(a1, a2,..., an integers)1while (in) and (a; ≠ai+1) do i:=i+1 if in then print(0)else print(i)
If the input is the list {1,3,5,5, 4, 4, 4,6,9}
what is the output?

Thông tin

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

Share this media

Back
Bên trên Bottom