M = 44; N = 28; while (M ~= N); while M > N; M = M - N; end while N > M; N = N - M; end end disp (M) A.for M=44, N=28 1. M>N, M= M-N: 44-28=16 2. N>M, N= N-M: 28-16=12 3. M>N, M=M-N:16-12= 4 4. N>M, N=N-M:12-4= 8 5. N>M, N=N-M:8-4=4 6. N=M = 4 B. for
M = 44; N = 28; while (M ~= N); while M > N; M = M - N; end while N > M; N = N - M; end end disp (M) A.for M=44, N=28 1. M>N, M= M-N: 44-28=16 2. N>M, N= N-M: 28-16=12 3. M>N, M=M-N:16-12= 4 4. N>M, N=N-M:12-4= 8 5. N>M, N=N-M:8-4=4 6. N=M = 4 B. for
ECEN5043
University of Colorado
Spring, 2007
Software Engineering of Multi-Program Systems
Homework #3, due February 13, 2007
1. For some kinds of resources, such as records in a database system, it is up to the user processes to
manage resource usage the