Q18.webp
Riza85

Q18.webp

  • Media owner Riza85
  • Ngày thêm
Kizspy | Question: 18
(Choose 1 answer)
(See picture)
A. 10
B. 8
C. 6
D. 12
E. 14
FJOVERFLOW.COM
Given the algorithm
procedure TT(n: integer)
sum:=0
i:=0
j:=0
while (i<√n)
sum: sum+1
i:=i+1
while (j<√n/2)
j:=j+1
sum:=sum+1
Print(sum)
If n=9, how many additions are required?

Thông tin

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

Share this media

Back
Bên trên Bottom