東京大学 情報理工学系研究科 創造情報学専攻 2007年8月実施 筆記試験 第4問
Author
Description
以下に示す情報システムに関する8項目から4項目を選択し、各項目を4~8行程度で説明せよ。必要に応じて例や図を用いてよい。
- 分割統治法 (divide and conquer algorithm)
- B 木 (B-tree)
- ナイキスト周波数
- インパルス応答とステップ応答とその関係
- ベクトル量子化
- アウトオブオーダ (out-of-order) 実行
- 正規文法と正規言語(必ず例を挙げて説明のこと)
- Web システムにおける CGI (Common Gateway Interface)
Description (English)
Select four items out of the following eight items concerning information systems, and explain each item in approximately 4~8 lines of text. If necessary, use examples or figures.
- Divide and conquer algorithm
- B-tree
- Nyquist frequency
- Impulse response and step response and their relationship
- Vector quantization
- Out-of-order execution
- Regular grammar and regular language (Examples are mandatory.)
- CGI (Common Gateway Interface) in Web systems
Kai
Divide and conquer algorithm
A methodology including three parts: dividing, conquering and merging. An divide-and-conquer algorithm first divides a problem into
Some examples are Merge sort, binary search and binary tree traversal.
The time complexity for such an algorithm is
And we can solve
For example, when
B-tree
A data structure which is based on a
In application, B-tree is used to store data in disk or databases. When querying data in disks, disk I/O is time-consuming (proportional to tree height) and B-tree can tackle that with a small height and wide nodes (with multiple entries, but without much cost since disk I/O uses a page with some 4KB data as an unit so an entry or multiple contiguous entries do not differ much).
For a tree with