MAD101_-_Test2_-_SP_2024_1451.webp
Sơn Tùng1

MAD101_-_Test2_-_SP_2024_1451.webp

(Choose 1 answer)
(See picture)
A. 5
B. 20
C. 11
D. None of the other choices is correct
E. 10


Given the following algorithm
procedure LS (x, a1,i:=1while (i < n and x > a;)i:=i+1an: integer)
How many comparisons used in the algorithm with input x = 10 and the sequence 1, 3, 5, 7, 9?
Q: 1

Thông tin

Category
MAD101
Thêm bởi
Sơn Tùng1
Ngày thêm
Lượt xem
1,177
Lượt bình luận
9
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
MAD101_-_Test2_-_SP_2024_1451.webp
File size
177.4 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom