其他应用程序(yyy值2;
print the value of N)
打印N值)
procedure yyy (N)
程序yyy(N)
if (N < 5) then (print the value of N;
如果(N < 5)然后(打印N值;
apply the procedure zzz to the value 6)
应用程序打鼾声到值6)
else (apply the procedure zzz to the value 5)
其他(应用程序打鼾声价值5)
procedure zzz (N)
程序打鼾声(N)
if (N = 5) then (print the value 7)
如果(N = 5)然后(打印值7)
else (print the value 8)
其他(打印值8)
________________________
________________________
4. When using binary search algorithm to search for the letter X within the list: R, S, T, U, V, W, Z. How many entries will be checked before discovering that the letter is not in the list? ____________
4。当使用二进制搜索算法搜索的字母X在列表:R、S、T,U、V、W,z .有多少条目将被发现,这封信之前检查未在列表中呢?_______
5. When using sequential search algorithm to search for the letter X within the list: R, S, T, U, V, W, Z. How many entries will be checked before discovering that the letter is not in the list? ____________