所屬科目:中山◆資工◆作業系統與資料結構
(a) f
(b)
4. What would be the output of the following C program that uses the Pthreads API? (Nole that the linemumbers are for reference only.)
7. Given the following weighted graph, show the order in which the edges are added to the minimnum cost spanning tree using Kruskal's algorithm. (Use weight to represent edges in your answer and just show the order.)
8. Show the Hufinan tree created from the following nodes arranged in a priority queue.
10. The Ackermann function A(m, n) is defined recursively for non-negative integers m and n as follows:Its value grows very quickly, even for small values of m and n. For instance, A(4. 1) = 65533. What wouldbe the values of A(3.2) and A(2, 4)?