MAD101_-_Test2_-_SU_2024_2075.webp
minhkhai99

MAD101_-_Test2_-_SU_2024_2075.webp

Question: 17
(Choose 1 answer)
(See picture)
A. 10
B. 8
C. 6
D. 12
Ε. 14
Given the algorithm
Procedure TT(n: integer)sum:=0i:=0j:=0while(i<√n)sum:=sum+1i:=i+1while (j<√n/2)j:=j+1sum:=sum+1Print(sum)
If n=9, how many additions are required?

Thông tin

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

Share this media

Back
Bên trên Bottom