MAD101_-_FA_2024_-_Block_5_-_FE_3236.webp
T

MAD101_-_FA_2024_-_Block_5_-_FE_3236.webp

Kizspy | Question: 22
(Choose 1 answer)
Given the Euclidean Algorithm
procedure gcd(a, b: positive integers)x:= a y:= b while (y is not 0)r:= x mod y x:= y y:= r return x{x is gcd(a, b)}
If a=610, b=233 then before performing the loop for the third time, the values of x and y are
A. x=144, y=55
B. x=89, y=55
C. x=144 y=89
D. x=233, y=89
E. None of the other choices is correct

Thông tin

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

Share this media

Back
Bên trên Bottom