私立中原大學八十八學年度研究所資管系資料結構與資料庫試題
| 所組別 : | 資訊管理學系
| 科目 : | 資料結構與資料庫
| 考試時間 : | 05月01日第3節
|
- Define the following terms: (30%)
- Stack
- Queue
- Binary search tree
- AOV network
- B-tree
- ISAM
- Write the postfix form of the following expressions: (10%)
- (A + B) * D + E / (F + A * D) + C
- A and B or C or not (E > F)
- Design a data representation sequentially mapping a circular queue into an array q[0..n-1].
Write Procedure addq to insert item into the circular queue stored in q[0..n-1] and
Procedure deleteq to remove front element from q and put into item. (20%)
- Devise a representation for a linked list where insertions and deletions can be made at either end. Such a structure is called a deque. Write a Procedure for inserting at either end. (20%)
- Write the status of the file F = ( 26, 5, 77, 1, 61, 11, 59, 15, 48, 19 ) at the end of each phase of the following algorithms: (20%)
- QuickSort
- HeapSort
--- END---