📜  门| GATE-CS-2015(Set 2)|问题29

📅  最后修改于: 2021-07-02 17:21:02             🧑  作者: Mango

符合以下:

List-I                  List-II
A. Lexical analysis       1. Graph coloring
B. Parsing                2. DFA minimization
C. Register allocation    3. Post-order traversal
D. Expression evaluation  4. Production tree
Codes:
    A B C D
(a) 2 3 1 4
(b) 2 1 4 3
(c) 2 4 1 3
(d) 2 3 4 1

(一)
(B) b
(C) c
(D) d答案: (C)
解释:

Register allocation is a variation of Graph Coloring problem.

Lexical Analysis uses DFA.

Parsing makes production tree

Expression evaluation is done using tree traversal 

这个问题的测验